Home
last modified time | relevance | path

Searched refs:bud (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dlog.c36 struct ubifs_bud *bud; in ubifs_search_bud() local
41 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_search_bud()
42 if (lnum < bud->lnum) in ubifs_search_bud()
44 else if (lnum > bud->lnum) in ubifs_search_bud()
48 return bud; in ubifs_search_bud()
65 struct ubifs_bud *bud; in ubifs_get_wbuf() local
74 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_get_wbuf()
75 if (lnum < bud->lnum) in ubifs_get_wbuf()
77 else if (lnum > bud->lnum) in ubifs_get_wbuf()
80 jhead = bud->jhead; in ubifs_get_wbuf()
[all …]
H A Dreplay.c75 struct ubifs_bud *bud; member
97 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum); in set_bud_lprops()
104 if (b->bud->start == 0 && (lp->free != c->leb_size || lp->dirty != 0)) { in set_bud_lprops()
124 dbg_mnt("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
126 dbg_gc("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
138 b->bud->lnum, lp->free, lp->dirty, b->free, in set_bud_lprops()
149 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
150 b->bud->lnum, c->leb_size - b->free); in set_bud_lprops()
477 static int is_last_bud(struct ubifs_info *c, struct ubifs_bud *bud) in is_last_bud() argument
479 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud()
[all …]
H A Ddebug.c583 struct ubifs_bud *bud; in ubifs_dump_budg() local
625 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_budg()
626 pr_err("\tbud LEB %d\n", bud->lnum); in ubifs_dump_budg()
628 list_for_each_entry(bud, &c->old_buds, list) in ubifs_dump_budg()
629 pr_err("\told bud LEB %d\n", bud->lnum); in ubifs_dump_budg()
656 struct ubifs_bud *bud; in ubifs_dump_lprop() local
718 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_lprop()
719 if (bud->lnum == lp->lnum) { in ubifs_dump_lprop()
735 dbg_jhead(bud->jhead)); in ubifs_dump_lprop()
H A Dsuper.c1059 struct ubifs_bud *bud, *n; in free_buds() local
1061 rbtree_postorder_for_each_entry_safe(bud, n, &c->buds, rb) in free_buds()
1062 kfree(bud); in free_buds()
1265 struct ubifs_bud *bud; in destroy_journal() local
1267 bud = list_entry(c->old_buds.next, struct ubifs_bud, list); in destroy_journal()
1268 list_del(&bud->list); in destroy_journal()
1269 kfree(bud); in destroy_journal()
H A Dubifs.h2129 void ubifs_add_bud(struct ubifs_info *c, struct ubifs_bud *bud);