Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 12 of 12) sorted by relevance

/rk3399_rockchip-uboot/fs/ubifs/
H A Dmaster.c182 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
187 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
192 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master()
193 c->lst.total_free & 7) { in validate_master()
198 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master()
203 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
208 if (c->lst.total_free + c->lst.total_dirty + in validate_master()
209 c->lst.total_used > main_sz) { in validate_master()
214 if (c->lst.total_dead + c->lst.total_dark + in validate_master()
215 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
[all …]
H A Dlprops.c541 ubifs_assert(c->lst.empty_lebs >= 0 && in ubifs_change_lp()
542 c->lst.empty_lebs <= c->main_lebs); in ubifs_change_lp()
545 ubifs_assert(c->lst.taken_empty_lebs >= 0); in ubifs_change_lp()
546 ubifs_assert(c->lst.taken_empty_lebs <= c->lst.empty_lebs); in ubifs_change_lp()
547 ubifs_assert(!(c->lst.total_free & 7) && !(c->lst.total_dirty & 7)); in ubifs_change_lp()
548 ubifs_assert(!(c->lst.total_dead & 7) && !(c->lst.total_dark & 7)); in ubifs_change_lp()
549 ubifs_assert(!(c->lst.total_used & 7)); in ubifs_change_lp()
564 c->lst.taken_empty_lebs -= 1; in ubifs_change_lp()
571 c->lst.total_dead -= old_spc; in ubifs_change_lp()
573 c->lst.total_dark -= ubifs_calc_dark(c, old_spc); in ubifs_change_lp()
[all …]
H A Dbudget.c210 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
235 available -= c->lst.total_dead; in ubifs_calc_available()
243 available -= c->lst.total_dark; in ubifs_calc_available()
251 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
252 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
311 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
312 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
338 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()
339 c->lst.taken_empty_lebs; in do_budget_space()
696 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
[all …]
H A Dmisc.h279 ubifs_assert(c->lst.empty_lebs >= 0 && in ubifs_release_lprops()
280 c->lst.empty_lebs <= c->main_lebs); in ubifs_release_lprops()
H A Ddebug.c567 void ubifs_dump_lstats(const struct ubifs_lp_stats *lst) in ubifs_dump_lstats() argument
571 current->pid, lst->empty_lebs, lst->idx_lebs); in ubifs_dump_lstats()
573 lst->taken_empty_lebs, lst->total_free, lst->total_dirty); in ubifs_dump_lstats()
575 lst->total_used, lst->total_dark, lst->total_dead); in ubifs_dump_lstats()
748 struct ubifs_lp_stats lst; in ubifs_dump_lprops() local
751 ubifs_get_lp_stats(c, &lst); in ubifs_dump_lprops()
752 ubifs_dump_lstats(&lst); in ubifs_dump_lprops()
985 memcpy(&d->saved_lst, &c->lst, sizeof(struct ubifs_lp_stats)); in dbg_save_space_info()
1032 struct ubifs_lp_stats lst; in dbg_check_space_info() local
1058 ubifs_get_lp_stats(c, &lst); in dbg_check_space_info()
[all …]
H A Ddebug.h301 void ubifs_dump_lstats(const struct ubifs_lp_stats *lst);
H A Dsuper.c1317 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()
1597 ubifs_assert(c->lst.taken_empty_lebs > 0); in mount_ubifs()
1600 ubifs_assert(c->lst.taken_empty_lebs > 0); in mount_ubifs()
1641 dbg_gen("index LEBs: %d", c->lst.idx_lebs); in mount_ubifs()
2104 ubifs_assert(c->lst.taken_empty_lebs > 0); in ubifs_remount_fs()
H A Dubifs.h1943 struct ubifs_lp_stats lst; member
2330 void ubifs_get_lp_stats(struct ubifs_info *c, struct ubifs_lp_stats *lst);
/rk3399_rockchip-uboot/scripts/
H A DMakefile.build150 $(real-objs-m:.o=.lst): part-of-module := y
155 $(real-objs-m:.o=.lst): quiet_modtag := [M]
165 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
169 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
295 $(obj)/%.lst: $(src)/%.c FORCE
/rk3399_rockchip-uboot/
H A D.gitignore16 *.lst
H A DMakefile1700 %.lst: %.c prepare scripts FORCE
/rk3399_rockchip-uboot/tools/buildman/
H A Dkconfiglib.py3282 def _intersperse(lst, op): argument
3286 if not lst:
3303 handle_sub_expr(lst[0])
3304 for expr in lst[1:]: