Lines Matching refs:ctaskp
2150 vsw_ctrl_task_t *ctaskp = NULL; in vsw_dispatch_ctrl_task() local
2175 ctaskp = kmem_alloc(sizeof (vsw_ctrl_task_t), KM_NOSLEEP); in vsw_dispatch_ctrl_task()
2177 if (ctaskp == NULL) { in vsw_dispatch_ctrl_task()
2183 ctaskp->ldcp = ldcp; in vsw_dispatch_ctrl_task()
2184 bcopy((def_msg_t *)cpkt, &ctaskp->pktp, msglen); in vsw_dispatch_ctrl_task()
2185 ctaskp->hss_id = ldcp->hss_id; in vsw_dispatch_ctrl_task()
2195 ctaskp, DDI_NOSLEEP) != DDI_SUCCESS)) { in vsw_dispatch_ctrl_task()
2200 kmem_free(ctaskp, sizeof (vsw_ctrl_task_t)); in vsw_dispatch_ctrl_task()
2204 kmem_free(ctaskp, sizeof (vsw_ctrl_task_t)); in vsw_dispatch_ctrl_task()
2222 vsw_ctrl_task_t *ctaskp = (vsw_ctrl_task_t *)arg; in vsw_process_ctrl_pkt() local
2223 vsw_ldc_t *ldcp = ctaskp->ldcp; in vsw_process_ctrl_pkt()
2230 bcopy(&ctaskp->pktp, &tag, sizeof (vio_msg_tag_t)); in vsw_process_ctrl_pkt()
2234 if (ctaskp->hss_id < ldcp->hss_id) { in vsw_process_ctrl_pkt()
2236 " (%ld) handshake session", __func__, ctaskp->hss_id); in vsw_process_ctrl_pkt()
2237 kmem_free(ctaskp, sizeof (vsw_ctrl_task_t)); in vsw_process_ctrl_pkt()
2246 kmem_free(ctaskp, sizeof (vsw_ctrl_task_t)); in vsw_process_ctrl_pkt()
2258 vsw_process_ctrl_ver_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2261 vsw_process_ctrl_dring_reg_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2264 vsw_process_ctrl_dring_unreg_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2267 vsw_process_ctrl_attr_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2270 vsw_process_ctrl_mcst_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2273 vsw_process_ctrl_rdx_pkt(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2276 vsw_process_dds_msg(vswp, ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2280 vsw_process_physlink_msg(ldcp, &ctaskp->pktp); in vsw_process_ctrl_pkt()
2286 kmem_free(ctaskp, sizeof (vsw_ctrl_task_t)); in vsw_process_ctrl_pkt()