Lines Matching refs:nr_probes
139 int nr_probes = 0; /* Counter for probes */ in func_add() local
155 nr_probes++; in func_add()
159 new = allocate_probes(nr_probes + 2); in func_add()
163 nr_probes = 0; in func_add()
169 pos = nr_probes++; in func_add()
170 new[nr_probes++] = old[iter_probes]; in func_add()
173 pos = nr_probes++; in func_add()
177 nr_probes = 1; /* must point at end of array */ in func_add()
180 new[nr_probes].func = NULL; in func_add()
189 int nr_probes = 0, nr_del = 0, i; in func_remove() local
200 for (nr_probes = 0; old[nr_probes].func; nr_probes++) { in func_remove()
201 if ((old[nr_probes].func == tp_func->func && in func_remove()
202 old[nr_probes].data == tp_func->data) || in func_remove()
203 old[nr_probes].func == tp_stub_func) in func_remove()
212 if (nr_probes - nr_del == 0) { in func_remove()
221 new = allocate_probes(nr_probes - nr_del + 1); in func_remove()
229 new[nr_probes - nr_del].func = NULL; in func_remove()