Lines Matching refs:work_item
86 struct work_item { struct
123 static struct work_item *find_seq(struct writer_thread *w, unsigned int seq) in find_seq()
125 struct work_item *work; in find_seq()
132 work = flist_entry(entry, struct work_item, list); in find_seq()
219 static int write_work(struct work_item *work) in write_work()
242 struct work_item *work; in writer_fn()
270 static void reader_work(struct work_item *work) in reader_work()
310 struct work_item *next = NULL; in reader_work()
328 next = flist_entry(entry, struct work_item, list); in reader_work()
355 struct work_item *work; in reader_fn()
361 work = flist_first_entry(&rt->list, struct work_item, list); in reader_fn()
378 static void queue_work(struct reader_thread *rt, struct work_item *work) in queue_work()
551 struct work_item *work; in prune_done_entries()
553 work = flist_first_entry(&list, struct work_item, list); in prune_done_entries()
611 struct work_item *work; in main()