Home
last modified time | relevance | path

Searched refs:sem_ids (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/ipc/
Dsem.c70 #define sem_lock(id) ((struct sem_array*)ipc_lock(&sem_ids,id))
71 #define sem_unlock(id) ipc_unlock(&sem_ids,id)
72 #define sem_rmid(id) ((struct sem_array*)ipc_rmid(&sem_ids,id))
74 ipc_checkid(&sem_ids,&sma->sem_perm,semid)
76 ipc_buildid(&sem_ids, id, seq)
77 static struct ipc_ids sem_ids; variable
108 ipc_init_ids(&sem_ids,sc_semmni); in sem_init()
132 id = ipc_addid(&sem_ids, &sma->sem_perm, sc_semmni); in newary()
160 down(&sem_ids.sem); in sys_semget()
164 } else if ((id = ipc_findkey(&sem_ids, key)) == -1) { /* key not used */ in sys_semget()
[all …]