Lines Matching refs:pkg
27 struct tb_xdp_header *pkg; member
49 const struct ctl_pkg *pkg) in tb_xdomain_match() argument
51 switch (pkg->frame.eof) { in tb_xdomain_match()
56 const struct tb_xdp_header *res_hdr = pkg->buffer; in tb_xdomain_match()
59 if (pkg->frame.size < req->response_size / 4) in tb_xdomain_match()
82 const struct ctl_pkg *pkg) in tb_xdomain_copy() argument
84 memcpy(req->response, pkg->buffer, req->response_size); in tb_xdomain_copy()
507 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request() local
508 const struct tb_xdomain_header *xhdr = &pkg->xd_hdr; in tb_xdp_handle_request()
532 switch (pkg->type) { in tb_xdp_handle_request()
535 (const struct tb_xdp_properties *)pkg); in tb_xdp_handle_request()
540 (const struct tb_xdp_properties_changed *)pkg; in tb_xdp_handle_request()
573 pkg->type); in tb_xdp_handle_request()
577 kfree(xw->pkg); in tb_xdp_handle_request()
594 xw->pkg = kmemdup(hdr, size, GFP_KERNEL); in tb_xdp_schedule_request()
595 if (!xw->pkg) { in tb_xdp_schedule_request()