Lines Matching refs:list
119 sa = list_entry(a, struct ubifs_scan_node, list); in data_nodes_cmp()
120 sb = list_entry(b, struct ubifs_scan_node, list); in data_nodes_cmp()
163 sa = list_entry(a, struct ubifs_scan_node, list); in nondata_nodes_cmp()
164 sb = list_entry(b, struct ubifs_scan_node, list); in nondata_nodes_cmp()
240 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { in sort_nodes()
253 list_del(&snod->list); in sort_nodes()
270 list_del(&snod->list); in sort_nodes()
279 list_move_tail(&snod->list, nondata); in sort_nodes()
319 list_del(&snod->list); in move_node()
360 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { in move_nodes()
382 list_for_each_entry_safe(snod, tmp, &nondata, list) { in move_nodes()
546 snod = list_entry(sleb->nodes.next, struct ubifs_scan_node, list); in ubifs_garbage_collect_leb()
553 list_for_each_entry(snod, &sleb->nodes, list) { in ubifs_garbage_collect_leb()
573 list_add(&idx_gc->list, &c->idx_gc); in ubifs_garbage_collect_leb()
895 list_for_each_entry(idx_gc, &c->idx_gc, list) in ubifs_gc_start_commit()
926 list_add(&idx_gc->list, &c->idx_gc); in ubifs_gc_start_commit()
947 list_for_each_entry_safe(idx_gc, tmp, &c->idx_gc, list) in ubifs_gc_end_commit()
957 list_del(&idx_gc->list); in ubifs_gc_end_commit()
979 list); in ubifs_destroy_idx_gc()
981 list_del(&idx_gc->list); in ubifs_destroy_idx_gc()
999 idx_gc = list_entry(c->idx_gc.next, struct ubifs_gced_idx_leb, list); in ubifs_get_idx_gc_leb()
1002 list_del(&idx_gc->list); in ubifs_get_idx_gc_leb()