|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

宏定义 | |
| #define | BCACHE_PROC_ROOT "fs" |
| #define | BCACHE_PROC_NAME "bcache_info" |
| #define | BCACHE_STATS_START(start) UINT64 (start) = LOS_CurrNanosec() |
| #define | BCACHE_STATS_READ_END(bc, sectors, start) UpdateReadStats(bc, sectors, start) |
| #define | BCACHE_STATS_WRITE_END(bc, sectors, start) UpdateWriteStats(bc, sectors, start) |
函数 | |
| STATIC INLINE UINT32 | BcacheProcInit (const struct inode *devNode, OsBcache *bcache) |
| STATIC INLINE VOID | BcacheProcDeinit (const OsBcache *bcache) |
| STATIC INLINE VOID | UpdateReadStats (const OsBcache *bc, UINT64 sectorCount, UINT64 startTime) |
| STATIC INLINE VOID | UpdateWriteStats (const OsBcache *bc, UINT64 sectorCount, UINT64 startTime) |
| #define BCACHE_PROC_NAME "bcache_info" |
| #define BCACHE_PROC_ROOT "fs" |
| #define BCACHE_STATS_READ_END | ( | bc, | |
| sectors, | |||
| start | |||
| ) | UpdateReadStats(bc, sectors, start) |
| #define BCACHE_STATS_START | ( | start | ) | UINT64 (start) = LOS_CurrNanosec() |
| #define BCACHE_STATS_WRITE_END | ( | bc, | |
| sectors, | |||
| start | |||
| ) | UpdateWriteStats(bc, sectors, start) |