Searched refs:sem_ids (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/ipc/ |
H A D | sem.c | 143 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) macro 186 free_ipcs(ns, &sem_ids(ns), freeary); sem_exit_ns() 404 ipcp = ipc_obtain_object_idr(&sem_ids(ns), id); sem_obtain_lock() 423 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&sem_ids(ns), id); sem_obtain_object() 434 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&sem_ids(ns), id); sem_obtain_object_check() 450 ipc_rmid(&sem_ids(ns), &s->sem_perm); sem_rmid() 492 * Called with sem_ids.rwsem held (as a writer) 542 id = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); newary() 557 * Called with sem_ids.rwsem and ipcp locked. 568 * Called with sem_ids.rwsem and ipcp locked. 601 return ipcget(ns, &sem_ids(ns), &sem_ops, &sem_params); SYSCALL_DEFINE3() 1083 /* Free a semaphore set. freeary() is called with sem_ids.rwsem locked 1084 * as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem 1204 down_read(&sem_ids(ns).rwsem); semctl_nolock() 1206 seminfo.semusz = sem_ids(ns).in_use; semctl_nolock() 1212 max_id = ipc_get_maxid(&sem_ids(ns)); semctl_nolock() 1213 up_read(&sem_ids(ns).rwsem); semctl_nolock() 1544 down_write(&sem_ids(ns).rwsem); semctl_down() 1547 ipcp = ipcctl_pre_down_nolock(ns, &sem_ids(ns), semid, cmd, semctl_down() 1583 up_write(&sem_ids(ns).rwsem); semctl_down()
|
Completed in 49 milliseconds