Lines Matching refs:ofs_unit
285 p->ofs_unit = 1; in select_policy()
290 p->ofs_unit = 1; in select_policy()
293 p->ofs_unit = SEGS_PER_SEC(sbi); in select_policy()
335 return SEGS_TO_BLKS(sbi, 2 * p->ofs_unit); in get_max_cost()
852 last_segment / p.ofs_unit, in f2fs_get_victim()
853 p.offset / p.ofs_unit); in f2fs_get_victim()
854 segno = unit_no * p.ofs_unit; in f2fs_get_victim()
866 p.offset = segno + p.ofs_unit; in f2fs_get_victim()
925 last_victim + p.ofs_unit; in f2fs_get_victim()
927 sm->last_victim[p.gc_mode] = segno + p.ofs_unit; in f2fs_get_victim()
948 *result = (p.min_segno / p.ofs_unit) * p.ofs_unit; in f2fs_get_victim()