Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A Drelay.c366 buf->bytes_consumed = 0; in __relay_reset()
968 size_t bytes_consumed) in relay_file_read_consume() argument
975 buf->offset == buf->bytes_consumed) in relay_file_read_consume()
978 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()
980 buf->bytes_consumed = 0; in relay_file_read_consume()
983 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()
988 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()
993 buf->bytes_consumed = 0; in relay_file_read_consume()
1020 buf->bytes_consumed = 0; in relay_file_read_avail()
1024 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Drelay.h51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */ member
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_log.c2186 int *bytes_consumed) in xlog_write_setup_copy() argument
2190 still_to_copy = space_required - *bytes_consumed; in xlog_write_setup_copy()
2191 *copy_off = *bytes_consumed; in xlog_write_setup_copy()
2200 *bytes_consumed = 0; in xlog_write_setup_copy()
2210 *bytes_consumed += *copy_len; in xlog_write_setup_copy()
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_iocb.c862 sgx->dma_addr = sg_dma_addr + sgx->bytes_consumed; in qla24xx_get_one_block_sg()
864 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { in qla24xx_get_one_block_sg()
870 sgx->dma_len = sg_len - sgx->bytes_consumed; in qla24xx_get_one_block_sg()
875 sgx->bytes_consumed += sgx->dma_len; in qla24xx_get_one_block_sg()
877 if (sg_len == sgx->bytes_consumed) { in qla24xx_get_one_block_sg()
881 sgx->bytes_consumed = 0; in qla24xx_get_one_block_sg()
H A Dqla_def.h4887 uint32_t bytes_consumed; member