Lines Matching refs:work_atoms

129 struct work_atoms {
142 typedef int (*sort_fn_t)(struct work_atoms *, struct work_atoms *);
969 thread_lat_cmp(struct list_head *list, struct work_atoms *l, struct work_atoms *r)
985 static struct work_atoms *
990 struct work_atoms key = { .thread = thread };
993 struct work_atoms *atoms;
996 atoms = container_of(node, struct work_atoms, node);
1012 __thread_latency_insert(struct rb_root_cached *root, struct work_atoms *data,
1019 struct work_atoms *this;
1022 this = container_of(*new, struct work_atoms, node);
1041 struct work_atoms *atoms = zalloc(sizeof(*atoms));
1061 add_sched_out_event(struct work_atoms *atoms,
1083 add_runtime_event(struct work_atoms *atoms, u64 delta,
1097 add_sched_in_event(struct work_atoms *atoms, u64 timestamp)
1136 struct work_atoms *out_events, *in_events;
1206 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid);
1239 struct work_atoms *atoms;
1301 struct work_atoms *atoms;
1344 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list)
1384 static int pid_cmp(struct work_atoms *l, struct work_atoms *r)
1399 static int avg_cmp(struct work_atoms *l, struct work_atoms *r)
1420 static int max_cmp(struct work_atoms *l, struct work_atoms *r)
1430 static int switch_cmp(struct work_atoms *l, struct work_atoms *r)
1440 static int runtime_cmp(struct work_atoms *l, struct work_atoms *r)
1498 struct work_atoms *data;
1504 data = rb_entry(node, struct work_atoms, node);
3151 static void __merge_work_atoms(struct rb_root_cached *root, struct work_atoms *data)
3154 struct work_atoms *this;
3161 this = container_of(*new, struct work_atoms, node);
3194 struct work_atoms *data;
3202 data = rb_entry(node, struct work_atoms, node);
3226 struct work_atoms *work_list;
3228 work_list = rb_entry(next, struct work_atoms, node);