Lines Matching refs:work_atoms

89 struct work_atoms {  struct
100 typedef int (*sort_fn_t)(struct work_atoms *, struct work_atoms *); argument
794 thread_lat_cmp(struct list_head *list, struct work_atoms *l, struct work_atoms *r) in thread_lat_cmp()
810 static struct work_atoms *
815 struct work_atoms key = { .thread = thread }; in thread_atoms_search()
818 struct work_atoms *atoms; in thread_atoms_search()
821 atoms = container_of(node, struct work_atoms, node); in thread_atoms_search()
837 __thread_latency_insert(struct rb_root *root, struct work_atoms *data, in __thread_latency_insert()
843 struct work_atoms *this; in __thread_latency_insert()
846 this = container_of(*new, struct work_atoms, node); in __thread_latency_insert()
863 struct work_atoms *atoms = zalloc(sizeof(*atoms)); in thread_atoms_insert()
883 add_sched_out_event(struct work_atoms *atoms, in add_sched_out_event()
905 add_runtime_event(struct work_atoms *atoms, u64 delta, in add_runtime_event()
919 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) in add_sched_in_event()
957 struct work_atoms *out_events, *in_events; in latency_switch_event()
1022 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); in latency_runtime_event()
1049 struct work_atoms *atoms; in latency_wakeup_event()
1104 struct work_atoms *atoms; in latency_migrate_task_event()
1142 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) in output_lat_thread()
1173 static int pid_cmp(struct work_atoms *l, struct work_atoms *r) in pid_cmp()
1183 static int avg_cmp(struct work_atoms *l, struct work_atoms *r) in avg_cmp()
1204 static int max_cmp(struct work_atoms *l, struct work_atoms *r) in max_cmp()
1214 static int switch_cmp(struct work_atoms *l, struct work_atoms *r) in switch_cmp()
1224 static int runtime_cmp(struct work_atoms *l, struct work_atoms *r) in runtime_cmp()
1281 struct work_atoms *data; in perf_sched__sort_lat()
1287 data = rb_entry(node, struct work_atoms, node); in perf_sched__sort_lat()
1563 struct work_atoms *work_list; in perf_sched__lat()
1565 work_list = rb_entry(next, struct work_atoms, node); in perf_sched__lat()