Lines Matching refs:sem_ids
169 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) macro
260 free_ipcs(ns, &sem_ids(ns), freeary); in sem_exit_ns()
477 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&sem_ids(ns), id); in sem_obtain_object()
488 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&sem_ids(ns), id); in sem_obtain_object_check()
504 ipc_rmid(&sem_ids(ns), &s->sem_perm); in sem_rmid()
571 retval = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); in newary()
618 return ipcget(ns, &sem_ids(ns), &sem_ops, &sem_params); in ksys_semget()
1326 down_read(&sem_ids(ns).rwsem); in semctl_info()
1328 seminfo.semusz = sem_ids(ns).in_use; in semctl_info()
1334 max_idx = ipc_get_maxidx(&sem_ids(ns)); in semctl_info()
1335 up_read(&sem_ids(ns).rwsem); in semctl_info()
1607 down_write(&sem_ids(ns).rwsem); in semctl_down()
1610 ipcp = ipcctl_obtain_check(ns, &sem_ids(ns), semid, cmd, in semctl_down()
1646 up_write(&sem_ids(ns).rwsem); in semctl_down()