Home | History | Annotate | Download | only in linux-tools-perf

Lines Matching defs:new

142 static void thread_stat_insert(struct thread_stat *new)
152 if (new->tid < p->tid)
154 else if (new->tid > p->tid)
160 rb_link_node(&new->rb, parent, rb);
161 rb_insert_color(&new->rb, &thread_stats);
313 struct lock_stat *ret, *new;
320 new = zalloc(sizeof(struct lock_stat));
321 if (!new)
324 new->addr = addr;
325 new->name = zalloc(sizeof(char) * strlen(name) + 1);
326 if (!new->name)
328 strcpy(new->name, name);
330 new->wait_time_min = ULLONG_MAX;
332 list_add(&new->hash_entry, entry);
333 return new;