Home
last modified time | relevance | path

Searched refs:room_left (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_acpi.c94 int i, r, at, room_left; in chromeos_acpi_handle_package() local
98 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()
/openbmc/linux/net/vmw_vsock/
H A Dvmci_transport_notify.c187 u64 room_left; in send_waiting_read() local
202 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() local
238 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()
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h35 int *room_left);
H A Dpeak_canfd.c651 int room_left; in peak_canfd_start_xmit() local
658 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()
H A Dpeak_pciefd_main.c501 int *room_left) in pciefd_alloc_tx_msg() argument
545 *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()