Lines Matching refs:work_atoms

128 struct work_atoms {
141 typedef int (*sort_fn_t)(struct work_atoms *, struct work_atoms *);
947 thread_lat_cmp(struct list_head *list, struct work_atoms *l, struct work_atoms *r)
963 static struct work_atoms *
968 struct work_atoms key = { .thread = thread };
971 struct work_atoms *atoms;
974 atoms = container_of(node, struct work_atoms, node);
990 __thread_latency_insert(struct rb_root_cached *root, struct work_atoms *data,
997 struct work_atoms *this;
1000 this = container_of(*new, struct work_atoms, node);
1019 struct work_atoms *atoms = zalloc(sizeof(*atoms));
1039 add_sched_out_event(struct work_atoms *atoms,
1061 add_runtime_event(struct work_atoms *atoms, u64 delta,
1075 add_sched_in_event(struct work_atoms *atoms, u64 timestamp)
1114 struct work_atoms *out_events, *in_events;
1184 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid);
1217 struct work_atoms *atoms;
1279 struct work_atoms *atoms;
1322 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list)
1359 static int pid_cmp(struct work_atoms *l, struct work_atoms *r)
1370 static int avg_cmp(struct work_atoms *l, struct work_atoms *r)
1391 static int max_cmp(struct work_atoms *l, struct work_atoms *r)
1401 static int switch_cmp(struct work_atoms *l, struct work_atoms *r)
1411 static int runtime_cmp(struct work_atoms *l, struct work_atoms *r)
1469 struct work_atoms *data;
1475 data = rb_entry(node, struct work_atoms, node);
3115 static void __merge_work_atoms(struct rb_root_cached *root, struct work_atoms *data)
3118 struct work_atoms *this;
3125 this = container_of(*new, struct work_atoms, node);
3158 struct work_atoms *data;
3166 data = rb_entry(node, struct work_atoms, node);
3190 struct work_atoms *work_list;
3192 work_list = rb_entry(next, struct work_atoms, node);