Lines Matching refs:sem_nsems
180 out->sem_nsems = in->sem_nsems;
200 out->sem_nsems = in->sem_nsems;
696 semtot -= semakptr->u.sem_nsems;
698 sem_pool[i] = sem_pool[i + semakptr->u.sem_nsems];
702 sema[i].u.sem_base -= semakptr->u.sem_nsems;
751 if (semnum < 0 || semnum >= semakptr->u.sem_nsems) {
761 if (semnum < 0 || semnum >= semakptr->u.sem_nsems) {
771 if (semnum < 0 || semnum >= semakptr->u.sem_nsems) {
782 for (i = 0; i < semakptr->u.sem_nsems; i++) {
795 if (semnum < 0 || semnum >= semakptr->u.sem_nsems) {
810 if (semnum < 0 || semnum >= semakptr->u.sem_nsems)
834 for (i = 0; i < semakptr->u.sem_nsems; i++) {
893 if (nsems < 0 || sema[semid].u.sem_nsems < nsems) {
969 sema[semid].u.sem_nsems = nsems;
1101 if (sopptr->sem_num >= semakptr->u.sem_nsems) {
1211 sopptr->sem_num >= semakptr->u.sem_nsems) {
1395 if (semnum >= semakptr->u.sem_nsems)