Searched refs:ptms_ptymax (Results 1 – 1 of 1) sorted by relevance
212 static size_t ptms_ptymax = 0; /* Maximum number of ptys */ variable290 ptms_ptymax = ptms_roundup((pt_pctofmem * kmem_maxavail()) / in ptms_init()353 size_t user_max = (pt_max_pty == 0 ? ptms_ptymax : pt_max_pty); in pt_ttys_alloc()356 if (ptms_inuse >= min(ptms_ptymax, user_max)) { in pt_ttys_alloc()