Lines Matching refs:cur_obj

99 	objlist_t	*cur_obj;  in _tnfctl_lmap_update()  local
104 for (cur_obj = hndl->objlist; cur_obj; cur_obj = cur_obj->next) { in _tnfctl_lmap_update()
105 cur_obj->old = B_TRUE; in _tnfctl_lmap_update()
106 cur_obj->new = B_FALSE; in _tnfctl_lmap_update()
144 for (cur_obj = hndl->objlist; cur_obj; cur_obj = cur_obj->next) { in _tnfctl_lmap_update()
145 if (cur_obj->old == B_TRUE) { in _tnfctl_lmap_update()
149 if (cur_obj->new == B_TRUE) { in _tnfctl_lmap_update()
159 for (cur_obj = hndl->objlist; cur_obj; in _tnfctl_lmap_update()
160 cur_obj = cur_obj->next) { in _tnfctl_lmap_update()
161 cur_obj->new_probe = cur_obj->new; in _tnfctl_lmap_update()
179 objlist_t *cur_obj, *prev_obj, *tmp_obj; in _tnfctl_find_all_probes() local
183 cur_obj = hndl->objlist; in _tnfctl_find_all_probes()
184 while (cur_obj) { in _tnfctl_find_all_probes()
185 if (cur_obj->old == B_TRUE) { in _tnfctl_find_all_probes()
190 tnf_opaque, lib_baseaddr, cur_obj->baseaddr, in _tnfctl_find_all_probes()
191 tnf_string, lib_name, cur_obj->objname, in _tnfctl_find_all_probes()
192 tnf_long, lib_fd, cur_obj->objfd); in _tnfctl_find_all_probes()
194 prexstat = unlink_targ_obj_probes(hndl, cur_obj); in _tnfctl_find_all_probes()
197 free_obj_fields(cur_obj); in _tnfctl_find_all_probes()
199 tmp_obj = cur_obj; in _tnfctl_find_all_probes()
200 cur_obj = cur_obj->next; in _tnfctl_find_all_probes()
202 hndl->objlist = cur_obj; in _tnfctl_find_all_probes()
204 prev_obj->next = cur_obj; in _tnfctl_find_all_probes()
209 if (cur_obj->new == B_TRUE) { in _tnfctl_find_all_probes()
211 prexstat = get_num_probes(hndl, cur_obj, &num_probes); in _tnfctl_find_all_probes()
216 cur_obj->probes = malloc(num_probes * in _tnfctl_find_all_probes()
218 if (cur_obj->probes == NULL) in _tnfctl_find_all_probes()
220 prexstat = read_probes_in_obj(hndl, cur_obj, in _tnfctl_find_all_probes()
224 cur_obj->min_probe_num = hndl->num_probes; in _tnfctl_find_all_probes()
227 cur_obj->probecnt = num_probes; in _tnfctl_find_all_probes()
228 prexstat = link_targ_obj_probes(hndl, cur_obj); in _tnfctl_find_all_probes()
233 prev_obj = cur_obj; in _tnfctl_find_all_probes()
234 cur_obj = cur_obj->next; in _tnfctl_find_all_probes()
238 for (cur_obj = hndl->objlist; cur_obj; cur_obj = cur_obj->next) { in _tnfctl_find_all_probes()
240 (cur_obj->new) ? "*" : " ", in _tnfctl_find_all_probes()
241 cur_obj->baseaddr, cur_obj->objname, in _tnfctl_find_all_probes()
242 cur_obj->objfd); in _tnfctl_find_all_probes()
248 for (cur_obj = hndl->objlist; cur_obj; in _tnfctl_find_all_probes()
249 cur_obj = cur_obj->next) { in _tnfctl_find_all_probes()
252 if (cur_obj->new == B_FALSE) in _tnfctl_find_all_probes()
255 for (j = 0; j < cur_obj->probecnt; j++) { in _tnfctl_find_all_probes()
256 probe_handle = cur_obj->probes[j].probe_handle; in _tnfctl_find_all_probes()