Searched refs:bytes_consumed (Results 1 – 4 of 4) sorted by relevance
297 buf->bytes_consumed = 0; in __relay_reset()880 size_t bytes_consumed) in relay_file_read_consume() argument887 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 …]
51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */ member
809 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()
5080 uint32_t bytes_consumed; member