Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/include/linux/
Drelay.h51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */ member
/linux-6.12.1/net/mptcp/
Dprotocol.h279 u64 bytes_consumed; member
758 return READ_ONCE(msk->bytes_received) - READ_ONCE(msk->bytes_consumed); in mptcp_data_avail()
Dprotocol.c1977 msk->bytes_consumed += count; in __mptcp_recvmsg_mskq()
1988 msk->bytes_consumed += count; in __mptcp_recvmsg_mskq()
3236 msk->bytes_consumed = 0; in mptcp_disconnect()
/linux-6.12.1/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.h5168 uint32_t bytes_consumed; member