Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/acpi/acpica/
Dnsnames.c232 acpi_size required_size; in acpi_ns_handle_to_pathname() local
243 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()
/linux-4.1.27/drivers/staging/ozwpan/
Dozhcd.c763 unsigned int required_size = urb->transfer_buffer_length; in oz_hcd_get_desc_cnf() local
765 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()
/linux-4.1.27/drivers/hid/
Dhid-sensor-custom.c445 int required_size = sizeof(struct hid_sensor_sample) + in hid_sensor_capture_sample() local
450 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()