Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 9 of 9) sorted by relevance

/mcuboot-latest/boot/cypress/cy_flash_pal/include/
Dcy_smif_psoc6.h56 #ifndef off_t
57 typedef long int off_t; typedef
60 int psoc6_smif_read(const struct flash_area *fap, off_t addr, void *data, size_t len);
61 int psoc6_smif_write(const struct flash_area *fap, off_t addr, const void *data, size_t len);
62 int psoc6_smif_erase(off_t addr, size_t size);
/mcuboot-latest/boot/cypress/cy_flash_pal/
Dcy_smif_psoc6.c75 off_t addr, in psoc6_smif_read()
96 off_t addr, in psoc6_smif_write()
116 int psoc6_smif_erase(off_t addr, size_t size) in psoc6_smif_erase()
/mcuboot-latest/boot/zephyr/include/flash_map_backend/
Dflash_map_backend.h63 int flash_area_sector_from_off(off_t off, struct flash_sector *sector);
106 int flash_area_get_sector(const struct flash_area *fa, off_t off,
/mcuboot-latest/boot/mynewt/flash_map_backend/include/flash_map_backend/
Dflash_map_backend.h53 int flash_area_sector_from_off(off_t off, struct flash_sector *sector);
55 static inline int flash_area_get_sector(const struct flash_area *fa, off_t off, in flash_area_get_sector()
/mcuboot-latest/boot/nuttx/src/flash_map_backend/
Dflash_map_backend.c404 off_t seekpos; in flash_area_read()
423 seekpos = lseek(dev->fd, (off_t)off, SEEK_SET); in flash_area_read()
424 if (seekpos != (off_t)off) in flash_area_read()
472 off_t seekpos; in flash_area_write()
491 seekpos = lseek(dev->fd, (off_t)off, SEEK_SET); in flash_area_write()
492 if (seekpos != (off_t)off) in flash_area_write()
830 int flash_area_get_sector(const struct flash_area *fap, off_t off, in flash_area_get_sector()
833 off_t offset = fap->fa_off + off; in flash_area_get_sector()
/mcuboot-latest/boot/zephyr/
Dflash_map_extended.c133 int flash_area_sector_from_off(off_t off, struct flash_sector *sector) in flash_area_sector_from_off()
175 int flash_area_get_sector(const struct flash_area *fap, off_t off, in flash_area_get_sector()
/mcuboot-latest/boot/mynewt/flash_map_backend/src/
Dflash_map_extended.c52 int flash_area_sector_from_off(off_t off, struct flash_sector *sector) in flash_area_sector_from_off()
/mcuboot-latest/boot/nuttx/include/flash_map_backend/
Dflash_map_backend.h125 int flash_area_get_sector(const struct flash_area *fap, off_t off,
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c837 static off_t erase_range(const struct flash_area *fap, off_t start, off_t end) in erase_range()
891 static off_t not_yet_erased = 0; /* Offset of next byte to erase; writes to flash in bs_upload()
1154 off_t start = flash_sector_get_off(&status_sector); in bs_upload()