Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/fs/ubifs/
H A Dlog.c37 struct ubifs_bud *bud; in ubifs_search_bud() local
42 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_search_bud()
43 if (lnum < bud->lnum) in ubifs_search_bud()
45 else if (lnum > bud->lnum) in ubifs_search_bud()
49 return bud; in ubifs_search_bud()
66 struct ubifs_bud *bud; in ubifs_get_wbuf() local
75 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_get_wbuf()
76 if (lnum < bud->lnum) in ubifs_get_wbuf()
78 else if (lnum > bud->lnum) in ubifs_get_wbuf()
81 jhead = bud->jhead; in ubifs_get_wbuf()
[all …]
H A Dreplay.c76 struct ubifs_bud *bud; member
98 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum); in set_bud_lprops()
105 if (b->bud->start == 0 && (lp->free != c->leb_size || lp->dirty != 0)) { in set_bud_lprops()
125 dbg_mnt("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
127 dbg_gc("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops()
139 b->bud->lnum, lp->free, lp->dirty, b->free, in set_bud_lprops()
150 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
151 b->bud->lnum, c->leb_size - b->free); in set_bud_lprops()
478 static int is_last_bud(struct ubifs_info *c, struct ubifs_bud *bud) in is_last_bud() argument
480 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud()
[all …]
H A Ddebug.c584 struct ubifs_bud *bud; in ubifs_dump_budg() local
626 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_budg()
627 pr_err("\tbud LEB %d\n", bud->lnum); in ubifs_dump_budg()
629 list_for_each_entry(bud, &c->old_buds, list) in ubifs_dump_budg()
630 pr_err("\told bud LEB %d\n", bud->lnum); in ubifs_dump_budg()
657 struct ubifs_bud *bud; in ubifs_dump_lprop() local
719 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_lprop()
720 if (bud->lnum == lp->lnum) { in ubifs_dump_lprop()
736 dbg_jhead(bud->jhead)); in ubifs_dump_lprop()
H A Dsuper.c1060 struct ubifs_bud *bud, *n; in free_buds() local
1062 rbtree_postorder_for_each_entry_safe(bud, n, &c->buds, rb) in free_buds()
1063 kfree(bud); in free_buds()
1266 struct ubifs_bud *bud; in destroy_journal() local
1268 bud = list_entry(c->old_buds.next, struct ubifs_bud, list); in destroy_journal()
1269 list_del(&bud->list); in destroy_journal()
1270 kfree(bud); in destroy_journal()
H A Dubifs.h2130 void ubifs_add_bud(struct ubifs_info *c, struct ubifs_bud *bud);