Home
last modified time | relevance | path

Searched refs:flash_sector (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/fs/
Dfcb.h52 struct flash_sector *fe_sector;
112 struct flash_sector *f_sectors;
119 struct flash_sector *f_oldest;
226 int fcb_walk(struct fcb *fcbp, struct flash_sector *sector, fcb_walk_cb cb, void *cb_arg);
328 int fcb_flash_read(const struct fcb *fcbp, const struct flash_sector *sector, off_t off,
342 int fcb_flash_write(const struct fcb *fcbp, const struct flash_sector *sector, off_t off,
/Zephyr-latest/subsys/fs/fcb/
Dfcb_priv.h69 int fcb_erase_sector(const struct fcb *fcbp, const struct flash_sector *sector);
72 struct flash_sector *fcb_getnext_sector(struct fcb *fcbp, struct flash_sector *sector);
78 int fcb_sector_hdr_init(struct fcb *fcbp, struct flash_sector *sector, uint16_t id);
79 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap);
Dfcb_append.c14 static struct flash_sector *
17 struct flash_sector *prev; in fcb_new_sector()
18 struct flash_sector *cur; in fcb_new_sector()
42 struct flash_sector *sector; in fcb_append_to_scratch()
62 struct flash_sector *sector; in fcb_append()
Dfcb.c32 int fcb_flash_read(const struct fcb *fcbp, const struct flash_sector *sector, off_t off, in fcb_flash_read()
54 int fcb_flash_write(const struct fcb *fcbp, const struct flash_sector *sector, off_t off, in fcb_flash_write()
76 int fcb_erase_sector(const struct fcb *fcbp, const struct flash_sector *sector) in fcb_erase_sector()
94 struct flash_sector *sector; in fcb_init()
99 struct flash_sector *oldest_sector = NULL, *newest_sector = NULL; in fcb_init()
177 struct flash_sector *fa; in fcb_free_sector_cnt()
255 int fcb_sector_hdr_init(struct fcb *fcbp, struct flash_sector *sector, uint16_t id) in fcb_sector_hdr_init()
278 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap) in fcb_sector_hdr_read()
Dfcb_getnext.c33 struct flash_sector *
34 fcb_getnext_sector(struct fcb *fcb, struct flash_sector *sector) in fcb_getnext_sector()
Dfcb_rotate.c14 struct flash_sector *sector; in fcb_rotate()
Dfcb_walk.c16 fcb_walk(struct fcb *fcb, struct flash_sector *sector, fcb_walk_cb cb, in fcb_walk()
/Zephyr-latest/tests/subsys/settings/fcb/src/
Dsettings_test.h38 extern struct flash_sector fcb_sectors[SETTINGS_TEST_FCB_FLASH_CNT];
49 void config_wipe_fcb(struct flash_sector *fs, int cnt);
Dsettings_test_compress_reset.c15 struct flash_sector *fa; in ZTEST()
Dsettings_test_compress_deleted.c12 struct flash_sector fcb_small_sectors[2] = {
Dsettings_test_fcb.c168 struct flash_sector fcb_sectors[SETTINGS_TEST_FCB_FLASH_CNT] = {
187 void config_wipe_fcb(struct flash_sector *fs, int cnt) in config_wipe_fcb()
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_layout.c65 struct flash_sector *ret = data->ret; in get_sectors_cb()
79 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret) in flash_area_get_sectors()
94 int flash_area_sectors(const struct flash_area *fa, uint32_t *cnt, struct flash_sector *ret) in flash_area_sectors()
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h76 struct flash_sector { struct
254 struct flash_sector *sectors);
268 int flash_area_sectors(const struct flash_area *fa, uint32_t *count, struct flash_sector *sectors);
/Zephyr-latest/tests/subsys/fs/fcb/src/
Dfcb_test.h31 extern struct flash_sector test_fcb_sector[];
Dmain.c33 struct flash_sector test_fcb_sector[] = {
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c21 struct flash_sector fs_sectors[1024];
/Zephyr-latest/subsys/settings/src/
Dsettings_fcb.c401 static struct flash_sector in settings_backend_init()
Dsettings_nvs.c392 struct flash_sector hw_flash_sector; in settings_backend_init()