Searched refs:required_size (Results 1 – 3 of 3) sorted by relevance
232 acpi_size required_size; in acpi_ns_handle_to_pathname() local243 required_size = acpi_ns_get_pathname_length(node); in acpi_ns_handle_to_pathname()244 if (!required_size) { in acpi_ns_handle_to_pathname()250 status = acpi_ut_initialize_buffer(buffer, required_size); in acpi_ns_handle_to_pathname()258 acpi_ns_build_external_path(node, required_size, buffer->pointer); in acpi_ns_handle_to_pathname()264 (char *)buffer->pointer, (u32) required_size)); in acpi_ns_handle_to_pathname()
763 unsigned int required_size = urb->transfer_buffer_length; in oz_hcd_get_desc_cnf() local765 if (required_size > total_size) in oz_hcd_get_desc_cnf()766 required_size = total_size; in oz_hcd_get_desc_cnf()767 copy_len = required_size-offset; in oz_hcd_get_desc_cnf()772 if (offset < required_size) { in oz_hcd_get_desc_cnf()782 required_size-offset)) { in oz_hcd_get_desc_cnf()
445 int required_size = sizeof(struct hid_sensor_sample) + in hid_sensor_capture_sample() local450 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()