Lines Matching refs:sleb
31 struct ubifs_scan_leb *sleb; in scan_for_master() local
37 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
38 if (IS_ERR(sleb)) in scan_for_master()
39 return PTR_ERR(sleb); in scan_for_master()
40 nodes_cnt = sleb->nodes_cnt; in scan_for_master()
42 snod = list_entry(sleb->nodes.prev, struct ubifs_scan_node, in scan_for_master()
49 ubifs_scan_destroy(sleb); in scan_for_master()
53 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
54 if (IS_ERR(sleb)) in scan_for_master()
55 return PTR_ERR(sleb); in scan_for_master()
56 if (sleb->nodes_cnt != nodes_cnt) in scan_for_master()
58 if (!sleb->nodes_cnt) in scan_for_master()
60 snod = list_entry(sleb->nodes.prev, struct ubifs_scan_node, list); in scan_for_master()
70 ubifs_scan_destroy(sleb); in scan_for_master()
74 ubifs_scan_destroy(sleb); in scan_for_master()
80 ubifs_scan_destroy(sleb); in scan_for_master()