Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/mm/
Dinit_32.c134 unsigned long start_pfn, bytes_avail, size; in bootmem_init() local
142 bytes_avail = 0UL; in bootmem_init()
146 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
148 if (bytes_avail > cmdline_memory_size) { in bootmem_init()
149 unsigned long slack = bytes_avail - cmdline_memory_size; in bootmem_init()
151 bytes_avail -= slack; in bootmem_init()
/linux-6.1.9/drivers/hv/
Dring_buffer.c489 u32 bytes_avail, pkt_len, pkt_offset; in hv_pkt_iter_first() local
493 bytes_avail = hv_pkt_iter_avail(rbi); in hv_pkt_iter_first()
494 if (bytes_avail < sizeof(struct vmpacket_descriptor)) in hv_pkt_iter_first()
496 bytes_avail = min(rbi->pkt_buffer_size, bytes_avail); in hv_pkt_iter_first()
511 if (pkt_len < sizeof(struct vmpacket_descriptor) || pkt_len > bytes_avail) in hv_pkt_iter_first()
512 pkt_len = bytes_avail; in hv_pkt_iter_first()
/linux-6.1.9/sound/pci/asihpi/
Dasihpi.c730 u32 buffer_size, bytes_avail, samples_played, on_card_bytes; in snd_card_asihpi_timer_function() local
750 &buffer_size, &bytes_avail, in snd_card_asihpi_timer_function()
757 on_card_bytes = bytes_avail; in snd_card_asihpi_timer_function()
760 pcm_buf_dma_ofs = ds->pcm_buf_host_rw_ofs - bytes_avail; in snd_card_asihpi_timer_function()
762 if (bytes_avail == 0) { in snd_card_asihpi_timer_function()
779 pcm_buf_dma_ofs = bytes_avail + ds->pcm_buf_host_rw_ofs; in snd_card_asihpi_timer_function()
800 (int)bytes_avail, in snd_card_asihpi_timer_function()
803 buffer_size-bytes_avail, in snd_card_asihpi_timer_function()
/linux-6.1.9/drivers/usb/serial/
Dio_edgeport.c576 int bytes_avail; in edge_interrupt_callback() local
605 bytes_avail = data[0] | (data[1] << 8); in edge_interrupt_callback()
606 if (bytes_avail) { in edge_interrupt_callback()
608 edge_serial->rxBytesAvail += bytes_avail; in edge_interrupt_callback()
611 __func__, bytes_avail, in edge_interrupt_callback()
/linux-6.1.9/drivers/scsi/
DBusLogic.c3320 int bytes_avail) in blogic_write_info() argument