Lines Matching refs:msg_ids
100 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) macro
104 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&msg_ids(ns), id); in msq_obtain_object()
115 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&msg_ids(ns), id); in msq_obtain_object_check()
125 ipc_rmid(&msg_ids(ns), &s->q_perm); in msg_rmid()
175 retval = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); in newque()
312 return ipcget(ns, &msg_ids(ns), &msg_ops, &msg_params); in ksys_msgget()
408 down_write(&msg_ids(ns).rwsem); in msgctl_down()
411 ipcp = ipcctl_obtain_check(ns, &msg_ids(ns), msqid, cmd, in msgctl_down()
473 up_write(&msg_ids(ns).rwsem); in msgctl_down()
498 down_read(&msg_ids(ns).rwsem); in msgctl_info()
500 msginfo->msgpool = msg_ids(ns).in_use; in msgctl_info()
501 max_idx = ipc_get_maxidx(&msg_ids(ns)); in msgctl_info()
502 up_read(&msg_ids(ns).rwsem); in msgctl_info()
1332 free_ipcs(ns, &msg_ids(ns), freeque); in msg_exit_ns()