Lines Matching refs:ofs_unit
256 p->ofs_unit = 1; in select_policy()
261 p->ofs_unit = 1; in select_policy()
264 p->ofs_unit = SEGS_PER_SEC(sbi); in select_policy()
306 return 2 * BLKS_PER_SEG(sbi) * p->ofs_unit; in get_max_cost()
823 last_segment / p.ofs_unit, in f2fs_get_victim()
824 p.offset / p.ofs_unit); in f2fs_get_victim()
825 segno = unit_no * p.ofs_unit; in f2fs_get_victim()
837 p.offset = segno + p.ofs_unit; in f2fs_get_victim()
896 last_victim + p.ofs_unit; in f2fs_get_victim()
898 sm->last_victim[p.gc_mode] = segno + p.ofs_unit; in f2fs_get_victim()
919 *result = (p.min_segno / p.ofs_unit) * p.ofs_unit; in f2fs_get_victim()