Searched defs:tcl_nslots (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c320 size_t tcl_nslots; member in struct:tcl_walk_data
332 mdb_free(twd, sizeof (*twd) + ((twd->tcl_nslots - 1) *
341 size_t tcl_nslots; local
351 if (mdb_readvar(&tcl_nslots, "tcl_nslots") == -1) {
352 mdb_warn("failed to read tcl_nslots");
356 if (tcl_nslots == 0)
365 (tcl_nslots - 1) * sizeof (*tcl_slots), UM_NOSLEEP);
368 twd->tcl_nslots = tcl_nslots;
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c136 static size_t tcl_nslots = 0; /* Size of slot array */ variable
233 minor_t old_size = tcl_nslots;
256 tcl_nslots = new_size;
362 ASSERT(tcl->tcl_lsessid <= tcl_nslots);
392 if ((dminor >= 1) && (dminor <= tcl_nslots) && tcl_slots != NULL) {
2425 tcl_nslots = sppptun_init_cnt;
2426 tcl_slots = kmem_zalloc(tcl_nslots * sizeof (tuncl_t *), KM_SLEEP);
2432 tcl_minor_arena = vmem_create("sppptun_minor", (void *)1, tcl_nslots,
2481 kmem_free(tcl_slots, tcl_nslots * sizeof (tuncl_t *));

Completed in 61 milliseconds