Home
last modified time | relevance | path

Searched defs:PartitionCfg (Results 1 – 2 of 2) sorted by relevance

/kernel/uniproton/src/include/uapi/
Dprt_fs.h29 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/
Dlos_fs.h65 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 …]