Home
last modified time | relevance | path

Searched refs:task (Results 1 – 6 of 6) sorted by relevance

/block/
Dblk-ioc.c199 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 …]
Dioprio.c36 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()
Dblk-rq-qos.c205 struct task_struct *task; member
229 wake_up_process(data->task); in rq_qos_wake_function()
258 .task = current, in rq_qos_wait()
Dblk-cgroup.c1232 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()
Dblk.h299 int create_task_io_context(struct task_struct *task, gfp_t gfp_mask, int node);
Dblk-mq.c3983 if (hs.task) in blk_mq_poll_hybrid_sleep()
3987 } while (hs.task && !signal_pending(current)); in blk_mq_poll_hybrid_sleep()