Lines Matching defs:io_unit

1741 	/* To be sure that operation is NOT split, read one io_unit at the time */
1765 /* To be sure that operation is NOT split, write one io_unit at the time */
1992 /* First of iovs fills whole blob except last io_unit and second of iovs writes last io_unit
2014 /* First of iovs fills only first io_unit and second of iovs writes whole blob except
2015 * first io_unit with a pattern. */
4681 /* For legacy metadata, we should have written the io_unit for
4686 /* For extent table metadata, we should have written the io_unit for
5020 uint64_t io_unit;
5040 io_unit = bs_cluster_to_io_unit(bs, 1);
5044 spdk_blob_io_read(blob, channel, payload_read, io_unit, 10, blob_op_complete, NULL);
5054 spdk_blob_io_write(blob, channel, payload_write, io_unit, 10, blob_op_complete, NULL);
5068 spdk_blob_io_read(blob, channel, payload_read, io_unit, 10, blob_op_complete, NULL);
5092 spdk_blob_io_read(blob, channel, payload_read, io_unit, 10, blob_op_complete, NULL);
6930 /* Each character 0-F symbolizes single io_unit containing 512 bytes block filled with that character.
7242 /* Each character 0-F symbolizes single io_unit containing 512 bytes block filled with that character.
7546 /* Try to initialize a new blob store with unsupported io_unit */
7698 /* Try to initialize a new blob store with unsupported io_unit */
8088 uint64_t io_unit, io_units_per_cluster;
8118 io_unit = spdk_blob_get_next_allocated_io_unit(blob, 0);
8119 CU_ASSERT(io_unit == offset);
8121 io_unit = spdk_blob_get_next_unallocated_io_unit(blob, 0);
8122 CU_ASSERT(io_unit == io_units_per_cluster);
8130 io_unit = spdk_blob_get_next_allocated_io_unit(blob, io_units_per_cluster);
8131 CU_ASSERT(io_unit == 2 * io_units_per_cluster);
8133 io_unit = spdk_blob_get_next_unallocated_io_unit(blob, 2 * io_units_per_cluster);
8134 CU_ASSERT(io_unit == 3 * io_units_per_cluster);
8142 io_unit = spdk_blob_get_next_allocated_io_unit(blob, 3 * io_units_per_cluster);
8143 CU_ASSERT(io_unit == 4 * io_units_per_cluster);
8145 io_unit = spdk_blob_get_next_unallocated_io_unit(blob, 4 * io_units_per_cluster);
8146 CU_ASSERT(io_unit == UINT64_MAX);