Lines Matching defs:task
17 #include <linux/sched/task.h>
57 struct task_struct *task;
62 struct task_struct *task)
67 if (lock->holders[i] == task)
75 static void __add_holder(struct block_lock *lock, struct task_struct *task)
82 get_task_struct(task);
83 lock->holders[h] = task;
92 static void __del_holder(struct block_lock *lock, struct task_struct *task)
94 unsigned int h = __find_holder(lock, task);
97 put_task_struct(task);
127 if (!w->task)
138 struct task_struct *task;
141 task = w->task;
143 w->task = NULL;
144 wake_up_process(task);
164 __add_holder(lock, w->task);
170 __add_holder(lock, w->task);
214 w.task = current;
276 w.task = current;