Lines Matching refs:simple_work_queue

44 struct simple_work_queue {  struct
69 struct simple_work_queue **service_queues; argument
73 static inline struct simple_work_queue *as_simple_work_queue(struct vdo_work_queue *queue) in as_simple_work_queue()
76 NULL : container_of(queue, struct simple_work_queue, common)); in as_simple_work_queue()
96 static struct vdo_completion *poll_for_completion(struct simple_work_queue *queue) in poll_for_completion()
110 static void enqueue_work_queue_completion(struct simple_work_queue *queue, in enqueue_work_queue_completion()
153 static void run_start_hook(struct simple_work_queue *queue) in run_start_hook()
159 static void run_finish_hook(struct simple_work_queue *queue) in run_finish_hook()
174 static struct vdo_completion *wait_for_next_completion(struct simple_work_queue *queue) in wait_for_next_completion()
222 static void process_completion(struct simple_work_queue *queue, in process_completion()
233 static void service_work_queue(struct simple_work_queue *queue) in service_work_queue()
264 struct simple_work_queue *queue = ptr; in work_queue_runner()
273 static void free_simple_work_queue(struct simple_work_queue *queue) in free_simple_work_queue()
285 struct simple_work_queue **queue_table = queue->service_queues; in free_round_robin_work_queue()
314 struct simple_work_queue **queue_ptr) in make_simple_work_queue()
317 struct simple_work_queue *queue; in make_simple_work_queue()
326 result = vdo_allocate(1, struct simple_work_queue, "simple work queue", &queue); in make_simple_work_queue()
392 struct simple_work_queue *simple_queue; in vdo_make_work_queue()
407 result = vdo_allocate(thread_count, struct simple_work_queue *, in vdo_make_work_queue()
444 static void finish_simple_work_queue(struct simple_work_queue *queue) in finish_simple_work_queue()
456 struct simple_work_queue **queue_table = queue->service_queues; in finish_round_robin_work_queue()
478 static void dump_simple_work_queue(struct simple_work_queue *queue) in dump_simple_work_queue()
563 struct simple_work_queue *simple_queue = NULL; in vdo_enqueue_work_queue()
592 static struct simple_work_queue *get_current_thread_work_queue(void) in get_current_thread_work_queue()
612 struct simple_work_queue *queue = get_current_thread_work_queue(); in vdo_get_current_work_queue()
629 struct simple_work_queue *queue = get_current_thread_work_queue(); in vdo_get_work_queue_private_data()