Searched refs:task (Results 1 – 3 of 3) sorted by relevance
161 static struct ns_common *ipcns_get(struct task_struct *task) in ipcns_get() argument166 task_lock(task); in ipcns_get()167 nsproxy = task->nsproxy; in ipcns_get()170 task_unlock(task); in ipcns_get()
383 void exit_shm(struct task_struct *task) in exit_shm() argument385 struct ipc_namespace *ns = task->nsproxy->ipc_ns; in exit_shm()388 if (list_empty(&task->sysvshm.shm_clist)) in exit_shm()398 list_for_each_entry(shp, &task->sysvshm.shm_clist, shm_clist) in exit_shm()404 list_del(&task->sysvshm.shm_clist); in exit_shm()415 list_for_each_entry_safe(shp, n, &task->sysvshm.shm_clist, shm_clist) { in exit_shm()425 list_del(&task->sysvshm.shm_clist); in exit_shm()
67 struct task_struct *task; member626 if (walk->task->prio <= current->prio) { in wq_add()931 wake_q_add(wake_q, receiver->task); in pipelined_send()959 wake_q_add(wake_q, sender->task); in pipelined_receive()1045 wait.task = current; in do_mq_timedsend()1149 wait.task = current; in do_mq_timedreceive()