Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dshm.c48 static struct ipc_ids shm_ids; variable
50 #define shm_lock(id) ((struct shmid_kernel*)ipc_lock(&shm_ids,id))
51 #define shm_unlock(id) ipc_unlock(&shm_ids,id)
52 #define shm_lockall() ipc_lockall(&shm_ids)
53 #define shm_unlockall() ipc_unlockall(&shm_ids)
54 #define shm_get(id) ((struct shmid_kernel*)ipc_get(&shm_ids,id))
56 ipc_buildid(&shm_ids, id, seq)
73 ipc_init_ids(&shm_ids, 1); in shm_init()
81 if (ipc_checkid(&shm_ids,&s->shm_perm,id)) in shm_checkid()
88 return (struct shmid_kernel *)ipc_rmid(&shm_ids,id); in shm_rmid()
[all …]