Lines Matching refs:sem_nsems
146 sma->sem_nsems = nsems; in newary()
175 if (nsems > sma->sem_nsems) in sys_semget()
196 if(smanew != sma || sem_checkid(sma,semid) || sma->sem_nsems != nsems) { in sem_revalidate()
412 used_sems -= sma->sem_nsems; in freeary()
413 size = sizeof (*sma) + sma->sem_nsems * sizeof (struct sem); in freeary()
430 out.sem_nsems = in->sem_nsems; in copy_semid_to_user()
496 tbuf.sem_nsems = sma->sem_nsems; in semctl_nolock()
524 nsems = sma->sem_nsems; in semctl_main()
550 for (i = 0; i < sma->sem_nsems; i++) in semctl_main()
604 tbuf.sem_nsems = sma->sem_nsems; in semctl_main()
811 nsems = sma->sem_nsems; in alloc_undo()
888 if (sop->sem_num >= sma->sem_nsems) in sys_semtimedop()
1061 nsems = sma->sem_nsems; in sem_exit()
1096 sma->sem_nsems, in sysvipc_sem_read_proc()