Searched refs:task (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | blk-ioc.c | 198 void exit_io_context(struct task_struct *task) in exit_io_context() argument 202 task_lock(task); in exit_io_context() 203 ioc = task->io_context; in exit_io_context() 204 task->io_context = NULL; in exit_io_context() 205 task_unlock(task); in exit_io_context() 243 int create_task_io_context(struct task_struct *task, gfp_t gfp_flags, int node) in create_task_io_context() argument 269 task_lock(task); in create_task_io_context() 270 if (!task->io_context && in create_task_io_context() 271 (task == current || !(task->flags & PF_EXITING))) in create_task_io_context() 272 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 | 1282 struct task_struct *task; in blkcg_can_attach() local 1288 cgroup_taskset_for_each(task, dst_css, tset) { in blkcg_can_attach() 1289 task_lock(task); in blkcg_can_attach() 1290 ioc = task->io_context; in blkcg_can_attach() 1293 task_unlock(task); in blkcg_can_attach()
|
D | blk.h | 286 int create_task_io_context(struct task_struct *task, gfp_t gfp_mask, int node);
|
D | blk-mq.c | 3438 if (hs.task) in blk_mq_poll_hybrid_sleep() 3442 } while (hs.task && !signal_pending(current)); in blk_mq_poll_hybrid_sleep()
|