Searched refs:bytes_avail (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/arch/sparc/mm/ |
D | init_32.c | 134 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-5.19.10/drivers/hv/ |
D | ring_buffer.c | 476 u32 bytes_avail, pkt_len, pkt_offset; in hv_pkt_iter_first() local 480 bytes_avail = hv_pkt_iter_avail(rbi); in hv_pkt_iter_first() 481 if (bytes_avail < sizeof(struct vmpacket_descriptor)) in hv_pkt_iter_first() 483 bytes_avail = min(rbi->pkt_buffer_size, bytes_avail); in hv_pkt_iter_first() 498 if (pkt_len < sizeof(struct vmpacket_descriptor) || pkt_len > bytes_avail) in hv_pkt_iter_first() 499 pkt_len = bytes_avail; in hv_pkt_iter_first()
|
/linux-5.19.10/sound/pci/asihpi/ |
D | asihpi.c | 730 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-5.19.10/drivers/usb/serial/ |
D | io_edgeport.c | 576 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-5.19.10/drivers/scsi/ |
D | BusLogic.c | 3309 int bytes_avail) in blogic_write_info() argument
|