Home
last modified time | relevance | path

Searched refs:ptms_inuse (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/uts/common/io/
H A Dptms_conf.c213 static size_t ptms_inuse = 0; /* # of ptys currently allocated */ variable
344 if (ptms_inuse >= pt_cnt) { in pt_ttys_alloc()
356 if (ptms_inuse >= min(ptms_ptymax, user_max)) { in pt_ttys_alloc()
361 ptms_inuse++; in pt_ttys_alloc()
377 ptms_inuse--; in pt_ttys_alloc()
386 ptms_inuse--; in pt_ttys_alloc()
542 ASSERT(ptms_inuse > 0); in ptms_close()
544 ptms_inuse--; in ptms_close()
574 DDBG("ptmopen(%d): need to grow\n", (int)ptms_inuse); in ptms_grow()