Lines Matching refs:new
137 struct tracepoint_func *old, *new; in func_add() local
159 new = allocate_probes(nr_probes + 2); in func_add()
160 if (new == NULL) in func_add()
170 new[nr_probes++] = old[iter_probes]; in func_add()
179 new[pos] = *tp_func; in func_add()
180 new[nr_probes].func = NULL; in func_add()
181 *funcs = new; in func_add()
190 struct tracepoint_func *old, *new; in func_remove() local
221 new = allocate_probes(nr_probes - nr_del + 1); in func_remove()
222 if (new) { in func_remove()
227 new[j++] = old[i]; in func_remove()
229 new[nr_probes - nr_del].func = NULL; in func_remove()
230 *funcs = new; in func_remove()