Searched refs:last_victim (Results 1 – 4 of 4) sorted by relevance
290 p->offset = SIT_I(sbi)->last_victim[p->gc_mode]; in select_policy()751 unsigned int secno, last_victim; in f2fs_get_victim() local809 last_victim = sm->last_victim[p.gc_mode]; in f2fs_get_victim()826 if (sm->last_victim[p.gc_mode]) { in f2fs_get_victim()828 sm->last_victim[p.gc_mode]; in f2fs_get_victim()829 sm->last_victim[p.gc_mode] = 0; in f2fs_get_victim()893 if (!sm->last_victim[p.gc_mode] && segno <= last_victim) in f2fs_get_victim()894 sm->last_victim[p.gc_mode] = in f2fs_get_victim()895 last_victim + p.ofs_unit; in f2fs_get_victim()897 sm->last_victim[p.gc_mode] = segno + p.ofs_unit; in f2fs_get_victim()[all …]
266 unsigned int last_victim[MAX_GC_POLICY]; /* last victim segment # */ member
2998 start_segno = sm->last_victim[FLUSH_DEVICE]; in f2fs_ioc_flush_device()3008 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device()3009 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device()3010 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
2774 if (SIT_I(sbi)->last_victim[ALLOC_NEXT]) in __get_next_segno()2775 return SIT_I(sbi)->last_victim[ALLOC_NEXT]; in __get_next_segno()