Records
-
class BorrowedOperation -
class CallbackTraits -
class CommonTest_CheckFlushValidTest_Class -
class CommonTest_CheckIoRangeMaxTransferTest_Class -
class CommonTest_CheckIoRangeTest_Class -
class EndianTest_BigEndian24Test_Class -
class EndianTest_LittleEndian24Test_Class -
class Operation -
class OperationTraits -
class TestWithLogger -
class TestWithLogger_CheckFlushValidTest_Class -
class TestWithLogger_CheckIoRangeMaxTransferTest_Class -
class TestWithLogger_CheckIoRangeTest_Class
Functions
-
template <typename T>zx_status_t CheckIoRange (const T & io, uint64_t total_block_count)Check whether the IO request fits within the block device.
Defined at line 16 of file ../../src/devices/block/lib/common/include/common-dfv1.h
-
template <typename T>zx_status_t CheckIoRange (const T & io, uint64_t total_block_count, fdf::Logger & logger)Check whether the IO request fits within the block device.
Defined at line 17 of file ../../src/devices/block/lib/common/include/common.h
-
template <typename T>zx_status_t CheckIoRange (const T & io, uint64_t total_block_count, uint32_t max_tranfser_blocks)Check whether the IO request fits within the block device.
Also check that the IO request length does not exceed the max transfer size.
Defined at line 35 of file ../../src/devices/block/lib/common/include/common-dfv1.h
-
template <typename T>zx_status_t CheckIoRange (const T & io, uint64_t total_block_count, uint32_t max_tranfser_blocks, fdf::Logger & logger)Check whether the IO request fits within the block device.
Also check that the IO request length does not exceed the max transfer size.
Defined at line 37 of file ../../src/devices/block/lib/common/include/common.h
-
zx_status_t CheckFlushValid (const block_read_write & rw)Check that the data arguments are cleared for a flush request.
Defined at line 46 of file ../../src/devices/block/lib/common/include/common-dfv1.h
-
zx_status_t CheckFlushValid (const block_read_write & rw, fdf::Logger & logger)Check that the data arguments are cleared for a flush request.
Defined at line 48 of file ../../src/devices/block/lib/common/include/common.h
-
uint32_t ReadFromBigEndian24 (const uint8_t * ptr)Defined at line 59 of file ../../src/devices/block/lib/common/include/common.h
-
zx_status_t WriteToBigEndian24 (uint32_t value, uint8_t * ptr)Defined at line 63 of file ../../src/devices/block/lib/common/include/common.h
-
uint32_t ReadFromLittleEndian24 (const uint8_t * ptr)Defined at line 73 of file ../../src/devices/block/lib/common/include/common.h
-
zx_status_t WriteToLittleEndian24 (uint32_t valueuint8_t * ptr)Defined at line 77 of file ../../src/devices/block/lib/common/include/common.h