Searched refs:fcb_len_in_flash (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/tests/subsys/fs/fcb/src/ |
D | fcb_test_append_too_big.c | 38 + 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/ |
D | fcb_append.c | 54 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()
|
D | fcb_getnext.c | 22 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()
|
D | fcb_elem_info.c | 44 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()
|
D | fcb_rotate.c | 38 fcb->f_active.fe_elem_off = fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)); in fcb_rotate()
|
D | fcb_priv.h | 55 static inline int fcb_len_in_flash(struct fcb *fcb, uint16_t len) in fcb_len_in_flash() function
|
D | fcb.c | 160 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()
|