Lines Matching refs:kwork_work
55 int (*cmp)(struct kwork_work *l, struct kwork_work *r);
59 static int id_cmp(struct kwork_work *l, struct kwork_work *r)
74 static int count_cmp(struct kwork_work *l, struct kwork_work *r)
84 static int runtime_cmp(struct kwork_work *l, struct kwork_work *r)
94 static int max_runtime_cmp(struct kwork_work *l, struct kwork_work *r)
104 static int avg_latency_cmp(struct kwork_work *l, struct kwork_work *r)
124 static int max_latency_cmp(struct kwork_work *l, struct kwork_work *r)
250 struct kwork_work *l, struct kwork_work *r)
266 static struct kwork_work *work_search(struct rb_root_cached *root,
267 struct kwork_work *key,
271 struct kwork_work *work;
275 work = container_of(node, struct kwork_work, node);
291 struct kwork_work *key, struct list_head *sort_list)
295 struct kwork_work *cur;
299 cur = container_of(*new, struct kwork_work, node);
315 static struct kwork_work *work_new(struct kwork_work *key)
318 struct kwork_work *work = zalloc(sizeof(*work));
335 static struct kwork_work *work_findnew(struct rb_root_cached *root,
336 struct kwork_work *key,
339 struct kwork_work *work = work_search(root, key, sort_list);
365 struct kwork_work *work,
395 struct kwork_work **ret_work)
398 struct kwork_work *work, key;
442 struct kwork_work **ret_work)
445 struct kwork_work *work, key;
476 static void report_update_exit_event(struct kwork_work *work,
515 struct kwork_work *work = NULL;
531 static void latency_update_entry_event(struct kwork_work *work,
570 struct kwork_work *work = NULL;
636 struct kwork_work *work,
729 struct kwork_work *work = NULL;
750 struct kwork_work *work = NULL;
825 struct kwork_work *work,
836 static void irq_work_name(struct kwork_work *work, char *buf, int len)
944 struct kwork_work *work,
957 static void softirq_work_name(struct kwork_work *work, char *buf, int len)
1035 struct kwork_work *work,
1051 static void workqueue_work_name(struct kwork_work *work, char *buf, int len)
1080 static int report_print_work(struct perf_kwork *kwork, struct kwork_work *work)
1299 struct kwork_work *data;
1309 data = rb_entry(node, struct kwork_work, node);
1442 struct kwork_work *work)
1454 struct kwork_work *perf_kwork_add_work(struct perf_kwork *kwork,
1456 struct kwork_work *key)
1458 struct kwork_work *work = NULL;
1510 struct kwork_work *work;
1527 work = rb_entry(next, struct kwork_work, node);