Lines Matching refs:xw
506 struct xdomain_request_work *xw = container_of(work, typeof(*xw), work); in tb_xdp_handle_request() local
507 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request()
509 struct tb *tb = xw->tb; in tb_xdp_handle_request()
577 kfree(xw->pkg); in tb_xdp_handle_request()
578 kfree(xw); in tb_xdp_handle_request()
587 struct xdomain_request_work *xw; in tb_xdp_schedule_request() local
589 xw = kmalloc(sizeof(*xw), GFP_KERNEL); in tb_xdp_schedule_request()
590 if (!xw) in tb_xdp_schedule_request()
593 INIT_WORK(&xw->work, tb_xdp_handle_request); in tb_xdp_schedule_request()
594 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
595 if (!xw->pkg) { in tb_xdp_schedule_request()
596 kfree(xw); in tb_xdp_schedule_request()
599 xw->tb = tb_domain_get(tb); in tb_xdp_schedule_request()
601 schedule_work(&xw->work); in tb_xdp_schedule_request()