Lines Matching refs:pkg
57 struct tb_xdp_header *pkg; member
90 const struct ctl_pkg *pkg) in tb_xdomain_match() argument
92 switch (pkg->frame.eof) { in tb_xdomain_match()
97 const struct tb_xdp_header *res_hdr = pkg->buffer; in tb_xdomain_match()
100 if (pkg->frame.size < req->response_size / 4) in tb_xdomain_match()
123 const struct ctl_pkg *pkg) in tb_xdomain_copy() argument
125 memcpy(req->response, pkg->buffer, req->response_size); in tb_xdomain_copy()
730 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request() local
731 const struct tb_xdomain_header *xhdr = &pkg->xd_hdr; in tb_xdp_handle_request()
760 switch (pkg->type) { in tb_xdp_handle_request()
765 (const struct tb_xdp_properties *)pkg); in tb_xdp_handle_request()
819 (const struct tb_xdp_link_state_change *)pkg; in tb_xdp_handle_request()
833 tb_dbg(tb, "%llx: unknown XDomain request %#x\n", route, pkg->type); in tb_xdp_handle_request()
843 pkg->type); in tb_xdp_handle_request()
847 kfree(xw->pkg); in tb_xdp_handle_request()
864 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
865 if (!xw->pkg) { in tb_xdp_schedule_request()