Home
last modified time | relevance | path

Searched refs:fe_elem_off (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/fcb/
Dfcb_append.c54 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_append_to_scratch()
85 if (active->fe_elem_off + len + cnt > active->fe_sector->fs_size) { in fcb_append()
97 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_append()
101 rc = fcb_flash_write(fcb, active->fe_sector, active->fe_elem_off, tmp_str, cnt); in fcb_append()
107 append_loc->fe_elem_off = active->fe_elem_off; in fcb_append()
108 append_loc->fe_data_off = active->fe_elem_off + cnt; in fcb_append()
110 active->fe_elem_off = append_loc->fe_data_off + len; in fcb_append()
Dfcb_elem_info.c31 if (loc->fe_elem_off + 2 > loc->fe_sector->fs_size) { in fcb_elem_crc8()
35 rc = fcb_flash_read(_fcb, loc->fe_sector, loc->fe_elem_off, tmp_str, 2); in fcb_elem_crc8()
44 loc->fe_data_off = loc->fe_elem_off + fcb_len_in_flash(_fcb, cnt); in fcb_elem_crc8()
81 if (loc->fe_elem_off + 2 > loc->fe_sector->fs_size) { in fcb_elem_endmarker_fixed()
85 rc = fcb_flash_read(_fcb, loc->fe_sector, loc->fe_elem_off, tmp_str, 2); in fcb_elem_endmarker_fixed()
94 loc->fe_data_off = loc->fe_elem_off + fcb_len_in_flash(_fcb, cnt); in fcb_elem_endmarker_fixed()
Dfcb_getnext.c21 loc->fe_elem_off = loc->fe_data_off + in fcb_getnext_in_sector()
54 if (loc->fe_elem_off == 0U) { in fcb_getnext_nolock()
58 loc->fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_getnext_nolock()
92 loc->fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_getnext_nolock()
Dfcb_rotate.c38 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_rotate()
Dfcb_walk.c23 entry_ctx.loc.fe_elem_off = 0U; in fcb_walk()
Dfcb.c157 fcbp->f_active.fe_elem_off = fcb_len_in_flash(fcbp, sizeof(struct fcb_disk_area)); in fcb_init()
192 fcbp->f_active.fe_elem_off == fcb_len_in_flash(fcbp, sizeof(struct fcb_disk_area))); in fcb_is_empty()
/Zephyr-Core-3.7.0/include/zephyr/fs/
Dfcb.h55 uint32_t fe_elem_off; member
/Zephyr-Core-3.7.0/subsys/settings/src/
Dsettings_fcb.c153 {.fe_sector = NULL, .fe_elem_off = 0}, in settings_fcb_load_priv()
237 loc1.loc.fe_elem_off = 0U; in settings_fcb_compress()