Home
last modified time | relevance | path

Searched refs:discard_unit (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/fs/f2fs/
Dsuper.c1270 F2FS_OPTION(sbi).discard_unit = in parse_options()
1273 F2FS_OPTION(sbi).discard_unit = in parse_options()
1276 F2FS_OPTION(sbi).discard_unit = in parse_options()
1356 if (F2FS_OPTION(sbi).discard_unit != in parse_options()
1359 F2FS_OPTION(sbi).discard_unit = in parse_options()
1996 if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_BLOCK) in f2fs_show_options()
1998 else if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SEGMENT) in f2fs_show_options()
2000 else if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SECTION) in f2fs_show_options()
2154 F2FS_OPTION(sbi).discard_unit = DISCARD_UNIT_SECTION; in default_options()
2156 F2FS_OPTION(sbi).discard_unit = DISCARD_UNIT_BLOCK; in default_options()
Dsegment.c2142 bool section_alignment = F2FS_OPTION(sbi).discard_unit == in f2fs_clear_prefree_segments()
2277 if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SEGMENT) in create_discard_cmd_control()
2279 else if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SECTION) in create_discard_cmd_control()
Df2fs.h166 int discard_unit; /* member
4577 return F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_BLOCK; in f2fs_block_unit_discard()
/linux-6.6.21/Documentation/filesystems/
Df2fs.rst337 discard_unit=%s Control discard unit, the argument can be "block", "segment"
339 aligned to the unit, by default, "discard_unit=block" is set,
341 For blkzoned device, "discard_unit=section" will be set by