Lines Matching refs:tcl
385 tuncl_t tcl; in tuncl_walk_step() local
402 if (mdb_vread(&tcl, sizeof (tcl), addr) == -1) { in tuncl_walk_step()
407 status = wsp->walk_callback(addr, &tcl, wsp->walk_cbdata); in tuncl_walk_step()
415 tuncl_format(uintptr_t addr, const tuncl_t *tcl, uint_t *qfmt) in tuncl_format() argument
417 mdb_printf("%?p %-6d %?p %?p", addr, tcl->tcl_zoneid, tcl->tcl_data_tll, in tuncl_format()
418 tcl->tcl_ctrl_tll); in tuncl_format()
419 mdb_printf(" %-2d %04X %04X ", tcl->tcl_style, in tuncl_format()
420 tcl->tcl_lsessid, tcl->tcl_rsessid); in tuncl_format()
421 if (tcl->tcl_flags & TCLF_DAEMON) { in tuncl_format()
424 mdb_printf("sppp%d\n", tcl->tcl_unit); in tuncl_format()
435 tuncl_t tcl; in tuncl() local
443 if (mdb_vread(&tcl, sizeof (tcl), addr) == -1) in tuncl()
446 tuncl_format(addr, &tcl, &qfmt); in tuncl()
581 tuncl_t tcl; member
595 if (mdb_vread(&ts->tcl, sizeof (ts->tcl), in tun_state_read()
596 (uintptr_t)ptr) == sizeof (ts->tcl)) { in tun_state_read()
617 if (ts.tcl.tcl_flags & TCLF_ISCLIENT) in sppptun_qinfo()
619 ts.tcl.tcl_unit, ts.tcl.tcl_lsessid); in sppptun_qinfo()
632 if (ts.tcl.tcl_flags & TCLF_ISCLIENT) { in sppptun_rnext()
633 return ((uintptr_t)ts.tcl.tcl_rq); in sppptun_rnext()
648 if (ts.tcl.tcl_flags & TCLF_ISCLIENT) { in sppptun_wnext()
649 if (ts.tcl.tcl_data_tll == NULL) in sppptun_wnext()
652 (uintptr_t)ts.tcl.tcl_data_tll) != sizeof (ts.tll)) { in sppptun_wnext()