Home
last modified time | relevance | path

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

/block/
Dblk-ioc.c198 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 …]
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.c1282 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()
Dblk.h286 int create_task_io_context(struct task_struct *task, gfp_t gfp_mask, int node);
Dblk-mq.c3438 if (hs.task) in blk_mq_poll_hybrid_sleep()
3442 } while (hs.task && !signal_pending(current)); in blk_mq_poll_hybrid_sleep()