Home
last modified time | relevance | path

Searched refs:ofs_unit (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c229 p->ofs_unit = 1; in select_policy()
234 p->ofs_unit = 1; in select_policy()
237 p->ofs_unit = sbi->segs_per_sec; in select_policy()
277 return 2 * sbi->blocks_per_seg * p->ofs_unit; in get_max_cost()
715 last_segment / p.ofs_unit, in get_victim_by_default()
716 p.offset / p.ofs_unit); in get_victim_by_default()
717 segno = unit_no * p.ofs_unit; in get_victim_by_default()
729 p.offset = segno + p.ofs_unit; in get_victim_by_default()
785 last_victim + p.ofs_unit; in get_victim_by_default()
787 sm->last_victim[p.gc_mode] = segno + p.ofs_unit; in get_victim_by_default()
[all...]
H A Dsegment.h218 unsigned int ofs_unit; /* bitmap search unit */ member
/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c254 p->ofs_unit = 1; in select_policy()
259 p->ofs_unit = 1; in select_policy()
262 p->ofs_unit = sbi->segs_per_sec; in select_policy()
304 return 2 * sbi->blocks_per_seg * p->ofs_unit; in get_max_cost()
822 last_segment / p.ofs_unit, in f2fs_get_victim()
823 p.offset / p.ofs_unit); in f2fs_get_victim()
824 segno = unit_no * p.ofs_unit; in f2fs_get_victim()
836 p.offset = segno + p.ofs_unit; 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...]
H A Dsegment.h198 unsigned int ofs_unit; /* bitmap search unit */ member
/kernel/linux/linux-5.10/include/trace/events/
H A Df2fs.h765 __field(unsigned int, ofs_unit)
779 __entry->ofs_unit = p->ofs_unit;
786 "victim = %u, cost = %u, ofs_unit = %u, "
795 __entry->ofs_unit,
/kernel/linux/linux-6.6/include/trace/events/
H A Df2fs.h777 __field(unsigned int, ofs_unit)
791 __entry->ofs_unit = p->ofs_unit;
798 "victim = %u, cost = %u, ofs_unit = %u, "
807 __entry->ofs_unit,

Completed in 11 milliseconds