Lines Matching refs:list
116 sa = list_entry(a, struct ubifs_scan_node, list);
117 sb = list_entry(b, struct ubifs_scan_node, list);
160 sa = list_entry(a, struct ubifs_scan_node, list);
161 sb = list_entry(b, struct ubifs_scan_node, list);
208 * This function sorts the list of inodes to garbage collect. First of all, it
237 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) {
250 list_del(&snod->list);
266 /* The node is obsolete, remove it from the list */
267 list_del(&snod->list);
276 list_move_tail(&snod->list, nondata);
316 list_del(&snod->list);
357 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) {
379 list_for_each_entry_safe(snod, tmp, &nondata, list) {
543 snod = list_entry(sleb->nodes.next, struct ubifs_scan_node, list);
550 list_for_each_entry(snod, &sleb->nodes, list) {
570 list_add(&idx_gc->list, &c->idx_gc);
904 list_for_each_entry(idx_gc, &c->idx_gc, list)
935 list_add(&idx_gc->list, &c->idx_gc);
956 list_for_each_entry_safe(idx_gc, tmp, &c->idx_gc, list)
966 list_del(&idx_gc->list);
975 * ubifs_destroy_idx_gc - destroy idx_gc list.
978 * This function destroys the @c->idx_gc list. It is called when unmounting
988 list);
990 list_del(&idx_gc->list);
996 * ubifs_get_idx_gc_leb - get a LEB from GC'd index LEB list.
1008 idx_gc = list_entry(c->idx_gc.next, struct ubifs_gced_idx_leb, list);
1011 list_del(&idx_gc->list);