Lines Matching refs:work_atoms

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