/openbmc/linux/fs/ubifs/ |
H A D | find.c | 54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable() 96 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb() 102 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb() 137 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 153 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 377 if (lprops->free + lprops->dirty == c->leb_size && lprops->dirty > 0) in scan_for_free_cb() 406 if (lprops && lprops->free >= min_space) in do_find_free_space() 416 if (lprops && lprops->free >= min_space) in do_find_free_space() 606 if (lprops->free + lprops->dirty != c->leb_size) in scan_for_idx_cb() 699 lnum, lprops->free, lprops->dirty, lprops->flags); in ubifs_find_free_leb_for_idx() [all …]
|
H A D | lprops.c | 32 return lprops->free + lprops->dirty; in get_heap_comp_val() 201 heap->arr[lprops->hpos] = lprops; in add_to_lpt_heap() 419 lprops->dirty > lprops->free) in ubifs_categorize_lprops() 563 old_spc = lprops->free + lprops->dirty; in ubifs_change_lp() 863 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 869 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 879 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 885 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 909 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 915 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() [all …]
|
H A D | lpt.c | 986 struct ubifs_lprops * const lprops = &pnode->lprops[i]; in unpack_pnode() local 997 lprops->flags |= ubifs_categorize_lprops(c, lprops); in unpack_pnode() 1296 struct ubifs_lprops * const lprops = &pnode->lprops[i]; in read_pnode() local 1299 lprops->flags = ubifs_categorize_lprops(c, lprops); in read_pnode() 2043 lprops->flags = ubifs_categorize_lprops(c, lprops); in scan_get_pnode() 2132 struct ubifs_lprops *lprops = &pnode->lprops[iip]; in ubifs_lpt_scan_nolock() local 2261 struct ubifs_lprops *lp, *lprops = &pnode->lprops[i]; in dbg_chk_pnode() local 2329 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode() 2352 lprops->lnum, cat, lprops->free, in dbg_chk_pnode() 2359 if (lprops->free + lprops->dirty != c->leb_size) { in dbg_chk_pnode() [all …]
|
H A D | lpt_commit.c | 763 struct ubifs_lprops *lprops; in populate_lsave() local 776 list_for_each_entry(lprops, &c->empty_list, list) { in populate_lsave() 777 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 781 list_for_each_entry(lprops, &c->freeable_list, list) { in populate_lsave() 782 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 786 list_for_each_entry(lprops, &c->frdi_idx_list, list) { in populate_lsave() 787 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 1967 struct ubifs_lprops *lprops; in dbg_populate_lsave() local 1979 list_for_each_entry(lprops, &c->empty_list, list) in dbg_populate_lsave() 1981 list_for_each_entry(lprops, &c->freeable_list, list) in dbg_populate_lsave() [all …]
|
H A D | Makefile | 6 ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o
|
H A D | sb.c | 826 struct ubifs_lprops *lprops; in fixup_free_space() local 875 lprops = ubifs_lpt_lookup(c, lnum); in fixup_free_space() 876 if (IS_ERR(lprops)) { in fixup_free_space() 877 err = PTR_ERR(lprops); in fixup_free_space() 881 if (lprops->free > 0) { in fixup_free_space() 882 err = fixup_leb(c, lnum, c->leb_size - lprops->free); in fixup_free_space()
|
H A D | ubifs.h | 586 struct ubifs_lprops lprops[UBIFS_LPT_FANOUT]; member 658 const struct ubifs_lprops *lprops, 2008 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, 2012 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops); 2014 const struct ubifs_lprops *lprops);
|
H A D | debug.c | 915 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap() local 918 i, lprops->lnum, lprops->hpos, lprops->free, in ubifs_dump_heap() 919 lprops->dirty, lprops->flags); in ubifs_dump_heap() 935 struct ubifs_lprops *lp = &pnode->lprops[i]; in ubifs_dump_pnode()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | lprops.c | 35 return lprops->free + lprops->dirty; in get_heap_comp_val() 204 heap->arr[lprops->hpos] = lprops; in add_to_lpt_heap() 424 lprops->dirty > lprops->free) in ubifs_categorize_lprops() 568 old_spc = lprops->free + lprops->dirty; in ubifs_change_lp() 868 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 874 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 884 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 890 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 914 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() 920 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats() [all …]
|
H A D | lpt.c | 971 struct ubifs_lprops * const lprops = &pnode->lprops[i]; in unpack_pnode() local 982 lprops->flags |= ubifs_categorize_lprops(c, lprops); in unpack_pnode() 1283 struct ubifs_lprops * const lprops = &pnode->lprops[i]; in read_pnode() local 1286 lprops->flags = ubifs_categorize_lprops(c, lprops); in read_pnode() 1891 lprops->flags = ubifs_categorize_lprops(c, lprops); in scan_get_pnode() 1980 struct ubifs_lprops *lprops = &pnode->lprops[iip]; in ubifs_lpt_scan_nolock() local 2109 struct ubifs_lprops *lp, *lprops = &pnode->lprops[i]; in dbg_chk_pnode() local 2177 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode() 2200 lprops->lnum, cat, lprops->free, in dbg_chk_pnode() 2207 if (lprops->free + lprops->dirty != c->leb_size) { in dbg_chk_pnode() [all …]
|
H A D | lpt_commit.c | 804 struct ubifs_lprops *lprops; in populate_lsave() local 819 list_for_each_entry(lprops, &c->empty_list, list) { in populate_lsave() 820 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 824 list_for_each_entry(lprops, &c->freeable_list, list) { in populate_lsave() 825 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 829 list_for_each_entry(lprops, &c->frdi_idx_list, list) { in populate_lsave() 830 c->lsave[cnt++] = lprops->lnum; in populate_lsave() 2010 struct ubifs_lprops *lprops; in dbg_populate_lsave() local 2022 list_for_each_entry(lprops, &c->empty_list, list) in dbg_populate_lsave() 2024 list_for_each_entry(lprops, &c->freeable_list, list) in dbg_populate_lsave() [all …]
|
H A D | Makefile | 11 obj-y += lpt_commit.o scan.o lprops.o
|
H A D | sb.c | 710 struct ubifs_lprops *lprops; in fixup_free_space() local 759 lprops = ubifs_lpt_lookup(c, lnum); in fixup_free_space() 760 if (IS_ERR(lprops)) { in fixup_free_space() 761 err = PTR_ERR(lprops); in fixup_free_space() 765 if (lprops->free > 0) { in fixup_free_space() 766 err = fixup_leb(c, lnum, c->leb_size - lprops->free); in fixup_free_space()
|
H A D | ubifs.h | 1172 struct ubifs_lprops lprops[UBIFS_LPT_FANOUT]; member 1244 const struct ubifs_lprops *lprops, 2330 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, 2334 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops); 2336 const struct ubifs_lprops *lprops);
|
H A D | debug.c | 903 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap() local 906 i, lprops->lnum, lprops->hpos, lprops->free, in ubifs_dump_heap() 907 lprops->dirty, lprops->flags); in ubifs_dump_heap() 923 struct ubifs_lprops *lp = &pnode->lprops[i]; in ubifs_dump_pnode()
|