Lines Matching refs:io_context
26 void get_io_context(struct io_context *ioc) in get_io_context()
62 struct io_context *ioc = icq->ioc; in ioc_destroy_icq()
97 struct io_context *ioc = container_of(work, struct io_context, in ioc_release_fn()
142 void put_io_context(struct io_context *ioc) in put_io_context()
177 void put_io_context_active(struct io_context *ioc) in put_io_context_active()
201 struct io_context *ioc; in exit_io_context()
204 ioc = task->io_context; in exit_io_context()
205 task->io_context = NULL; in exit_io_context()
220 struct io_context *ioc = icq->ioc; in __ioc_clear_queue()
252 struct io_context *ioc; in create_task_io_context()
277 if (!task->io_context && in create_task_io_context()
279 task->io_context = ioc; in create_task_io_context()
283 ret = task->io_context ? 0 : -EBUSY; in create_task_io_context()
303 struct io_context *get_task_io_context(struct task_struct *task, in get_task_io_context()
306 struct io_context *ioc; in get_task_io_context()
312 ioc = task->io_context; in get_task_io_context()
332 struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q) in ioc_lookup_icq()
372 struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q, in ioc_create_icq()
419 sizeof(struct io_context), 0, SLAB_PANIC, NULL); in blk_ioc_init()