Lines Matching defs:pkg
57 struct tb_xdp_header *pkg;
91 const struct ctl_pkg *pkg)
93 switch (pkg->frame.eof) {
98 const struct tb_xdp_header *res_hdr = pkg->buffer;
101 if (pkg->frame.size < req->response_size / 4)
124 const struct ctl_pkg *pkg)
126 size_t len = min_t(size_t, pkg->frame.size, req->response_size);
128 memcpy(req->response, pkg->buffer, len);
737 const struct tb_xdp_header *pkg = xw->pkg;
738 const struct tb_xdomain_header *xhdr = &pkg->xd_hdr;
768 switch (pkg->type) {
773 (const struct tb_xdp_properties *)pkg);
828 (const struct tb_xdp_link_state_change *)pkg;
842 tb_dbg(tb, "%llx: unknown XDomain request %#x\n", route, pkg->type);
852 pkg->type);
856 kfree(xw->pkg);
873 xw->pkg = kmemdup(hdr, size, GFP_KERNEL);
874 if (!xw->pkg) {