Lines Matching refs:ucleb
529 struct ubifs_unclean_leb *ucleb;
532 ucleb = kzalloc(sizeof(struct ubifs_unclean_leb), GFP_NOFS);
533 if (!ucleb) {
536 ucleb->lnum = lnum;
537 ucleb->endpt = endpt;
538 list_add_tail(&ucleb->list, &c->unclean_leb_list);
1029 * @ucleb: unclean LEB information
1038 static int clean_an_unclean_leb(struct ubifs_info *c, struct ubifs_unclean_leb *ucleb, void *sbuf)
1040 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1;
1098 len = ALIGN(ucleb->endpt, c->min_io_size);
1099 if (len > ucleb->endpt) {
1100 int pad_len = len - ALIGN(ucleb->endpt, RECOVERY_EIGHT);
1133 struct ubifs_unclean_leb *ucleb;
1136 ucleb = list_entry(c->unclean_leb_list.next, struct ubifs_unclean_leb, list);
1137 err = clean_an_unclean_leb(c, ucleb, sbuf);
1141 list_del(&ucleb->list);
1142 kfree(ucleb);