Searched refs:room_left (Results 1 – 5 of 5) sorted by relevance
94 int i, r, at, room_left; in chromeos_acpi_handle_package() local98 room_left = PAGE_SIZE - 1; in chromeos_acpi_handle_package()99 for (i = 0; i < element->buffer.length && room_left; i += byte_per_line) { in chromeos_acpi_handle_package()102 byte_per_line, 1, buf + at, room_left, in chromeos_acpi_handle_package()104 if (r > room_left) in chromeos_acpi_handle_package()107 room_left -= r; in chromeos_acpi_handle_package()113 room_left -= r; in chromeos_acpi_handle_package()
187 u64 room_left; in send_waiting_read() local202 room_left = vmci_trans(vsk)->consume_size - head; in send_waiting_read()203 if (room_needed >= room_left) { in send_waiting_read()204 waiting_info.offset = room_needed - room_left; in send_waiting_read()229 u64 room_left; in send_waiting_write() local238 room_left = vmci_trans(vsk)->produce_size - tail; in send_waiting_write()239 if (room_needed + 1 >= room_left) { in send_waiting_write()241 waiting_info.offset = room_needed + 1 - room_left; in send_waiting_write()
35 int *room_left);
651 int room_left; in peak_canfd_start_xmit() local658 msg = priv->alloc_tx_msg(priv, msg_size, &room_left); in peak_canfd_start_xmit()729 should_stop_tx_queue |= (room_left < in peak_canfd_start_xmit()732 should_stop_tx_queue |= (room_left < in peak_canfd_start_xmit()
501 int *room_left) in pciefd_alloc_tx_msg() argument545 *room_left = priv->tx_pages_free * page->size; in pciefd_alloc_tx_msg()552 *room_left += page->size - (page->offset + msg_size); in pciefd_alloc_tx_msg()