Searched refs:msg_ids (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/ipc/ |
D | msg.c | 92 static struct ipc_ids msg_ids; variable 94 #define msg_lock(id) ((struct msg_queue*)ipc_lock(&msg_ids,id)) 95 #define msg_unlock(id) ipc_unlock(&msg_ids,id) 96 #define msg_rmid(id) ((struct msg_queue*)ipc_rmid(&msg_ids,id)) 98 ipc_checkid(&msg_ids,&msq->q_perm,msgid) 100 ipc_buildid(&msg_ids, id, seq) 110 ipc_init_ids(&msg_ids,msg_ctlmni); in msg_init() 125 id = ipc_addid(&msg_ids, &msq->q_perm, msg_ctlmni); in newque() 308 down(&msg_ids.sem); in sys_msgget() 311 else if ((id = ipc_findkey(&msg_ids, key)) == -1) { /* key not used */ in sys_msgget() [all …]
|