Lines Matching refs:nvs_al_size
89 static inline size_t nvs_al_size(struct nvs_fs *fs, size_t len) in nvs_al_size() function
172 fs->ate_wra -= nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_flash_ate_wrt()
216 fs->data_wra += nvs_al_size(fs, len); in nvs_flash_data_wrt()
410 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_ate_valid()
436 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_close_ate_valid()
492 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_recover_last_ate()
523 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_prev_ate()
588 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_sector_close()
635 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_gc()
763 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_startup()
855 fs->data_wra += nvs_al_size(fs, last_ate.offset + last_ate.len); in nvs_startup()
1078 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_write()
1079 data_size = nvs_al_size(fs, len); in nvs_write()
1218 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_read_hist()
1316 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_calc_free_space()
1355 free_space -= nvs_al_size(fs, step_ate.len); in nvs_calc_free_space()
1376 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_sector_max_data_size()