Lines Matching refs:xw
555 struct xdomain_request_work *xw = container_of(work, typeof(*xw), work); in tb_xdp_handle_request() local
556 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request()
558 struct tb *tb = xw->tb; in tb_xdp_handle_request()
628 kfree(xw->pkg); in tb_xdp_handle_request()
629 kfree(xw); in tb_xdp_handle_request()
638 struct xdomain_request_work *xw; in tb_xdp_schedule_request() local
640 xw = kmalloc(sizeof(*xw), GFP_KERNEL); in tb_xdp_schedule_request()
641 if (!xw) in tb_xdp_schedule_request()
644 INIT_WORK(&xw->work, tb_xdp_handle_request); in tb_xdp_schedule_request()
645 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
646 if (!xw->pkg) { in tb_xdp_schedule_request()
647 kfree(xw); in tb_xdp_schedule_request()
650 xw->tb = tb_domain_get(tb); in tb_xdp_schedule_request()
652 schedule_work(&xw->work); in tb_xdp_schedule_request()