Lines Matching defs:wq
52 struct io_wq *wq; member
174 static inline struct io_wq_acct *io_get_acct(struct io_wq *wq, bool bound) in io_get_acct()
179 static inline struct io_wq_acct *io_work_get_acct(struct io_wq *wq, in io_work_get_acct()
190 static void io_worker_ref_put(struct io_wq *wq) in io_worker_ref_put()
209 struct io_wq *wq = worker->wq; in io_worker_cancel_cb() local
232 struct io_wq *wq = worker->wq; in io_worker_exit() local
321 static bool io_wq_create_worker(struct io_wq *wq, struct io_wq_acct *acct) in io_wq_create_worker()
352 struct io_wq *wq; in create_worker_cb() local
381 struct io_wq *wq = worker->wq; in io_queue_worker_create() local
449 struct io_wq *wq = worker->wq; in io_wq_dec_running() local
497 static bool io_wait_on_hash(struct io_wq *wq, unsigned int hash) in io_wait_on_hash()
515 struct io_wq *wq) in io_get_next_work()
592 struct io_wq *wq = worker->wq; in io_worker_handle_work() local
676 struct io_wq *wq = worker->wq; in io_wq_worker() local
772 static void io_init_new_worker(struct io_wq *wq, struct io_wq_acct *acct, struct io_worker *worker, in io_init_new_worker()
830 struct io_wq *wq; in create_worker_cont() local
878 static bool create_io_worker(struct io_wq *wq, struct io_wq_acct *acct) in create_io_worker()
941 static bool io_wq_for_each_worker(struct io_wq *wq, in io_wq_for_each_worker()
960 static void io_run_cancel(struct io_wq_work *work, struct io_wq *wq) in io_run_cancel()
969 static void io_wq_insert_work(struct io_wq *wq, struct io_wq_acct *acct, in io_wq_insert_work()
995 void io_wq_enqueue(struct io_wq *wq, struct io_wq_work *work) in io_wq_enqueue()
1086 static inline void io_wq_remove_pending(struct io_wq *wq, in io_wq_remove_pending()
1105 static bool io_acct_cancel_pending_work(struct io_wq *wq, in io_acct_cancel_pending_work()
1129 static void io_wq_cancel_pending_work(struct io_wq *wq, in io_wq_cancel_pending_work()
1153 static void io_wq_cancel_running_work(struct io_wq *wq, in io_wq_cancel_running_work()
1164 enum io_wq_cancel io_wq_cancel_cb(struct io_wq *wq, work_cancel_fn *cancel, in io_wq_cancel_cb()
1204 struct io_wq *wq = container_of(wait, struct io_wq, wait); in io_wq_hash_wake() local
1223 struct io_wq *wq; in io_wq_create() local
1285 void io_wq_exit_start(struct io_wq *wq) in io_wq_exit_start()
1290 static void io_wq_cancel_tw_create(struct io_wq *wq) in io_wq_cancel_tw_create()
1308 static void io_wq_exit_workers(struct io_wq *wq) in io_wq_exit_workers()
1329 static void io_wq_destroy(struct io_wq *wq) in io_wq_destroy()
1343 void io_wq_put_and_exit(struct io_wq *wq) in io_wq_put_and_exit()
1367 static int __io_wq_cpu_online(struct io_wq *wq, unsigned int cpu, bool online) in __io_wq_cpu_online()
1382 struct io_wq *wq = hlist_entry_safe(node, struct io_wq, cpuhp_node); in io_wq_cpu_online() local
1389 struct io_wq *wq = hlist_entry_safe(node, struct io_wq, cpuhp_node); in io_wq_cpu_offline() local
1425 int io_wq_max_workers(struct io_wq *wq, int *new_count) in io_wq_max_workers()