PebbleOS v4.47.0-512-g5285d4236
Loading...
Searching...
No Matches
pfs.h File Reference
#include <stddef.h>
#include <pbl/fs/fs.h>

Macros

#define PBL_FS_O_PFS_SKIP_HDR_CRC_CHECK   PBL_FS_O_FORMAT(0)
 Skip checking the on-flash header CRCs, for files opened thousands of times.
 
#define PBL_FS_O_PFS_USE_PAGE_CACHE   PBL_FS_O_FORMAT(1)
 Cache the translation from file pages to flash pages.
 

Functions

int pbl_fs_pfs_optimal_size (const char *path, size_t min_size)
 Get the optimal size of a file that can use space beyond a minimum.
 

Variables

const struct pbl_fs_ops pbl_fs_pfs_ops
 PFS format, for struct pbl_fs_mount::ops.