Lines Matching refs:work_atoms
135 struct work_atoms { struct
146 typedef int (*sort_fn_t)(struct work_atoms *, struct work_atoms *); argument
863 thread_lat_cmp(struct list_head *list, struct work_atoms *l, struct work_atoms *r) in thread_lat_cmp()
879 static struct work_atoms *
884 struct work_atoms key = { .thread = thread }; in thread_atoms_search()
887 struct work_atoms *atoms; in thread_atoms_search()
890 atoms = container_of(node, struct work_atoms, node); in thread_atoms_search()
906 __thread_latency_insert(struct rb_root *root, struct work_atoms *data, in __thread_latency_insert()
912 struct work_atoms *this; in __thread_latency_insert()
915 this = container_of(*new, struct work_atoms, node); in __thread_latency_insert()
932 struct work_atoms *atoms = zalloc(sizeof(*atoms)); in thread_atoms_insert()
960 add_sched_out_event(struct work_atoms *atoms, in add_sched_out_event()
979 add_runtime_event(struct work_atoms *atoms, u64 delta, u64 timestamp __used) in add_runtime_event()
992 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) in add_sched_in_event()
1030 struct work_atoms *out_events, *in_events; in latency_switch_event()
1084 struct work_atoms *atoms = thread_atoms_search(&atom_root, thread, &cmp_pid); in latency_runtime_event()
1106 struct work_atoms *atoms; in latency_wakeup_event()
1154 struct work_atoms *atoms; in latency_migrate_task_event()
1194 static void output_lat_thread(struct work_atoms *work_list) in output_lat_thread()
1225 static int pid_cmp(struct work_atoms *l, struct work_atoms *r) in pid_cmp()
1240 static int avg_cmp(struct work_atoms *l, struct work_atoms *r) in avg_cmp()
1266 static int max_cmp(struct work_atoms *l, struct work_atoms *r) in max_cmp()
1281 static int switch_cmp(struct work_atoms *l, struct work_atoms *r) in switch_cmp()
1296 static int runtime_cmp(struct work_atoms *l, struct work_atoms *r) in runtime_cmp()
1345 struct work_atoms *data; in sort_lat()
1351 data = rb_entry(node, struct work_atoms, node); in sort_lat()
1704 struct work_atoms *work_list; in __cmd_lat()
1706 work_list = rb_entry(next, struct work_atoms, node); in __cmd_lat()