Searched refs:fe_sector (Results 1 – 17 of 17) sorted by relevance
/Zephyr-Core-3.7.0/tests/subsys/fs/fcb/src/ |
D | fcb_test_last_of_n.c | 49 zassert_true(areas[4].fe_sector == loc.fe_sector && in ZTEST() 57 zassert_true(areas[2].fe_sector == loc.fe_sector && in ZTEST() 65 zassert_true(areas[0].fe_sector == loc.fe_sector && in ZTEST() 73 zassert_true(areas[0].fe_sector == loc.fe_sector && in ZTEST()
|
D | fcb_test_append_too_big.c | 41 , 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()
|
D | fcb_test_append_fill.c | 38 if (loc.fe_sector == &test_fcb_sector[0]) { in ZTEST() 40 } else if (loc.fe_sector == &test_fcb_sector[1]) { in ZTEST()
|
D | fcb_test_multiple_scratch.c | 36 idx = loc.fe_sector - &test_fcb_sector[0]; in ZTEST() 64 idx = loc.fe_sector - &test_fcb_sector[0]; in ZTEST()
|
D | fcb_test_rotate.c | 39 if (loc.fe_sector == &test_fcb_sector[0]) { in ZTEST() 41 } else if (loc.fe_sector == &test_fcb_sector[1]) { in ZTEST()
|
D | main.c | 108 idx = entry_ctx->loc.fe_sector - &test_fcb_sector[0]; in fcb_test_cnt_elems_cb()
|
/Zephyr-Core-3.7.0/subsys/fs/fcb/ |
D | fcb_getnext.c | 48 if (loc->fe_sector == NULL) { in fcb_getnext_nolock() 52 loc->fe_sector = fcb->f_oldest; in fcb_getnext_nolock() 88 if (loc->fe_sector == fcb->f_active.fe_sector) { in fcb_getnext_nolock() 91 loc->fe_sector = fcb_getnext_sector(fcb, loc->fe_sector); in fcb_getnext_nolock()
|
D | fcb_append.c | 23 cur = fcb->f_active.fe_sector; in fcb_new_sector() 53 fcb->f_active.fe_sector = sector; in fcb_append_to_scratch() 85 if (active->fe_elem_off + len + cnt > active->fe_sector->fs_size) { in fcb_append() 96 fcb->f_active.fe_sector = sector; in fcb_append() 101 rc = fcb_flash_write(fcb, active->fe_sector, active->fe_elem_off, tmp_str, cnt); in fcb_append() 106 append_loc->fe_sector = active->fe_sector; in fcb_append() 135 rc = fcb_flash_write(fcb, loc->fe_sector, off, em, fcb->f_align); in fcb_append_finish()
|
D | fcb_elem_info.c | 31 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() 58 rc = fcb_flash_read(_fcb, loc->fe_sector, off, tmp_str, blk_sz); 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() 133 rc = fcb_flash_read(_fcb, loc->fe_sector, off, &fl_em, sizeof(fl_em)); in fcb_elem_info()
|
D | fcb_rotate.c | 27 if (fcb->f_oldest == fcb->f_active.fe_sector) { in fcb_rotate() 37 fcb->f_active.fe_sector = sector; in fcb_rotate()
|
D | fcb_walk.c | 22 entry_ctx.loc.fe_sector = sector; in fcb_walk() 32 if (sector && entry_ctx.loc.fe_sector != sector) { in fcb_walk()
|
D | fcb.c | 156 fcbp->f_active.fe_sector = newest_sector; 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()
|
/Zephyr-Core-3.7.0/tests/subsys/settings/fcb/src/ |
D | settings_test_compress_reset.c | 46 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()
|
D | settings_test_compress_deleted.c | 127 if (cf.cf_fcb.f_active.fe_sector == &fcb_small_sectors[1]) { in ZTEST()
|
/Zephyr-Core-3.7.0/include/zephyr/fs/ |
D | fcb.h | 52 struct flash_sector *fe_sector; member 70 #define FCB_ENTRY_FA_DATA_OFF(entry) (entry.fe_sector->fs_off +\
|
/Zephyr-Core-3.7.0/tests/subsys/settings/functional/fcb/ |
D | settings_test_fcb.c | 22 loc.fe_sector = NULL; in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/settings/src/ |
D | settings_fcb.c | 78 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() 153 {.fe_sector = NULL, .fe_elem_off = 0}, in settings_fcb_load_priv() 236 loc1.loc.fe_sector = NULL; in settings_fcb_compress() 240 if (loc1.loc.fe_sector != cf->cf_fcb.f_oldest) { in settings_fcb_compress()
|