Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Drelay.c365 buf->bytes_consumed = 0; in __relay_reset()
941 size_t bytes_consumed) in relay_file_read_consume() argument
948 buf->offset == buf->bytes_consumed) in relay_file_read_consume()
951 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()
953 buf->bytes_consumed = 0; in relay_file_read_consume()
956 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()
961 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()
966 buf->bytes_consumed = 0; in relay_file_read_consume()
993 buf->bytes_consumed = 0; in relay_file_read_avail()
997 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()
[all …]
/linux-3.4.99/include/linux/
Drelay.h51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */ member
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_iocb.c890 uint32_t bytes_consumed; member
916 sgx->dma_addr = sg_dma_addr + sgx->bytes_consumed; in qla24xx_get_one_block_sg()
918 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { in qla24xx_get_one_block_sg()
924 sgx->dma_len = sg_len - sgx->bytes_consumed; in qla24xx_get_one_block_sg()
929 sgx->bytes_consumed += sgx->dma_len; in qla24xx_get_one_block_sg()
931 if (sg_len == sgx->bytes_consumed) { in qla24xx_get_one_block_sg()
935 sgx->bytes_consumed = 0; in qla24xx_get_one_block_sg()
/linux-3.4.99/fs/xfs/
Dxfs_log.c1831 int *bytes_consumed) in xlog_write_setup_copy() argument
1835 still_to_copy = space_required - *bytes_consumed; in xlog_write_setup_copy()
1836 *copy_off = *bytes_consumed; in xlog_write_setup_copy()
1845 *bytes_consumed = 0; in xlog_write_setup_copy()
1855 *bytes_consumed += *copy_len; in xlog_write_setup_copy()