Searched refs:sma (Results 1 – 2 of 2) sorted by relevance
73 #define sem_checkid(sma, semid) \ argument74 ipc_checkid(&sem_ids,&sma->sem_perm,semid)118 struct sem_array *sma; in newary() local126 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 …]
107 struct sem_array * sma; /* semaphore array for operations */ member