Home
last modified time | relevance | path

Searched refs:ADDR_SECT_MASK (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/fs/zms/
Dzms_priv.h21 #define ADDR_SECT_MASK GENMASK64(63, 32) macro
24 #define SECTOR_NUM(x) FIELD_GET(ADDR_SECT_MASK, x)
Dzms.c143 return (addr & ADDR_SECT_MASK) + fs->sector_size - fs->ate_size; in zms_empty_ate_addr()
149 return (addr & ADDR_SECT_MASK) + fs->sector_size - 2 * fs->ate_size; in zms_close_ate_addr()
342 addr &= ADDR_SECT_MASK; in zms_flash_erase_sector()
566 data_end_addr = *addr & ADDR_SECT_MASK; in zms_recover_last_ate()
577 data_end_addr &= ADDR_SECT_MASK; in zms_recover_last_ate()
623 (*addr) &= ADDR_SECT_MASK; in zms_compute_prev_addr()
704 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in zms_sector_close()
732 addr &= ADDR_SECT_MASK; in zms_add_empty_ate()
916 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in zms_gc()
939 gc_addr &= ADDR_SECT_MASK; in zms_gc()
[all …]
/Zephyr-latest/subsys/fs/nvs/
Dnvs.c336 addr &= ADDR_SECT_MASK; in nvs_flash_erase_sector()
496 data_end_addr = *addr & ADDR_SECT_MASK; in nvs_recover_last_ate()
504 data_end_addr &= ADDR_SECT_MASK; in nvs_recover_last_ate()
557 (*addr) &= ADDR_SECT_MASK; in nvs_prev_ate()
595 fs->ate_wra &= ADDR_SECT_MASK; in nvs_sector_close()
604 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in nvs_sector_close()
637 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in nvs_gc()
656 gc_addr &= ADDR_SECT_MASK; in nvs_gc()
709 data_addr = (gc_prev_addr & ADDR_SECT_MASK); in nvs_gc()
831 fs->data_wra = addr & ADDR_SECT_MASK; in nvs_startup()
[all …]
Dnvs_priv.h20 #define ADDR_SECT_MASK 0xFFFF0000 macro
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c693 uint64_t mask = compare_sector_only ? ADDR_SECT_MASK : UINT64_MAX; in num_matching_cache_entries()
/Zephyr-latest/tests/subsys/fs/nvs/src/
Dmain.c762 uint32_t mask = compare_sector_only ? ADDR_SECT_MASK : UINT32_MAX; in num_matching_cache_entries()