Lines Matching defs:F2FS_OPTION
117 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
118 #define clear_opt(sbi, option) (F2FS_OPTION(sbi).opt &= ~F2FS_MOUNT_##option)
119 #define set_opt(sbi, option) (F2FS_OPTION(sbi).opt |= F2FS_MOUNT_##option)
120 #define test_opt(sbi, option) (F2FS_OPTION(sbi).opt & F2FS_MOUNT_##option)
1817 struct f2fs_fault_info *ffi = &F2FS_OPTION(sbi).fault_info;
2240 if (uid_eq(F2FS_OPTION(sbi).s_resuid, current_fsuid()))
2242 if (!gid_eq(F2FS_OPTION(sbi).s_resgid, GLOBAL_ROOT_GID) &&
2243 in_group_p(F2FS_OPTION(sbi).s_resgid))
2279 avail_user_block_count -= F2FS_OPTION(sbi).root_reserved_blocks;
2630 valid_block_count += F2FS_OPTION(sbi).root_reserved_blocks;
3198 int compress_mode = F2FS_OPTION(F2FS_I_SB(inode)).compress_mode;
3751 return F2FS_OPTION(sbi).fs_mode == FS_MODE_FRAGMENT_SEG ||
3752 F2FS_OPTION(sbi).fs_mode == FS_MODE_FRAGMENT_BLK;
4379 F2FS_OPTION(sbi).compress_algorithm;
4381 F2FS_OPTION(sbi).compress_log_size;
4383 F2FS_OPTION(sbi).compress_chksum ?
4389 F2FS_OPTION(sbi).compress_level)
4391 F2FS_OPTION(sbi).compress_level;
4524 return F2FS_OPTION(sbi).fs_mode == FS_MODE_LFS;
4529 return F2FS_OPTION(sbi).memory_mode == MEMORY_MODE_LOW;
4589 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] ||
4590 F2FS_OPTION(sbi).s_qf_names[GRPQUOTA] ||
4591 F2FS_OPTION(sbi).s_qf_names[PRJQUOTA])
4599 return F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_BLOCK;