Home
last modified time | relevance | path

Searched refs:sleb (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/sdk_linux/fs/ubifs/
H A Drecovery.c512 * @sleb: scanned LEB information
515 static int fix_unclean_leb(struct ubifs_info *c, struct ubifs_scan_leb *sleb, int start) in fix_unclean_leb() argument
517 int lnum = sleb->lnum, endpt = start; in fix_unclean_leb()
520 if (!list_empty(&sleb->nodes)) { in fix_unclean_leb()
523 snod = list_entry(sleb->nodes.prev, struct ubifs_scan_node, list); in fix_unclean_leb()
531 dbg_rcvry("need to fix LEB %d start %d endpt %d", lnum, start, sleb->endpt); in fix_unclean_leb()
543 dbg_rcvry("fixing LEB %d start %d endpt %d", lnum, start, sleb->endpt); in fix_unclean_leb()
553 err = ubifs_leb_read(c, lnum, sleb->buf, 0, start, 1); in fix_unclean_leb()
562 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb()
567 err = ubifs_leb_change(c, lnum, sleb in fix_unclean_leb()
584 drop_last_group(struct ubifs_scan_leb *sleb, int *offs) drop_last_group() argument
612 drop_last_node(struct ubifs_scan_leb *sleb, int *offs) drop_last_node() argument
645 struct ubifs_scan_leb *sleb; ubifs_recover_leb() local
910 struct ubifs_scan_leb *sleb; ubifs_recover_log_leb() local
[all...]

Completed in 2 milliseconds