Lines Matching full:fcb
17 #include <zephyr/fs/fcb.h>
19 uint8_t fcb_get_align(const struct fcb *fcbp) in fcb_get_align()
32 int fcb_flash_read(const struct fcb *fcbp, const struct flash_sector *sector, off_t off, in fcb_flash_read()
54 int fcb_flash_write(const struct fcb *fcbp, const struct flash_sector *sector, off_t off, in fcb_flash_write()
76 int fcb_erase_sector(const struct fcb *fcbp, const struct flash_sector *sector) in fcb_erase_sector()
92 int fcb_init(int f_area_id, struct fcb *fcbp) in fcb_init()
174 int fcb_free_sector_cnt(struct fcb *fcbp) in fcb_free_sector_cnt()
189 int fcb_is_empty(struct fcb *fcbp) in fcb_is_empty()
216 int fcb_put_len(const struct fcb *fcbp, uint8_t *buf, uint16_t len) in fcb_put_len()
230 int fcb_get_len(const struct fcb *fcbp, uint8_t *buf, uint16_t *len) in fcb_get_len()
255 int fcb_sector_hdr_init(struct fcb *fcbp, struct flash_sector *sector, uint16_t id) in fcb_sector_hdr_init()
273 * Checks whether FCB sector contains data or not.
278 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap) in fcb_sector_hdr_read()
300 * Finds the fcb entry that gives back upto n entries at the end.
301 * @param0 ptr to fcb
302 * @param1 n number of fcb entries the user wants to get
306 int fcb_offset_last_n(struct fcb *fcbp, uint8_t entries, struct fcb_entry *last_n_entry) in fcb_offset_last_n()
321 /* Start from the beginning of fcb entries */ in fcb_offset_last_n()
329 /* A fcb history must have been erased, in fcb_offset_last_n()
342 * Clear fcb
343 * @param fcb
346 int fcb_clear(struct fcb *fcbp) in fcb_clear()