Lines Matching defs:length

111 	uint64_t				length;
1121 _request_spans_chunk_boundary(struct spdk_reduce_vol *vol, uint64_t offset, uint64_t length)
1126 end_chunk = (offset + length - 1) / vol->logical_blocks_per_chunk;
1800 uint64_t length)
1813 return size == (length * vol->params.logical_block_size);
1835 struct iovec *iov, int iovcnt, uint64_t offset, uint64_t length,
1843 if (length == 0) {
1848 if (_request_spans_chunk_boundary(vol, offset, length)) {
1853 if (!_iov_array_is_valid(vol, iov, iovcnt, length)) {
1887 req->length = length;
1907 if ((req->length * vol->params.logical_block_size) < vol->params.chunk_size) {
1925 struct iovec *iov, int iovcnt, uint64_t offset, uint64_t length,
1932 if (length == 0) {
1937 if (_request_spans_chunk_boundary(vol, offset, length)) {
1942 if (!_iov_array_is_valid(vol, iov, iovcnt, length)) {
1963 req->length = length;
1996 uint64_t offset, uint64_t length,
2003 if (_request_spans_chunk_boundary(vol, offset, length)) {
2032 req->length = length;
2062 _reduce_vol_unmap_partial_chunk(struct spdk_reduce_vol *vol, uint64_t offset, uint64_t length,
2075 ctx->iov.iov_len = length * vol->params.logical_block_size;
2079 spdk_reduce_vol_writev(vol, &ctx->iov, 1, offset, length, _reduce_unmap_partial_chunk_complete,
2085 uint64_t offset, uint64_t length,
2088 if (length < vol->logical_blocks_per_chunk) {
2089 _reduce_vol_unmap_partial_chunk(vol, offset, length, cb_fn, cb_arg);
2090 } else if (length == vol->logical_blocks_per_chunk) {
2091 _reduce_vol_unmap_full_chunk(vol, offset, length, cb_fn, cb_arg);