Searched refs:sem_ids (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/ipc/ |
D | sem.c | 93 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) macro 134 free_ipcs(ns, &sem_ids(ns), freeary); in sem_exit_ns() 153 struct kern_ipc_perm *ipcp = ipc_lock(&sem_ids(ns), id); in sem_lock() 164 struct kern_ipc_perm *ipcp = ipc_lock_check(&sem_ids(ns), id); in sem_lock_check() 193 ipc_rmid(&sem_ids(ns), &s->sem_perm); in sem_rmid() 271 id = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); in newary() 340 return ipcget(ns, &sem_ids(ns), &sem_ops, &sem_params); in SYSCALL_DEFINE3() 787 down_read(&sem_ids(ns).rw_mutex); in semctl_nolock() 789 seminfo.semusz = sem_ids(ns).in_use; in semctl_nolock() 795 max_id = ipc_get_maxid(&sem_ids(ns)); in semctl_nolock() [all …]
|