Home
last modified time | relevance | path

Searched refs:bytes_consumed (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/kernel/
Drelay.c297 buf->bytes_consumed = 0; in __relay_reset()
880 size_t bytes_consumed) in relay_file_read_consume() argument
887 buf->offset == buf->bytes_consumed) in relay_file_read_consume()
890 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()
892 buf->bytes_consumed = 0; in relay_file_read_consume()
895 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()
900 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()
905 buf->bytes_consumed = 0; in relay_file_read_consume()
932 buf->bytes_consumed = 0; in relay_file_read_avail()
936 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()
[all …]
/linux-6.1.9/include/linux/
Drelay.h51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */ member
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_iocb.c809 sgx->dma_addr = sg_dma_addr + sgx->bytes_consumed; in qla24xx_get_one_block_sg()
811 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { in qla24xx_get_one_block_sg()
817 sgx->dma_len = sg_len - sgx->bytes_consumed; in qla24xx_get_one_block_sg()
822 sgx->bytes_consumed += sgx->dma_len; in qla24xx_get_one_block_sg()
824 if (sg_len == sgx->bytes_consumed) { in qla24xx_get_one_block_sg()
828 sgx->bytes_consumed = 0; in qla24xx_get_one_block_sg()
Dqla_def.h5080 uint32_t bytes_consumed; member