Lines Matching defs:task
51 struct task_struct *task;
56 struct task_struct *task)
61 if (lock->holders[i] == task)
69 static void __add_holder(struct block_lock *lock, struct task_struct *task)
76 get_task_struct(task);
77 lock->holders[h] = task;
90 static void __del_holder(struct block_lock *lock, struct task_struct *task)
92 unsigned h = __find_holder(lock, task);
94 put_task_struct(task);
132 if (!w->task)
143 struct task_struct *task;
146 task = w->task;
148 w->task = NULL;
149 wake_up_process(task);
169 __add_holder(lock, w->task);
175 __add_holder(lock, w->task);
219 w.task = current;
281 w.task = current;