Searched refs:gc_candidate (Results 1 – 2 of 2) sorted by relevance
182 static struct gc_candidate *add_list(struct gc_candidate *cand, in add_list()187 struct gc_candidate *cur; in add_list()193 cur = rb_entry(parent, struct gc_candidate, rb_node); in add_list()212 cand = rb_entry(rb_last(&list->rb_tree), struct gc_candidate, rb_node); in add_list()218 static void remove_from_list(struct gc_candidate *cand) in remove_from_list()226 static void free_candidate(struct super_block *sb, struct gc_candidate *cand) in free_candidate()236 struct gc_candidate *cand; in get_best_cand()241 cand = rb_entry(rb_first(&list->rb_tree), struct gc_candidate, rb_node); in get_best_cand()268 static void __add_candidate(struct super_block *sb, struct gc_candidate *cand) in __add_candidate()302 struct gc_candidate *cand; in add_candidate()[all …]
188 struct gc_candidate { struct