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

/darwin-on-arm/xnu/bsd/sys/
H A Dsem_internal.h156 struct sem_undo { struct
216 * #define SEMUSZ SEM_ALIGN(offsetof(struct sem_undo, un_ent[SEMUME]))
218 #define SEMUSZ sizeof(struct sem_undo)
222 /* This is now a struct sem_undo with the new memory allocation
225 extern struct sem_undo *semu; /* undo structure pool */
228 * Macro to find a particular sem_undo vector
233 * #define SEMU(ix) ((struct sem_undo *)(((intptr_t)semu)+ix * seminfo.semusz))
238 * #define SEMU(ix) ((struct sem_undo *)(((intptr_t)semu)+ix * SEMUSZ))
244 * Process sem_undo vectors at proc exit.
/darwin-on-arm/xnu/bsd/kern/
H A Dsysv_sem.c133 struct sem_undo *semu = NULL; /* semaphore undo pool */
269 register struct sem_undo *newSemu;
287 MALLOC(newSemu, struct sem_undo *, sizeof (struct sem_undo) * newSize,
465 * Allocate a new sem_undo structure for a process
475 register struct sem_undo *suptr;
552 register struct sem_undo *suptr;
558 * Look for and remember the sem_undo if the caller doesn't provide it
639 struct sem_undo *suptr;
1309 * Oh-Oh! We ran out of either sem_undo'
[all...]

Completed in 23 milliseconds