Lines Matching refs:gc_mode
137 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() local
141 gc_mode = GC_CB; in select_gc_type()
143 gc_mode = GC_GREEDY; in select_gc_type()
145 return gc_mode; in select_gc_type()
154 p->gc_mode = GC_GREEDY; in select_policy()
159 p->gc_mode = select_gc_type(sbi->gc_thread, gc_type); in select_policy()
168 p->offset = sbi->last_victim[p->gc_mode]; in select_policy()
177 if (p->gc_mode == GC_GREEDY) in get_max_cost()
179 else if (p->gc_mode == GC_CB) in get_max_cost()
243 if (p->gc_mode == GC_GREEDY) in get_gc_cost()
289 if (sbi->last_victim[p.gc_mode]) { in get_victim_by_default()
290 last_segment = sbi->last_victim[p.gc_mode]; in get_victim_by_default()
291 sbi->last_victim[p.gc_mode] = 0; in get_victim_by_default()
319 sbi->last_victim[p.gc_mode] = segno; in get_victim_by_default()