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

/illumos-gate/usr/src/uts/common/os/
H A Dproject.c930 rctl_qty_t shmmni, shmmax, qty; local
1015 if (!mod_sysvar("shmsys", "shminfo_shmmax", &shmmax))
1016 shmmax = 0x800000;
1025 if ((shmmax > 0) && (UINT64_MAX / shmmax <= shmmni))
1027 else if (shmmni * shmmax > qty)
1028 qty = shmmni * shmmax;

Completed in 58 milliseconds