Lines Matching defs:buffer
75 * buffer - Where the name is returned
84 acpi_ns_handle_to_name(acpi_handle target_handle, struct acpi_buffer *buffer)
97 /* Validate/Allocate/Clear caller buffer */
99 status = acpi_ut_initialize_buffer(buffer, ACPI_PATH_SEGMENT_LENGTH);
107 ACPI_COPY_NAMESEG(buffer->pointer, node_name);
108 ((char *)buffer->pointer)[ACPI_NAMESEG_SIZE] = 0;
110 ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%4.4s\n", (char *)buffer->pointer));
120 * buffer - Where the pathname is returned
132 struct acpi_buffer *buffer, u8 no_trailing)
145 /* Determine size required for the caller buffer */
153 /* Validate/Allocate/Clear caller buffer */
155 status = acpi_ut_initialize_buffer(buffer, required_size);
160 /* Build the path in the caller buffer */
162 (void)acpi_ns_build_normalized_path(node, buffer->pointer,
166 (char *)buffer->pointer, (u32) required_size));
176 * path_size - Size of returned path name buffer
186 * buffer length is returned, and it should be greater than
188 * to determine the buffer size of 'FullPath'.
297 /* Calculate required buffer size based on depth below root */
304 /* Allocate a buffer to be returned to caller */
312 /* Build the path in the allocated buffer */
417 /* Allocate a temp buffer in which to construct the new path */