Lines Matching refs:ucleb
507 struct ubifs_unclean_leb *ucleb; in fix_unclean_leb() local
511 ucleb = kzalloc(sizeof(struct ubifs_unclean_leb), GFP_NOFS); in fix_unclean_leb()
512 if (!ucleb) in fix_unclean_leb()
514 ucleb->lnum = lnum; in fix_unclean_leb()
515 ucleb->endpt = endpt; in fix_unclean_leb()
516 list_add_tail(&ucleb->list, &c->unclean_leb_list); in fix_unclean_leb()
983 struct ubifs_unclean_leb *ucleb, void *sbuf) in clean_an_unclean_leb() argument
985 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; in clean_an_unclean_leb()
1044 len = ALIGN(ucleb->endpt, c->min_io_size); in clean_an_unclean_leb()
1045 if (len > ucleb->endpt) { in clean_an_unclean_leb()
1046 int pad_len = len - ALIGN(ucleb->endpt, 8); in clean_an_unclean_leb()
1079 struct ubifs_unclean_leb *ucleb; in ubifs_clean_lebs() local
1082 ucleb = list_entry(c->unclean_leb_list.next, in ubifs_clean_lebs()
1084 err = clean_an_unclean_leb(c, ucleb, sbuf); in ubifs_clean_lebs()
1087 list_del(&ucleb->list); in ubifs_clean_lebs()
1088 kfree(ucleb); in ubifs_clean_lebs()