Lines Matching refs:shmmni
227 for (i = 0; i < shminfo.shmmni; i++)
241 if (segnum < 0 || segnum >= shminfo.shmmni)
667 if (shm_nused >= shminfo.shmmni) /* any shmids left? */
673 for (i = 0; i < shminfo.shmmni; i++)
676 if (i == shminfo.shmmni)
898 s = sizeof(struct shmid_kernel) * shminfo.shmmni;
905 for (i = 0; i < shminfo.shmmni; i++) {
947 /* shmmni can not be changed after SysV SHM has been initialized */
948 if (shm_inited && arg1 == &shminfo.shmmni) {
1029 if (cursor < 0 || cursor >= shminfo.shmmni) {
1037 for( ; cursor < shminfo.shmmni; cursor++) {
1042 if (cursor == shminfo.shmmni) {
1085 SYSCTL_PROC(_kern_sysv, OID_AUTO, shmmni, CTLTYPE_QUAD | CTLFLAG_RW,
1086 &shminfo.shmmni, 0, &sysctl_shminfo ,"Q","shmmni");