Searched refs:semu (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dsem_internal.h223 * extern int *semu; // undo structure pool
225 extern struct sem_undo *semu; /* undo structure pool */
233 * #define SEMU(ix) ((struct sem_undo *)(((intptr_t)semu)+ix * seminfo.semusz))
237 * for semu now.
238 * #define SEMU(ix) ((struct sem_undo *)(((intptr_t)semu)+ix * SEMUSZ))
240 #define SEMU(ix) (&semu[ix])
/darwin-on-arm/xnu/bsd/kern/
H A Dsysv_sem.c133 struct sem_undo *semu = NULL; /* semaphore undo pool */ variable in typeref:struct:sem_undo
260 * Expand the semu array to the given capacity. If the expansion fails
285 printf("growing semu[] from %d to %d\n", seminfo.semmnu, newSize);
300 newSemu[i] = semu[i];
309 if (semu)
310 FREE(semu, M_SYSVSEM);
312 semu = newSemu;
524 * the semu[] array. If that doesn't work
1528 (semu == NULL) &&

Completed in 19 milliseconds