/external/u-boot/fs/ubifs/ |
lprops.c | 26 * @lprops: LEB properties 29 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) 33 return lprops->free; 35 return lprops->free + lprops->dirty; 37 return lprops->dirty; 45 * @lprops: LEB properties to move 54 struct ubifs_lprops *lprops, int cat) 58 hpos = lprops->hpos; 61 val1 = get_heap_comp_val(lprops, cat) 534 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; local 761 struct ubifs_lprops *lprops; local 785 struct ubifs_lprops *lprops; local 808 struct ubifs_lprops *lprops; local 832 struct ubifs_lprops *lprops; local 858 struct ubifs_lprops *lprops; local 964 struct ubifs_lprops *lprops = heap->arr[i]; local 1058 struct ubifs_lprops *lprops; local [all...] |
Makefile | 11 obj-y += lpt_commit.o scan.o lprops.o
|
lpt.c | 356 pack_bits(&addr, &pos, pnode->lprops[i].free >> 3, 358 pack_bits(&addr, &pos, pnode->lprops[i].dirty >> 3, 360 if (pnode->lprops[i].flags & LPROPS_INDEX) 405 * ubifs_pack_ltab - pack the LPT's own lprops table. 408 * @ltab: LPT's own lprops table to pack 639 /* Initialize LPT's own lprops */ 658 pnode->lprops[0].free = c->leb_size - iopos; 659 pnode->lprops[0].dirty = iopos - node_sz; 660 pnode->lprops[0].flags = LPROPS_INDEX; 664 pnode->lprops[1].free = c->leb_size - iopos 971 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1283 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1364 struct ubifs_lprops *lprops; local 1888 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1980 struct ubifs_lprops *lprops = &pnode->lprops[iip]; local 2109 struct ubifs_lprops *lp, *lprops = &pnode->lprops[i]; local [all...] |
lpt_commit.c | 290 /* Make sure to place LPT's own lprops table */ 493 /* Make sure to place LPT's own lprops table */ 804 struct ubifs_lprops *lprops; local 819 list_for_each_entry(lprops, &c->empty_list, list) { 820 c->lsave[cnt++] = lprops->lnum; 824 list_for_each_entry(lprops, &c->freeable_list, list) { 825 c->lsave[cnt++] = lprops->lnum; 829 list_for_each_entry(lprops, &c->frdi_idx_list, list) { 830 c->lsave[cnt++] = lprops->lnum; 2010 struct ubifs_lprops *lprops; local [all...] |
sb.c | 231 /* Calculate lprops statistics */ 710 struct ubifs_lprops *lprops; local 759 lprops = ubifs_lpt_lookup(c, lnum); 760 if (IS_ERR(lprops)) { 761 err = PTR_ERR(lprops); 765 if (lprops->free > 0) { 766 err = fixup_leb(c, lnum, c->leb_size - lprops->free);
|
ubifs.h | 1070 * @list: list of same-category lprops (for LPROPS_EMPTY and LPROPS_FREEABLE) 1071 * @hpos: heap position in heap of same-category lprops (other categories) 1172 struct ubifs_lprops lprops[UBIFS_LPT_FANOUT]; member in struct:ubifs_pnode [all...] |
debug.c | 569 pr_err("(pid %d) Lprops statistics: empty_lebs %d, idx_lebs %d\n", 756 ubifs_err(c, "cannot read lprops for LEB %d", lnum); 903 struct ubifs_lprops *lprops = heap->arr[i]; local 906 i, lprops->lnum, lprops->hpos, lprops->free, 907 lprops->dirty, lprops->flags); 923 struct ubifs_lprops *lp = &pnode->lprops[i]; 992 * only when we read their lprops, and we do this only lazily, upon th [all...] |