Lines Matching refs:size
100 if (pkg->frame.size < req->response_size / 4)
136 size_t size, enum tb_cfg_pkg_type type)
147 req->request_size = size;
157 * @size: Size of the response
166 size_t size, enum tb_cfg_pkg_type type)
168 return __tb_xdomain_response(xd->tb->ctl, response, size, type);
207 * @response_size: Expected size of the response in bytes
229 u8 sequence, enum tb_xdp_type type, size_t size)
233 length_sn = (size - sizeof(hdr->xd_hdr)) / 4;
362 * least size of the response structure.
855 size_t size)
864 xw->pkg = kmemdup(hdr, size, GFP_KERNEL);
913 static int get_modalias(const struct tb_service *svc, char *buf, size_t size)
915 return snprintf(buf, size, "tbsvc:k%sp%08Xv%08Xr%08X", svc->key,
924 /* Full buffer size except new line and null termination */
2359 const void *buf, size_t size)
2366 /* We expect the packet is at least size of the header */
2368 if (length != size / 4 - sizeof(hdr->xd_hdr) / 4)
2380 return tb_xdp_schedule_request(tb, hdr, size);
2390 ret = handler->callback(buf, size, handler->data);