|
PebbleOS v4.44.0-105-g1dd754433
|
Interface between the file system core and the file system formats. More...
Data Structures | |
| struct | pbl_fs_ops |
| Operations of a file system format. More... | |
| struct | pbl_fs_mount |
| A mounted file system. More... | |
Interface between the file system core and the file system formats.
A format implements struct pbl_fs_ops. The core resolves paths to a mount and hands the backend the path relative to the mount point, without the leading '/' ("" for the root of the mount). The core serializes nothing: backends are responsible for their own locking.
| struct pbl_fs_mount |
A mounted file system.
Owned by the caller of pbl_fs_mount() for as long as it stays mounted.
| Data Fields | ||
|---|---|---|
| void * | fs_data |
Optional. Data of the format, such as the storage to use. |
| const char * | mnt_point |
Mount point: "/", or an absolute path without a trailing '/', such as "/sdcard". |
| size_t | mnt_point_len | Set by the core. |
| ListNode | node | Set by the core. |
| const struct pbl_fs_ops * | ops | Format of the file system. |