Lines Matching refs:length
98 size_t n = struct_size(&event, data, in->length);
105 event.length = in->length;
120 kfifo_in(&client->buffer, &in->data[0], in->length);
279 spec.length = rqst.payload.length;
288 rsp.capacity = rqst.response.length;
289 rsp.length = 0;
293 if (spec.length) {
300 * Note: spec.length is limited to U16_MAX bytes via struct
308 spec.payload = kzalloc(spec.length, GFP_KERNEL);
314 if (copy_from_user((void *)spec.payload, plddata, spec.length)) {
350 if (rsp.length && copy_to_user(rspdata, rsp.pointer, rsp.length))
354 /* Always try to set response-length and status. */
355 tmp = put_user(rsp.length, &r->response.length);