19SYSINIT(sysv_sem, SI_SUB_SYSV_SEM, SI_ORDER_FIRST, seminit, NULL) 20 21static int semctl(), semget(), semop(), semconfig(); 22int (*semcalls[])() = { semctl, semget, semop, semconfig }; 23int semtot = 0; 24struct semid_ds *sema; /* semaphore id pool */ 25struct sem *sem; /* semaphore pool */ 26struct map *semmap; /* semaphore allocation map */ 27struct sem_undo *semu_list; /* list of active undo structures */ 28int *semu; /* undo structure pool */ 29 30static struct proc *semlock_holder = NULL; 31 32void 33seminit(udata)
| 19SYSINIT(sysv_sem, SI_SUB_SYSV_SEM, SI_ORDER_FIRST, seminit, NULL) 20 21static int semctl(), semget(), semop(), semconfig(); 22int (*semcalls[])() = { semctl, semget, semop, semconfig }; 23int semtot = 0; 24struct semid_ds *sema; /* semaphore id pool */ 25struct sem *sem; /* semaphore pool */ 26struct map *semmap; /* semaphore allocation map */ 27struct sem_undo *semu_list; /* list of active undo structures */ 28int *semu; /* undo structure pool */ 29 30static struct proc *semlock_holder = NULL; 31 32void 33seminit(udata)
|