Lines Matching refs:nr_probes
185 int nr_probes = 0; /* Counter for probes */ in func_add() local
201 nr_probes++; in func_add()
205 new = allocate_probes(nr_probes + 2); in func_add()
209 nr_probes = 0; in func_add()
215 pos = nr_probes++; in func_add()
216 new[nr_probes++] = old[iter_probes]; in func_add()
219 pos = nr_probes++; in func_add()
223 nr_probes = 1; /* must point at end of array */ in func_add()
226 new[nr_probes].func = NULL; in func_add()
235 int nr_probes = 0, nr_del = 0, i; in func_remove() local
246 for (nr_probes = 0; old[nr_probes].func; nr_probes++) { in func_remove()
247 if ((old[nr_probes].func == tp_func->func && in func_remove()
248 old[nr_probes].data == tp_func->data) || in func_remove()
249 old[nr_probes].func == tp_stub_func) in func_remove()
258 if (nr_probes - nr_del == 0) { in func_remove()
267 new = allocate_probes(nr_probes - nr_del + 1); in func_remove()
275 new[nr_probes - nr_del].func = NULL; in func_remove()