Lines Matching refs:buffer
210 * set_required_buffer_size - Sets the buffer size needed for performing IOCTL
212 * @length: Required buffer size
214 * Allocates memory needed for buffer, stores the buffer size in that memory
233 * @out: Empty buffer to return the method results
255 * @out: Empty buffer to return the method results
295 params[2].buffer.length = in->length;
296 params[2].buffer.pointer = in->pointer;
381 * @out: Empty buffer to return the contents of the data block to
383 * Return the contents of an ACPI-WMI data block to a buffer
418 * Write the contents of the input buffer to an ACPI-WMI data block
456 params[1].buffer.length = in->length;
457 params[1].buffer.pointer = in->pointer;
508 pr_cont("BUFFER_TYPE - length %d\n", obj->buffer.length);
834 static ssize_t wmi_char_read(struct file *filp, char __user *buffer,
839 return simple_read_from_buffer(buffer, length, offset,
901 /* return the result (only up to our internal buffer size) */
941 /* check that required buffer size declared by driver or MOF */
944 "Required buffer size not set\n");
1168 gblock = (const struct guid_block *)obj->buffer.pointer;
1169 total = obj->buffer.length / sizeof(struct guid_block);