Lines Matching refs:sleb
92 struct ubifs_scan_leb *sleb; in scan_for_master() local
98 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
99 if (IS_ERR(sleb)) in scan_for_master()
100 return PTR_ERR(sleb); in scan_for_master()
101 nodes_cnt = sleb->nodes_cnt; in scan_for_master()
103 snod = list_entry(sleb->nodes.prev, struct ubifs_scan_node, in scan_for_master()
110 ubifs_scan_destroy(sleb); in scan_for_master()
114 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
115 if (IS_ERR(sleb)) in scan_for_master()
116 return PTR_ERR(sleb); in scan_for_master()
117 if (sleb->nodes_cnt != nodes_cnt) in scan_for_master()
119 if (!sleb->nodes_cnt) in scan_for_master()
121 snod = list_entry(sleb->nodes.prev, struct ubifs_scan_node, list); in scan_for_master()
130 ubifs_scan_destroy(sleb); in scan_for_master()
154 ubifs_scan_destroy(sleb); in scan_for_master()
160 ubifs_scan_destroy(sleb); in scan_for_master()