Home
last modified time | relevance | path

Searched refs:fcb_len_in_flash (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/fs/fcb/src/
Dfcb_test_append_too_big.c38 + fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)) in ZTEST()
39 + fcb_len_in_flash(fcb, FCB_CRC_SZ) in ZTEST()
40 + fcb_len_in_flash(fcb, max_length_field_len) in ZTEST()
53 len -= fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in ZTEST()
58 overhead = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)) in ZTEST()
59 + fcb_len_in_flash(fcb, max_length_field_len) in ZTEST()
60 + fcb_len_in_flash(fcb, FCB_CRC_SZ); in ZTEST()
/Zephyr-Core-3.5.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()
75 cnt = fcb_len_in_flash(fcb, cnt); in fcb_append()
76 len = fcb_len_in_flash(fcb, len) + fcb_len_in_flash(fcb, FCB_CRC_SZ); in fcb_append()
88 fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)) + len + cnt)) { in fcb_append()
97 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_append()
133 off = loc->fe_data_off + fcb_len_in_flash(fcb, loc->fe_data_len); in fcb_append_finish()
Dfcb_getnext.c22 fcb_len_in_flash(fcb, loc->fe_data_len) + in fcb_getnext_in_sector()
23 fcb_len_in_flash(fcb, FCB_CRC_SZ); in fcb_getnext_in_sector()
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_elem_info.c44 loc->fe_data_off = loc->fe_elem_off + fcb_len_in_flash(_fcb, cnt); in fcb_elem_crc8()
94 loc->fe_data_off = loc->fe_elem_off + fcb_len_in_flash(_fcb, cnt); in fcb_elem_endmarker_fixed()
131 off = loc->fe_data_off + fcb_len_in_flash(_fcb, loc->fe_data_len); in fcb_elem_info()
Dfcb_rotate.c38 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_rotate()
Dfcb_priv.h55 static inline int fcb_len_in_flash(struct fcb *fcb, uint16_t len) in fcb_len_in_flash() function
Dfcb.c160 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_init()
197 fcb->f_active.fe_elem_off == fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area))); in fcb_is_empty()