Lines Matching refs:idx

243 	int idx;  in stacks_entry_comp_impl()  local
271 for (idx = 0; idx < depth; idx++) { in stacks_entry_comp_impl()
276 uintptr_t laddr = l->se_stack[idx]; in stacks_entry_comp_impl()
277 uintptr_t raddr = r->se_stack[idx]; in stacks_entry_comp_impl()
325 int idx = 0; in stacks_cleanup() local
340 for (idx = 0; idx < STACKS_HSIZE; idx++) { in stacks_cleanup()
341 while ((cur = stacks_hash[idx]) != NULL) { in stacks_cleanup()
348 stacks_hash[idx] = next; in stacks_cleanup()
359 for (idx = 0; idx < stacks_array_size; idx++) { in stacks_cleanup()
360 if ((cur = stacks_array[idx]) != NULL) { in stacks_cleanup()
366 stacks_array[idx] = NULL; in stacks_cleanup()
390 int idx; in stacks_thread_cb() local
413 for (idx = 0; idx < depth; idx++) in stacks_thread_cb()
414 nsep->se_stack[idx] = fsip->fsi_stack[idx]; in stacks_thread_cb()
439 size_t idx; in stacks_run_tlist() local
443 for (idx = 0; idx < tlist->pipe_len; idx++) { in stacks_run_tlist()
444 uintptr_t addr = tlist->pipe_data[idx]; in stacks_run_tlist()
465 size_t idx; in stacks_run() local
503 for (idx = 0; idx < STACKS_HSIZE; idx++) { in stacks_run()
505 for (sep = si.si_hash[idx]; sep != NULL; sep = sep->se_next) in stacks_run()
535 int idx; in stacks_has_caller() local
546 for (idx = 0; idx < sep->se_depth; idx++) in stacks_has_caller()
547 if (sep->se_stack[idx] >= laddr && sep->se_stack[idx] < haddr) in stacks_has_caller()
556 int idx; in stacks_has_module() local
558 for (idx = 0; idx < sep->se_depth; idx++) { in stacks_has_module()
559 if (sep->se_stack[idx] >= mp->sm_text && in stacks_has_module()
560 sep->se_stack[idx] < mp->sm_text + mp->sm_size) in stacks_has_module()
599 size_t idx; in stacks() local
735 idx = 0; in stacks()
736 while (idx < p.pipe_len - 1) { in stacks()
737 uintptr_t *data = &p.pipe_data[idx]; in stacks()
738 size_t len = p.pipe_len - idx; in stacks()
746 idx++; in stacks()
768 for (idx = 0; idx < stacks_array_size; idx++) { in stacks()
769 stacks_entry_t *sep = stacks_array[idx]; in stacks()
913 for (idx = 0; idx < p.pipe_len; idx++) in stacks()
914 if (seen[idx] == 0) in stacks()
916 p.pipe_data[idx]); in stacks()