Lines Matching refs:itd
518 iptun_task_data_t *itd = arg; in iptun_task_cb() local
519 iptun_task_t task = itd->itd_task; in iptun_task_cb()
520 datalink_id_t linkid = itd->itd_linkid; in iptun_task_cb()
528 kmem_free(itd, sizeof (*itd)); in iptun_task_cb()
593 iptun_task_data_t *itd; in iptun_task_dispatch() local
595 itd = kmem_alloc(sizeof (*itd), KM_NOSLEEP); in iptun_task_dispatch()
596 if (itd == NULL) { in iptun_task_dispatch()
600 itd->itd_task = iptun_task; in iptun_task_dispatch()
601 itd->itd_linkid = iptun->iptun_linkid; in iptun_task_dispatch()
602 if (ddi_taskq_dispatch(iptun_taskq, iptun_task_cb, itd, DDI_NOSLEEP)) { in iptun_task_dispatch()
604 kmem_free(itd, sizeof (*itd)); in iptun_task_dispatch()