Lines Matching defs:size
59 if (pkg->frame.size < req->response_size / 4)
95 size_t size, enum tb_cfg_pkg_type type)
106 req->request_size = size;
116 * @size: Size of the response
125 size_t size, enum tb_cfg_pkg_type type)
127 return __tb_xdomain_response(xd->tb->ctl, response, size, type);
166 * @response_size: Expected size of the response in bytes
188 u8 sequence, enum tb_xdp_type type, size_t size)
192 length_sn = (size - sizeof(hdr->xd_hdr)) / 4;
324 * least size of the response structure.
636 size_t size)
645 xw->pkg = kmemdup(hdr, size, GFP_KERNEL);
694 static int get_modalias(struct tb_service *svc, char *buf, size_t size)
696 return snprintf(buf, size, "tbsvc:k%sp%08Xv%08Xr%08X", svc->key,
705 /* Full buffer size except new line and null termination */
1582 const void *buf, size_t size)
1589 /* We expect the packet is at least size of the header */
1591 if (length != size / 4 - sizeof(hdr->xd_hdr) / 4)
1603 return tb_xdp_schedule_request(tb, hdr, size);
1613 ret = handler->callback(buf, size, handler->data);