Searched refs:F2FS_OPTION (Results 1 – 12 of 12) sorted by relevance
358 F2FS_OPTION(sbi).s_resuid), in limit_reserve_root()375 F2FS_OPTION(sbi).unusable_cap, in adjust_unusable_cap_perc()577 ext = F2FS_OPTION(sbi).extensions; in f2fs_test_compress_extension()1022 F2FS_OPTION(sbi).fsync_mode = in parse_options()1281 F2FS_OPTION(sbi).memory_mode = in parse_options()1284 F2FS_OPTION(sbi).memory_mode = in parse_options()1300 F2FS_OPTION(sbi).errors = in parse_options()1303 F2FS_OPTION(sbi).errors = in parse_options()1306 F2FS_OPTION(sbi).errors = in parse_options()2079 F2FS_OPTION(sbi).s_resuid), in f2fs_show_options()[all …]
144 F2FS_OPTION(sbi).noextensions; in set_compress_new_inode()145 unsigned char (*ext)[F2FS_EXTENSION_LEN] = F2FS_OPTION(sbi).extensions; in set_compress_new_inode()146 unsigned char ext_cnt = F2FS_OPTION(sbi).compress_ext_cnt; in set_compress_new_inode()147 unsigned char noext_cnt = F2FS_OPTION(sbi).nocompress_ext_cnt; in set_compress_new_inode()295 xattr_size = F2FS_OPTION(sbi).inline_xattr_size; in f2fs_new_inode()1062 if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_STRICT) { in f2fs_rename()1227 if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_STRICT) { in f2fs_cross_rename()
126 #define F2FS_OPTION(sbi) ((sbi)->mount_opt) macro2347 if (uid_eq(F2FS_OPTION(sbi).s_resuid, current_fsuid())) in __allow_reserved_blocks()2350 in_group_p(F2FS_OPTION(sbi).s_resgid)) in __allow_reserved_blocks()3868 F2FS_OPTION(sbi).fs_mode == FS_MODE_FRAGMENT_BLK; in f2fs_need_rand_seg()4559 fi->i_compress_flag = F2FS_OPTION(sbi).compress_chksum ? in set_compress_context()4564 F2FS_OPTION(sbi).compress_level) in set_compress_context()4699 return F2FS_OPTION(sbi).fs_mode == FS_MODE_LFS; in f2fs_lfs_mode()4715 return F2FS_OPTION(sbi).memory_mode == MEMORY_MODE_LOW; in f2fs_low_mem_mode()4779 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in is_journalled_quota()4780 F2FS_OPTION(sbi).s_qf_names[GRPQUOTA] || in is_journalled_quota()[all …]
784 if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_STRICT) in __f2fs_setxattr()840 sbi->inline_xattr_slab_size = F2FS_OPTION(sbi).inline_xattr_size * in f2fs_init_xattr_caches()
213 else if (F2FS_OPTION(sbi).active_logs == 2) in need_do_checkpoint()215 else if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_STRICT && in need_do_checkpoint()315 if (F2FS_OPTION(sbi).fsync_mode == in f2fs_do_sync_file()378 if (!atomic && F2FS_OPTION(sbi).fsync_mode != FSYNC_MODE_NOBARRIER) in f2fs_do_sync_file()4326 if (option.algorithm == F2FS_OPTION(sbi).compress_algorithm && in f2fs_ioc_set_compress_option()4327 F2FS_OPTION(sbi).compress_level) in f2fs_ioc_set_compress_option()4328 fi->i_compress_level = F2FS_OPTION(sbi).compress_level; in f2fs_ioc_set_compress_option()4387 F2FS_OPTION(sbi).compress_mode != COMPR_MODE_USER) in f2fs_ioc_decompress_file()4468 F2FS_OPTION(sbi).compress_mode != COMPR_MODE_USER) in f2fs_ioc_compress_file()
924 if (F2FS_OPTION(sbi).unusable_cap_perc == 100) in f2fs_disable_cp_again()926 if (unusable > F2FS_OPTION(sbi).unusable_cap) in f2fs_disable_cp_again()2183 bool section_alignment = F2FS_OPTION(sbi).discard_unit == in f2fs_clear_prefree_segments()2325 if (F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SEGMENT || in create_discard_cmd_control()2326 F2FS_OPTION(sbi).discard_unit == DISCARD_UNIT_SECTION) in create_discard_cmd_control()2919 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __get_next_segno()2957 if (F2FS_OPTION(sbi).fs_mode == FS_MODE_FRAGMENT_BLK) in new_curseg()3501 if (F2FS_OPTION(sbi).active_logs == 2) in f2fs_rw_hint_to_seg_type()3503 else if (F2FS_OPTION(sbi).active_logs == 4) in f2fs_rw_hint_to_seg_type()3689 switch (F2FS_OPTION(fio->sbi).active_logs) { in __get_segment_type()[all …]
143 sync_mode = (F2FS_OPTION(sbi).bggc_mode == BGGC_MODE_SYNC) || in gc_thread_func()2257 F2FS_OPTION(sbi).root_reserved_blocks > sbi->user_block_count) in f2fs_resize_fs()2291 F2FS_OPTION(sbi).root_reserved_blocks > sbi->user_block_count) in f2fs_resize_fs()
88 return (unsigned char *)&F2FS_OPTION(sbi).fault_info; in __struct_ptr()510 F2FS_OPTION(sbi).root_reserved_blocks)) { in __sbi_store()
873 if (F2FS_OPTION(F2FS_I_SB(dir)).fsync_mode == FSYNC_MODE_STRICT) in f2fs_delete_entry()
2611 F2FS_OPTION(sbi).compress_mode == COMPR_MODE_USER && in f2fs_should_update_outplace()2816 if (F2FS_OPTION(sbi).errors == MOUNT_ERRORS_READONLY) in f2fs_write_single_data_page()
2065 F2FS_OPTION(sbi).compress_log_size; in f2fs_init_page_array_cache()
1694 if (F2FS_OPTION(sbi).errors == MOUNT_ERRORS_READONLY) in __write_node_page()