Lines Matching defs:task
16 #include <linux/sched/task.h>
56 struct task_struct *task;
61 struct task_struct *task)
66 if (lock->holders[i] == task)
74 static void __add_holder(struct block_lock *lock, struct task_struct *task)
81 get_task_struct(task);
82 lock->holders[h] = task;
91 static void __del_holder(struct block_lock *lock, struct task_struct *task)
93 unsigned h = __find_holder(lock, task);
95 put_task_struct(task);
125 if (!w->task)
136 struct task_struct *task;
139 task = w->task;
141 w->task = NULL;
142 wake_up_process(task);
162 __add_holder(lock, w->task);
168 __add_holder(lock, w->task);
212 w.task = current;
274 w.task = current;