Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c322 tuncl_t *tcl_slots[1]; member
333 sizeof (twd->tcl_slots[0]))); in tuncl_walk_fini()
342 tuncl_t **tcl_slots; in tuncl_walk_init() local
359 if (mdb_readvar(&tcl_slots, "tcl_slots") == -1) { in tuncl_walk_init()
365 (tcl_nslots - 1) * sizeof (*tcl_slots), UM_NOSLEEP); in tuncl_walk_init()
372 if (mdb_vread(twd->tcl_slots, tcl_nslots * sizeof (twd->tcl_slots[0]), in tuncl_walk_init()
373 (uintptr_t)tcl_slots) == -1) { in tuncl_walk_init()
374 mdb_warn("can't read tcl_slots at %p", tcl_slots); in tuncl_walk_init()
396 twd->tcl_slots[twd->walkpos] == NULL) in tuncl_walk_step()
401 addr = (uintptr_t)twd->tcl_slots[twd->walkpos]; in tuncl_walk_step()
/titanic_44/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c135 static tuncl_t **tcl_slots = NULL; /* Slots for tuncl_t */ variable
235 tuncl_t **tcl_old = tcl_slots; in tcl_grow()
258 tcl_slots = tcl_new; in tcl_grow()
279 ASSERT(tcl_slots != NULL); in tuncl_alloc()
343 ASSERT(tcl_slots[dminor - 1] == NULL); in tuncl_alloc()
344 tcl_slots[dminor - 1] = tcl; in tuncl_alloc()
363 ASSERT(tcl_slots[tcl->tcl_lsessid - 1] == tcl); in tuncl_free()
366 tcl_slots[tcl->tcl_lsessid - 1] = NULL; in tuncl_free()
392 if ((dminor >= 1) && (dminor <= tcl_nslots) && tcl_slots != NULL) { in tcl_by_minor()
393 tcl = tcl_slots[dminor - 1]; in tcl_by_minor()
[all …]