Lines Matching defs:state
52 #define BOOT_COPY_REGION(state, fap_pri, fap_sec, pri_off, sec_off, sz, sector_off) \ argument
55 #define BOOT_COPY_REGION(state, fap_pri, fap_sec, pri_off, sec_off, sz, sector_off) \ argument
59 uint32_t find_last_idx(struct boot_loader_state *state, uint32_t swap_size) in find_last_idx()
80 int boot_read_image_header(struct boot_loader_state *state, int slot,
231 int swap_read_status_bytes(const struct flash_area *fap, struct boot_loader_state *state,
313 static int app_max_sectors(struct boot_loader_state *state)
337 int boot_slots_compatible(struct boot_loader_state *state)
408 #define BOOT_LOG_SWAP_STATE(area, state) \ argument
419 int swap_status_source(struct boot_loader_state *state)
455 static void boot_swap_sectors(int idx, uint32_t sz, struct boot_loader_state *state,
513 static void boot_swap_sectors_revert(int idx, uint32_t sz, struct boot_loader_state *state,
584 void fixup_revert(const struct boot_loader_state *state, struct boot_status *bs,
617 void swap_run(struct boot_loader_state *state, struct boot_status *bs,
739 int app_max_size(struct boot_loader_state *state)
758 int boot_read_image_size(struct boot_loader_state *state, int slot, uint32_t *size)