Home
last modified time | relevance | path

Searched refs:read_loc (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/include/linux/ !
Dhyperv.h213 u32 read_loc, write_loc, dsize, read; in hv_get_bytes_to_read() local
216 read_loc = rbi->ring_buffer->read_index; in hv_get_bytes_to_read()
219 read = write_loc >= read_loc ? (write_loc - read_loc) : in hv_get_bytes_to_read()
220 (dsize - read_loc) + write_loc; in hv_get_bytes_to_read()
227 u32 read_loc, write_loc, dsize, write; in hv_get_bytes_to_write() local
230 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_bytes_to_write()
233 write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_bytes_to_write()
234 read_loc - write_loc; in hv_get_bytes_to_write()
/linux-6.12.1/drivers/hv/ !
Dring_buffer.c136 u32 read_loc, write_loc, dsize; in hv_get_ringbuffer_availbytes() local
139 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes()
143 *write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_ringbuffer_availbytes()
144 read_loc - write_loc; in hv_get_ringbuffer_availbytes()
/linux-6.12.1/drivers/mtd/nand/raw/ !
Dqcom_nandc.c1470 int ret, reg_off = FLASH_BUF_ACC, read_loc = 0; in qcom_nandc_read_cw_raw() local
1501 nandc_set_read_loc(chip, cw, 0, read_loc, data_size1, 0); in qcom_nandc_read_cw_raw()
1502 read_loc += data_size1; in qcom_nandc_read_cw_raw()
1504 nandc_set_read_loc(chip, cw, 1, read_loc, oob_size1, 0); in qcom_nandc_read_cw_raw()
1505 read_loc += oob_size1; in qcom_nandc_read_cw_raw()
1507 nandc_set_read_loc(chip, cw, 2, read_loc, data_size2, 0); in qcom_nandc_read_cw_raw()
1508 read_loc += data_size2; in qcom_nandc_read_cw_raw()
1510 nandc_set_read_loc(chip, cw, 3, read_loc, oob_size2, 1); in qcom_nandc_read_cw_raw()