Lines Matching refs:xw
729 struct xdomain_request_work *xw = container_of(work, typeof(*xw), work); in tb_xdp_handle_request() local
730 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request()
732 struct tb *tb = xw->tb; in tb_xdp_handle_request()
847 kfree(xw->pkg); in tb_xdp_handle_request()
848 kfree(xw); in tb_xdp_handle_request()
857 struct xdomain_request_work *xw; in tb_xdp_schedule_request() local
859 xw = kmalloc(sizeof(*xw), GFP_KERNEL); in tb_xdp_schedule_request()
860 if (!xw) in tb_xdp_schedule_request()
863 INIT_WORK(&xw->work, tb_xdp_handle_request); in tb_xdp_schedule_request()
864 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
865 if (!xw->pkg) { in tb_xdp_schedule_request()
866 kfree(xw); in tb_xdp_schedule_request()
869 xw->tb = tb_domain_get(tb); in tb_xdp_schedule_request()
871 schedule_work(&xw->work); in tb_xdp_schedule_request()