Searched refs:task (Results 1 – 5 of 5) sorted by relevance
199 void exit_io_context(struct task_struct *task) in exit_io_context() argument203 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() argument277 task_lock(task); in create_task_io_context()278 if (!task->io_context && in create_task_io_context()279 (task == current || !(task->flags & PF_EXITING))) in create_task_io_context()280 task->io_context = ioc; in create_task_io_context()[all …]
36 int set_task_ioprio(struct task_struct *task, int ioprio) in set_task_ioprio() argument43 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()
205 struct task_struct *task; member229 wake_up_process(data->task); in rq_qos_wake_function()258 .task = current, in rq_qos_wait()
292 int create_task_io_context(struct task_struct *task, gfp_t gfp_mask, int node);
3937 if (hs.task) in blk_mq_poll_hybrid_sleep()3941 } while (hs.task && !signal_pending(current)); in blk_mq_poll_hybrid_sleep()