Lines Matching refs:work_atoms

87 struct work_atoms {  struct
98 typedef int (*sort_fn_t)(struct work_atoms *, struct work_atoms *); argument
756 thread_lat_cmp(struct list_head *list, struct work_atoms *l, struct work_atoms *r) in thread_lat_cmp()
772 static struct work_atoms *
777 struct work_atoms key = { .thread = thread }; in thread_atoms_search()
780 struct work_atoms *atoms; in thread_atoms_search()
783 atoms = container_of(node, struct work_atoms, node); in thread_atoms_search()
799 __thread_latency_insert(struct rb_root *root, struct work_atoms *data, in __thread_latency_insert()
805 struct work_atoms *this; in __thread_latency_insert()
808 this = container_of(*new, struct work_atoms, node); in __thread_latency_insert()
825 struct work_atoms *atoms = zalloc(sizeof(*atoms)); in thread_atoms_insert()
845 add_sched_out_event(struct work_atoms *atoms, in add_sched_out_event()
867 add_runtime_event(struct work_atoms *atoms, u64 delta, in add_runtime_event()
881 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) in add_sched_in_event()
919 struct work_atoms *out_events, *in_events; in latency_switch_event()
984 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); in latency_runtime_event()
1012 struct work_atoms *atoms; in latency_wakeup_event()
1065 struct work_atoms *atoms; in latency_migrate_task_event()
1103 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) in output_lat_thread()
1134 static int pid_cmp(struct work_atoms *l, struct work_atoms *r) in pid_cmp()
1144 static int avg_cmp(struct work_atoms *l, struct work_atoms *r) in avg_cmp()
1165 static int max_cmp(struct work_atoms *l, struct work_atoms *r) in max_cmp()
1175 static int switch_cmp(struct work_atoms *l, struct work_atoms *r) in switch_cmp()
1185 static int runtime_cmp(struct work_atoms *l, struct work_atoms *r) in runtime_cmp()
1242 struct work_atoms *data; in perf_sched__sort_lat()
1248 data = rb_entry(node, struct work_atoms, node); in perf_sched__sort_lat()
1533 struct work_atoms *work_list; in perf_sched__lat()
1535 work_list = rb_entry(next, struct work_atoms, node); in perf_sched__lat()