Searched refs:last_victim (Results 1 – 4 of 4) sorted by relevance
289 p->offset = SIT_I(sbi)->last_victim[p->gc_mode]; in select_policy()719 unsigned int secno, last_victim; in get_victim_by_default() local777 last_victim = sm->last_victim[p.gc_mode]; in get_victim_by_default()794 if (sm->last_victim[p.gc_mode]) { in get_victim_by_default()796 sm->last_victim[p.gc_mode]; in get_victim_by_default()797 sm->last_victim[p.gc_mode] = 0; in get_victim_by_default()861 if (!sm->last_victim[p.gc_mode] && segno <= last_victim) in get_victim_by_default()862 sm->last_victim[p.gc_mode] = in get_victim_by_default()863 last_victim + p.ofs_unit; in get_victim_by_default()865 sm->last_victim[p.gc_mode] = segno + p.ofs_unit; in get_victim_by_default()[all …]
269 unsigned int last_victim[MAX_GC_POLICY]; /* last victim segment # */ member
2941 start_segno = sm->last_victim[FLUSH_DEVICE]; in f2fs_ioc_flush_device()2951 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device()2952 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device()2953 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
2556 if (SIT_I(sbi)->last_victim[ALLOC_NEXT]) in __get_next_segno()2557 return SIT_I(sbi)->last_victim[ALLOC_NEXT]; in __get_next_segno()