Lines Matching refs:buffer
39 struct acpi_buffer *buffer,
47 * buffer - Pointer to a data buffer
58 struct acpi_buffer *buffer,
83 * Validate the user buffer object
85 * if there is a non-zero buffer length we also need a valid pointer in
86 * the buffer. If it's a zero buffer length, we'll be returning the
87 * needed buffer size (later), so keep going.
89 status = acpi_ut_validate_buffer(buffer);
103 * ret_buffer - Pointer to a buffer to receive the
110 * desired bus. The routine table is placed in the buffer pointed
149 * ret_buffer - Pointer to a buffer to receive the
156 * the desired device. The resource data is placed in the buffer
194 * ret_buffer - Pointer to a buffer to receive the
202 * buffer pointed to by the ret_buffer variable.
236 * in_buffer - Pointer to a buffer containing the
244 * the buffer pointed to by the in_buffer variable.
256 /* Validate the buffer, don't allow zero length */
281 * in_buffer - Pointer to a buffer containing the
289 * the buffer pointed to by the in_buffer variable. Uses the
320 * out - Pointer to the users's return buffer
326 * copy it to the address64 return buffer. This saves the
413 info.buffer = ret_buffer;
446 struct acpi_buffer *buffer;
470 /* Validate/Allocate/Clear caller buffer */
472 buffer = info->buffer;
473 status = acpi_ut_initialize_buffer(buffer, resource->length);
480 memcpy(buffer->pointer, resource, resource->length);
481 buffer->length = resource->length;
493 * PARAMETERS: buffer - Formatted buffer returned by one of the
506 acpi_walk_resource_buffer(struct acpi_buffer *buffer,
518 if (!buffer || !buffer->pointer || !user_function) {
524 resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer);
526 ACPI_ADD_PTR(struct acpi_resource, buffer->pointer, buffer->length);
528 /* Walk the resource list until the end_tag is found (or buffer end) */
599 struct acpi_buffer buffer;
615 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER;
616 status = acpi_rs_get_method_data(device_handle, name, &buffer);
623 status = acpi_walk_resource_buffer(&buffer, user_function, context);
624 ACPI_FREE(buffer.pointer);