Lines Matching refs:new
107 struct tracepoint_func *old, *new;
120 /* + 2 : one for new probe, one for NULL func */
121 new = allocate_probes(nr_probes + 2);
122 if (new == NULL)
125 memcpy(new, old, nr_probes * sizeof(struct tracepoint_func));
126 new[nr_probes].func = probe;
127 new[nr_probes].data = data;
128 new[nr_probes + 1].func = NULL;
130 entry->funcs = new;
140 struct tracepoint_func *old, *new;
166 new = allocate_probes(nr_probes - nr_del + 1);
167 if (new == NULL)
172 new[j++] = old[i];
173 new[nr_probes - nr_del].func = NULL;
175 entry->funcs = new;
259 * rcu_assign_pointer has a smp_wmb() which makes sure that the new