Lines Matching refs:msg_ids
70 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) macro
126 free_ipcs(ns, &msg_ids(ns), freeque); in msg_exit_ns()
149 struct kern_ipc_perm *ipcp = ipc_lock(&msg_ids(ns), id); in msg_lock()
160 struct kern_ipc_perm *ipcp = ipc_lock_check(&msg_ids(ns), id); in msg_lock_check()
170 ipc_rmid(&msg_ids(ns), &s->q_perm); in msg_rmid()
204 id = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); in newque()
327 return ipcget(ns, &msg_ids(ns), &msg_ops, &msg_params); in SYSCALL_DEFINE2()
424 ipcp = ipcctl_pre_down(ns, &msg_ids(ns), msqid, cmd, in msgctl_down()
465 up_write(&msg_ids(ns).rw_mutex); in msgctl_down()
505 down_read(&msg_ids(ns).rw_mutex); in SYSCALL_DEFINE3()
507 msginfo.msgpool = msg_ids(ns).in_use; in SYSCALL_DEFINE3()
515 max_id = ipc_get_maxid(&msg_ids(ns)); in SYSCALL_DEFINE3()
516 up_read(&msg_ids(ns).rw_mutex); in SYSCALL_DEFINE3()