Home
last modified time | relevance | path

Searched refs:f_active (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/fcb/
Dfcb_rotate.c27 if (fcb->f_oldest == fcb->f_active.fe_sector) { in fcb_rotate()
37 fcb->f_active.fe_sector = sector; in fcb_rotate()
38 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_rotate()
Dfcb_append.c23 cur = fcb->f_active.fe_sector; in fcb_new_sector()
53 fcb->f_active.fe_sector = sector; in fcb_append_to_scratch()
54 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_append_to_scratch()
84 active = &fcb->f_active; in fcb_append()
96 fcb->f_active.fe_sector = sector; in fcb_append()
97 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_append()
Dfcb.c156 fcbp->f_active.fe_sector = newest_sector; in fcb_init()
157 fcbp->f_active.fe_elem_off = fcb_len_in_flash(fcbp, sizeof(struct fcb_disk_area)); in fcb_init()
161 rc = fcb_getnext_in_sector(fcbp, &fcbp->f_active); in fcb_init()
179 fa = fcbp->f_active.fe_sector; in fcb_free_sector_cnt()
191 return (fcbp->f_active.fe_sector == fcbp->f_oldest && in fcb_is_empty()
192 fcbp->f_active.fe_elem_off == fcb_len_in_flash(fcbp, sizeof(struct fcb_disk_area))); in fcb_is_empty()
Dfcb_getnext.c88 if (loc->fe_sector == fcb->f_active.fe_sector) { in fcb_getnext_nolock()
/Zephyr-Core-3.7.0/tests/subsys/settings/fcb/src/
Dsettings_test_compress_reset.c46 if (cf.cf_fcb.f_active.fe_sector == &fcb_sectors[2]) { in ZTEST()
61 fa = cf.cf_fcb.f_active.fe_sector; in ZTEST()
66 zassert_true(fa != cf.cf_fcb.f_active.fe_sector, in ZTEST()
87 zassert_true(fa == cf.cf_fcb.f_active.fe_sector, in ZTEST()
Dsettings_test_compress_deleted.c127 if (cf.cf_fcb.f_active.fe_sector == &fcb_small_sectors[1]) { in ZTEST()
/Zephyr-Core-3.7.0/tests/subsys/fs/fcb/src/
Dfcb_test_append_too_big.c41 , fcb->f_active.fe_sector->fs_size); in ZTEST()
62 len = MIN(FCB_MAX_LEN, fcb->f_active.fe_sector->fs_size - overhead); in ZTEST()
/Zephyr-Core-3.7.0/include/zephyr/fs/
Dfcb.h124 struct fcb_entry f_active; /**< internal state */ member
/Zephyr-Core-3.7.0/subsys/settings/src/
Dsettings_fcb.c78 cf->cf_fcb.f_active.fe_sector->fs_off, in settings_fcb_src()
79 cf->cf_fcb.f_active.fe_sector->fs_size); in settings_fcb_src()