Searched defs:PartitionCfg (Results 1 – 2 of 2) sorted by relevance
| /kernel/uniproton/src/include/uapi/ |
| D | prt_fs.h | 29 struct PartitionCfg { struct 31 S32 (*readFunc)(S32 partition, uintptr_t offset, void *buf, U32 size); 33 S32 (*writeFunc)(S32 partition, uintptr_t offset, const void *buf, U32 size); 35 S32 (*eraseFunc)(S32 partition, uintptr_t offset, U32 size); 37 S32 readSize; /* size of a block read */ 38 S32 writeSize; /* size of a block write */ 39 S32 blockSize; /* size of an erasable block */ 40 S32 blockCount; /* number of partition blocks */ 41 S32 cacheSize; /* size of block caches */ 43 S32 partNo; /* partition number */ [all …]
|
| /kernel/liteos_m/components/fs/vfs/ |
| D | los_fs.h | 65 struct PartitionCfg { struct 67 int (*readFunc)(int partition, UINT32 *offset, void *buf, UINT32 size); 69 int (*writeFunc)(int partition, UINT32 *offset, const void *buf, UINT32 size); 71 int (*eraseFunc)(int partition, UINT32 offset, UINT32 size); 73 int readSize; /* size of a block read */ 74 int writeSize; /* size of a block write */ 75 int blockSize; /* size of an erasable block */ 76 int blockCount; /* number of partition blocks */ 77 int cacheSize; /* size of block caches */ 79 int partNo; /* partition number */ [all …]
|