Searched refs:read_loc (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/hv/ |
D | ring_buffer.c | 143 u32 read_loc, write_loc, dsize; in hv_get_ringbuffer_availbytes() local 146 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes() 150 *write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_ringbuffer_availbytes() 151 read_loc - write_loc; in hv_get_ringbuffer_availbytes()
|
/kernel/linux/linux-5.10/include/linux/ |
D | hyperv.h | 189 u32 read_loc, write_loc, dsize, read; in hv_get_bytes_to_read() local 192 read_loc = rbi->ring_buffer->read_index; in hv_get_bytes_to_read() 195 read = write_loc >= read_loc ? (write_loc - read_loc) : in hv_get_bytes_to_read() 196 (dsize - read_loc) + write_loc; in hv_get_bytes_to_read() 203 u32 read_loc, write_loc, dsize, write; in hv_get_bytes_to_write() local 206 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_bytes_to_write() 209 write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_bytes_to_write() 210 read_loc - write_loc; in hv_get_bytes_to_write()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1593 int ret, reg_off = FLASH_BUF_ACC, read_loc = 0; in qcom_nandc_read_cw_raw() local 1617 nandc_set_read_loc(nandc, 0, read_loc, data_size1, 0); in qcom_nandc_read_cw_raw() 1618 read_loc += data_size1; in qcom_nandc_read_cw_raw() 1620 nandc_set_read_loc(nandc, 1, read_loc, oob_size1, 0); in qcom_nandc_read_cw_raw() 1621 read_loc += oob_size1; in qcom_nandc_read_cw_raw() 1623 nandc_set_read_loc(nandc, 2, read_loc, data_size2, 0); in qcom_nandc_read_cw_raw() 1624 read_loc += data_size2; in qcom_nandc_read_cw_raw() 1626 nandc_set_read_loc(nandc, 3, read_loc, oob_size2, 1); in qcom_nandc_read_cw_raw()
|