Lines Matching refs:xw
464 struct xdomain_request_work *xw = container_of(work, typeof(*xw), work); in tb_xdp_handle_request() local
465 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request()
467 struct tb *tb = xw->tb; in tb_xdp_handle_request()
528 kfree(xw->pkg); in tb_xdp_handle_request()
529 kfree(xw); in tb_xdp_handle_request()
536 struct xdomain_request_work *xw; in tb_xdp_schedule_request() local
538 xw = kmalloc(sizeof(*xw), GFP_KERNEL); in tb_xdp_schedule_request()
539 if (!xw) in tb_xdp_schedule_request()
542 INIT_WORK(&xw->work, tb_xdp_handle_request); in tb_xdp_schedule_request()
543 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
544 xw->tb = tb; in tb_xdp_schedule_request()
546 queue_work(tb->wq, &xw->work); in tb_xdp_schedule_request()