Lines Matching defs:task
64 /* The task created the shm object. NULL if the task is dead. */
421 /* Locking assumes this will only be called with task == current */
422 void exit_shm(struct task_struct *task)
428 task_lock(task);
430 if (list_empty(&task->sysvshm.shm_clist)) {
431 task_unlock(task);
435 shp = list_first_entry(&task->sysvshm.shm_clist, struct shmid_kernel,
464 task_unlock(task);
484 task_unlock(task);