Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dsem.c73 #define sem_checkid(sma, semid) \ argument
74 ipc_checkid(&sem_ids,&sma->sem_perm,semid)
118 struct sem_array *sma; in newary() local
126 size = sizeof (*sma) + nsems * sizeof (struct sem); in newary()
127 sma = (struct sem_array *) ipc_alloc(size); in newary()
128 if (!sma) { in newary()
131 memset (sma, 0, size); in newary()
132 id = ipc_addid(&sem_ids, &sma->sem_perm, sc_semmni); in newary()
134 ipc_free(sma, size); in newary()
139 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary()
[all …]
/linux-2.4.37.9/include/linux/
Dsem.h107 struct sem_array * sma; /* semaphore array for operations */ member