Lines Matching refs:tuncl_t

135 static tuncl_t **tcl_slots = NULL;	/* Slots for tuncl_t */
235 tuncl_t **tcl_old = tcl_slots;
236 tuncl_t **tcl_new;
242 tcl_new = kmem_zalloc(new_size * sizeof (tuncl_t *), KM_NOSLEEP);
251 kmem_free(tcl_new, new_size * sizeof (tuncl_t *));
255 /* Migrate tuncl_t entries to a new location */
257 bcopy(tcl_old, tcl_new, old_size * sizeof (tuncl_t *));
259 kmem_free(tcl_old, old_size * sizeof (tuncl_t *));
271 static tuncl_t *
275 tuncl_t *tcl = NULL;
359 tuncl_free(tuncl_t *tcl)
376 /* Return tuncl_t to the cache */
382 * Get tuncl_t structure by minor number. Returns NULL when minor is
387 static tuncl_t *
390 tuncl_t *tcl = NULL;
494 tuncl_t *tcl;
536 make_control(tuncl_t *tclabout, tunll_t *tllabout, int action, tuncl_t *tclto)
564 send_control(tuncl_t *tclabout, tunll_t *tllabout, int action, tuncl_t *tcl)
593 tuncl_t *tcl;
632 tuncl_t *tcl;
675 DTRACE_PROBE1(sppptun__client__close, tuncl_t *, tcl);
785 tuncl_t *tcl;
820 DTRACE_PROBE2(sppptun__bad__control, tuncl_t *, tcl,
834 DTRACE_PROBE2(sppptun__test, tuncl_t *, tcl,
847 DTRACE_PROBE2(sppptun__bad__discrim, tuncl_t *, tcl,
857 DTRACE_PROBE2(sppptun__bad__control, tuncl_t *, tcl,
866 DTRACE_PROBE3(sppptun__cannot__send, tuncl_t *, tcl,
885 DTRACE_PROBE3(sppptun__flow__control, tuncl_t *, tcl,
1014 DTRACE_PROBE1(sppptun__output__failure, tuncl_t *, tcl);
1111 tuncl_t *tcl;
1125 tcl = (tuncl_t *)tll;
1129 DTRACE_PROBE3(sppptun__ioctl, tuncl_t *, tcl, tunll_t *, tll,
1292 DTRACE_PROBE2(sppptun__speer, tuncl_t *, tcl,
1607 tuncl_t *tcl;
1641 tuncl_t *tcl;
1663 tcl = (tuncl_t *)q->q_ptr;
1754 tuncl_t *tcl;
1784 tuncl_t *tcl;
1854 tuncl_t *tcl;
1877 if ((tcl = (tuncl_t *)q->q_ptr) == NULL || tcl->tcl_rq == NULL) {
1971 tuncl_t *tcl;
1997 tuncl_t *tcl;
2070 tuncl_t *tcl;
2184 tuncl_t *, tcl, mblk_t *, mp);
2389 * consumes one pointer for tcl_slots array, one tuncl_t structure and
2392 #define TUNCL_SIZE (sizeof (tuncl_t) + sizeof (tuncl_t *) + \
2426 tcl_slots = kmem_zalloc(tcl_nslots * sizeof (tuncl_t *), KM_SLEEP);
2428 tcl_cache = kmem_cache_create("sppptun_map", sizeof (tuncl_t), 0,
2481 kmem_free(tcl_slots, tcl_nslots * sizeof (tuncl_t *));