Searched refs:lprops (Results 1 - 7 of 7) sorted by relevance
/u-boot/fs/ubifs/ |
H A D | lprops.c | 28 * @lprops: LEB properties 31 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) argument 35 return lprops->free; 37 return lprops->free + lprops->dirty; 39 return lprops->dirty; 47 * @lprops: LEB properties to move 56 struct ubifs_lprops *lprops, int cat) 60 hpos = lprops->hpos; 63 val1 = get_heap_comp_val(lprops, ca 55 move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, struct ubifs_lprops *lprops, int cat) argument 92 adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, struct ubifs_lprops *lprops, int hpos, int cat) argument 171 add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, int cat) argument 219 remove_from_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, int cat) argument 268 ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, int cat) argument 311 ubifs_remove_from_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, int cat) argument 380 ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) argument 403 ubifs_categorize_lprops(const struct ubifs_info *c, const struct ubifs_lprops *lprops) argument 443 change_category(struct ubifs_info *c, struct ubifs_lprops *lprops) argument 497 is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops) argument 536 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; local 763 struct ubifs_lprops *lprops; local 787 struct ubifs_lprops *lprops; local 810 struct ubifs_lprops *lprops; local 834 struct ubifs_lprops *lprops; local 860 struct ubifs_lprops *lprops; local 966 struct ubifs_lprops *lprops = heap->arr[i]; local 1060 struct ubifs_lprops *lprops; local [all...] |
H A D | Makefile | 11 obj-y += lpt_commit.o scan.o lprops.o
|
H A D | lpt.c | 358 pack_bits(&addr, &pos, pnode->lprops[i].free >> 3, 360 pack_bits(&addr, &pos, pnode->lprops[i].dirty >> 3, 362 if (pnode->lprops[i].flags & LPROPS_INDEX) 407 * ubifs_pack_ltab - pack the LPT's own lprops table. 410 * @ltab: LPT's own lprops table to pack 641 /* Initialize LPT's own lprops */ 660 pnode->lprops[0].free = c->leb_size - iopos; 661 pnode->lprops[0].dirty = iopos - node_sz; 662 pnode->lprops[0].flags = LPROPS_INDEX; 666 pnode->lprops[ 973 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1285 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1366 struct ubifs_lprops *lprops; local 1890 struct ubifs_lprops * const lprops = &pnode->lprops[i]; local 1982 struct ubifs_lprops *lprops = &pnode->lprops[iip]; local 2111 struct ubifs_lprops *lp, *lprops = &pnode->lprops[i]; local [all...] |
H A D | lpt_commit.c | 294 /* Make sure to place LPT's own lprops table */ 497 /* Make sure to place LPT's own lprops table */ 808 struct ubifs_lprops *lprops; local 823 list_for_each_entry(lprops, &c->empty_list, list) { 824 c->lsave[cnt++] = lprops->lnum; 828 list_for_each_entry(lprops, &c->freeable_list, list) { 829 c->lsave[cnt++] = lprops->lnum; 833 list_for_each_entry(lprops, &c->frdi_idx_list, list) { 834 c->lsave[cnt++] = lprops->lnum; 1285 /* Copy the LPT's own lprops fo 2014 struct ubifs_lprops *lprops; local [all...] |
H A D | sb.c | 233 /* Calculate lprops statistics */ 712 struct ubifs_lprops *lprops; local 761 lprops = ubifs_lpt_lookup(c, lnum); 762 if (IS_ERR(lprops)) { 763 err = PTR_ERR(lprops); 767 if (lprops->free > 0) { 768 err = fixup_leb(c, lnum, c->leb_size - lprops->free);
|
H A D | 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) 1163 * @lprops: LEB properties array 1172 struct ubifs_lprops lprops[UBIFS_LPT_FANOUT]; member in struct:ubifs_pnode 1214 * struct ubifs_lpt_heap - heap of categorized lprops. 1244 const struct ubifs_lprops *lprops, 1666 * @lpt_lebs: number of LEBs used for lprops table 1667 * @lpt_first: first LEB of the lprops table area 1668 * @lpt_last: last LEB of the lprops table area 1705 * @lst: lprops statistic [all...] |
H A D | debug.c | 769 ubifs_err(c, "cannot read lprops for LEB %d", lnum); 925 struct ubifs_lprops *lprops = heap->arr[i]; local 928 i, lprops->lnum, lprops->hpos, lprops->free, 929 lprops->dirty, lprops->flags); 947 struct ubifs_lprops *lp = &pnode->lprops[i]; 1023 * only when we read their lprops, and we do this only lazily, upon the 1082 ubifs_msg(c, "saved lprops statistic [all...] |
Completed in 164 milliseconds