|
| int | bm_zms_mount (struct bm_zms_fs *fs, const struct bm_zms_fs_config *config) |
| | Mount a BM_ZMS file system.
|
| |
| int | bm_zms_clear (struct bm_zms_fs *fs) |
| | Clear the BM_ZMS file system from device. The BM_ZMS file system must be re-mounted after this operation.
|
| |
| ssize_t | bm_zms_write (struct bm_zms_fs *fs, uint32_t id, const void *data, size_t len) |
| | Write an entry to the file system.
|
| |
| int | bm_zms_delete (struct bm_zms_fs *fs, uint32_t id) |
| | Delete an entry from the file system.
|
| |
| ssize_t | bm_zms_read (struct bm_zms_fs *fs, uint32_t id, void *data, size_t len) |
| | Read an entry from the file system.
|
| |
| ssize_t | bm_zms_read_hist (struct bm_zms_fs *fs, uint32_t id, void *data, size_t len, uint32_t cnt) |
| | Read a history entry from the file system.
|
| |
| ssize_t | bm_zms_get_data_length (struct bm_zms_fs *fs, uint32_t id) |
| | Gets the length of the data that is stored in an entry with a given id
|
| |
| ssize_t | bm_zms_calc_free_space (struct bm_zms_fs *fs) |
| | Calculate the available free space in the file system.
|
| |
| ssize_t | bm_zms_active_sector_free_space (struct bm_zms_fs *fs) |
| | Tells how much contiguous free space remains in the currently active BM_ZMS sector.
|
| |