Searched refs:task (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | blk-ioc.c | 199 void exit_io_context(struct task_struct *task) in exit_io_context() argument 203 task_lock(task); in exit_io_context() 204 ioc = task->io_context; in exit_io_context() 205 task->io_context = NULL; in exit_io_context() 206 task_unlock(task); in exit_io_context() 250 int create_task_io_context(struct task_struct *task, gfp_t gfp_flags, int node) in create_task_io_context() argument 276 task_lock(task); in create_task_io_context() 277 if (!task->io_context && in create_task_io_context() 278 (task == current || !(task->flags & PF_EXITING))) in create_task_io_context() 279 task->io_context = ioc; in create_task_io_context() [all …]
|
D | ioprio.c | 36 int set_task_ioprio(struct task_struct *task, int ioprio) in set_task_ioprio() argument 43 tcred = __task_cred(task); in set_task_ioprio() 51 err = security_task_setioprio(task, ioprio); in set_task_ioprio() 55 ioc = get_task_io_context(task, GFP_ATOMIC, NUMA_NO_NODE); in set_task_ioprio()
|
D | blk-rq-qos.c | 205 struct task_struct *task; member 229 wake_up_process(data->task); in rq_qos_wake_function() 258 .task = current, in rq_qos_wait()
|
D | blk-cgroup.c | 1232 struct task_struct *task; in blkcg_can_attach() local 1238 cgroup_taskset_for_each(task, dst_css, tset) { in blkcg_can_attach() 1239 task_lock(task); in blkcg_can_attach() 1240 ioc = task->io_context; in blkcg_can_attach() 1243 task_unlock(task); in blkcg_can_attach()
|
D | blk.h | 299 int create_task_io_context(struct task_struct *task, gfp_t gfp_mask, int node);
|
D | blk-mq.c | 3983 if (hs.task) in blk_mq_poll_hybrid_sleep() 3987 } while (hs.task && !signal_pending(current)); in blk_mq_poll_hybrid_sleep()
|