Lines Matching refs:F2FS_I_SB

46 		f2fs_update_iostat(F2FS_I_SB(inode), inode,  in f2fs_filemap_fault()
58 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_vm_page_mkwrite()
194 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in need_do_checkpoint()
253 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_do_sync_file()
391 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_sync_file()
470 !f2fs_is_valid_blkaddr(F2FS_I_SB(inode), in f2fs_seek_block()
525 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) in f2fs_file_mmap()
558 struct f2fs_sb_info *sbi = F2FS_I_SB(dn->inode); in f2fs_truncate_data_blocks_range()
663 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
672 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_do_truncate_blocks()
777 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) in f2fs_truncate()
786 if (time_to_inject(F2FS_I_SB(inode), FAULT_TRUNCATE)) { in f2fs_truncate()
787 f2fs_show_injection_info(F2FS_I_SB(inode), FAULT_TRUNCATE); in f2fs_truncate()
813 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_force_buffered_io()
848 f2fs_sb_has_inode_crtime(F2FS_I_SB(inode)) && in f2fs_getattr()
938 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) in f2fs_setattr()
972 f2fs_lock_op(F2FS_I_SB(inode)); in f2fs_setattr()
975 set_sbi_flag(F2FS_I_SB(inode), in f2fs_setattr()
977 f2fs_unlock_op(F2FS_I_SB(inode)); in f2fs_setattr()
987 f2fs_unlock_op(F2FS_I_SB(inode)); in f2fs_setattr()
1041 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_setattr()
1060 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in fill_zero()
1104 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1150 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in punch_hole()
1177 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in __read_out_blkaddrs()
1233 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in __roll_back_blkaddrs()
1258 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs()
1350 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1356 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1392 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_do_collapse()
1456 struct f2fs_sb_info *sbi = F2FS_I_SB(dn->inode); in f2fs_do_zero_range()
1507 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_zero_range()
1614 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_insert_range()
1689 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in expand_inode_data()
1795 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) in f2fs_fallocate()
1797 if (!f2fs_is_checkpoint_ready(F2FS_I_SB(inode))) in f2fs_fallocate()
1848 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_fallocate()
1900 if (!f2fs_sb_has_casefold(F2FS_I_SB(inode))) in f2fs_setflags_common()
1907 if (!f2fs_sb_has_compression(F2FS_I_SB(inode))) in f2fs_setflags_common()
1932 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common()
2042 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_start_atomic_write()
2134 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_ioc_commit_atomic_write()
2175 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_ioc_abort_atomic_write()
2182 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_shutdown()
2292 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_ioc_fitrim()
2310 if (!f2fs_sb_has_encrypt(F2FS_I_SB(inode))) in f2fs_ioc_set_encryption_policy()
2313 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_ioc_set_encryption_policy()
2320 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_get_encryption_policy()
2328 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_get_encryption_pwsalt()
2365 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_get_encryption_policy_ex()
2373 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_add_encryption_key()
2381 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_remove_encryption_key()
2390 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_remove_encryption_key_all_users()
2399 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_get_encryption_key_status()
2407 if (!f2fs_sb_has_encrypt(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_get_encryption_nonce()
2416 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_gc()
2456 struct f2fs_sb_info *sbi = F2FS_I_SB(file_inode(filp)); in __f2fs_ioc_gc_range()
2518 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_write_checkpoint()
2698 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_defragment()
2746 struct f2fs_sb_info *sbi = F2FS_I_SB(src); in f2fs_move_file_range()
2901 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_flush_device()
2971 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features()
2983 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_transfer_project_quota()
3000 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_setproject()
3075 if (f2fs_sb_has_project_quota(F2FS_I_SB(inode))) in f2fs_fileattr_get()
3089 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) in f2fs_fileattr_set()
3091 if (!f2fs_is_checkpoint_ready(F2FS_I_SB(inode))) in f2fs_fileattr_set()
3113 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_pin_file_control()
3142 if (f2fs_readonly(F2FS_I_SB(inode)->sb)) in f2fs_ioc_set_pin_file()
3179 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_ioc_set_pin_file()
3236 struct f2fs_sb_info *sbi = F2FS_I_SB(file_inode(filp)); in f2fs_ioc_resize_fs()
3256 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); in f2fs_ioc_enable_verity()
3258 if (!f2fs_sb_has_verity(F2FS_I_SB(inode))) { in f2fs_ioc_enable_verity()
3259 f2fs_warn(F2FS_I_SB(inode), in f2fs_ioc_enable_verity()
3270 if (!f2fs_sb_has_verity(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_measure_verity()
3278 if (!f2fs_sb_has_verity(F2FS_I_SB(file_inode(filp)))) in f2fs_ioc_read_verity_metadata()
3287 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_getfslabel()
3313 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_setfslabel()
3351 if (!f2fs_sb_has_compression(F2FS_I_SB(inode))) in f2fs_get_compress_blocks()
3363 struct f2fs_sb_info *sbi = F2FS_I_SB(dn->inode); in release_compress_blocks()
3420 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_release_compress_blocks()
3426 if (!f2fs_sb_has_compression(F2FS_I_SB(inode))) in f2fs_release_compress_blocks()
3439 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_release_compress_blocks()
3527 struct f2fs_sb_info *sbi = F2FS_I_SB(dn->inode); in reserve_compress_blocks()
3591 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_reserve_compress_blocks()
3596 if (!f2fs_sb_has_compression(F2FS_I_SB(inode))) in f2fs_reserve_compress_blocks()
3612 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_reserve_compress_blocks()
3716 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_sec_trim_file()
3880 if (!f2fs_sb_has_compression(F2FS_I_SB(inode))) in f2fs_ioc_get_compress_option()
3905 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_set_compress_option()
3976 f2fs_bug_on(F2FS_I_SB(inode), !page); in redirty_blocks()
3989 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_decompress_file()
4006 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_ioc_decompress_file()
4062 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_ioc_compress_file()
4078 f2fs_balance_fs(F2FS_I_SB(inode), true); in f2fs_ioc_compress_file()
4223 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(filp))))) in f2fs_ioctl()
4225 if (!f2fs_is_checkpoint_ready(F2FS_I_SB(file_inode(filp)))) in f2fs_ioctl()
4268 struct f2fs_sb_info *sbi = F2FS_I_SB(file_inode(iocb->ki_filp)); in f2fs_dio_read_end_io()
4285 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_dio_read_iter()
4340 char *p = f2fs_kmalloc(F2FS_I_SB(inode), PATH_MAX, GFP_KERNEL); in f2fs_file_read_iter()
4362 f2fs_update_iostat(F2FS_I_SB(inode), inode, in f2fs_file_read_iter()
4404 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_preallocate_blocks()
4480 f2fs_update_iostat(F2FS_I_SB(inode), inode, in f2fs_buffered_write_iter()
4489 struct f2fs_sb_info *sbi = F2FS_I_SB(file_inode(iocb->ki_filp)); in f2fs_dio_write_end_io()
4508 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); in f2fs_dio_write_iter()
4630 if (unlikely(f2fs_cp_error(F2FS_I_SB(inode)))) { in f2fs_file_write_iter()
4663 char *p = f2fs_kmalloc(F2FS_I_SB(inode), in f2fs_file_write_iter()
4729 F2FS_I_SB(inode)->seq_file_ra_mul; in f2fs_file_fadvise()
4738 test_opt(F2FS_I_SB(inode), COMPRESS_CACHE) && in f2fs_file_fadvise()
4740 f2fs_invalidate_compress_pages(F2FS_I_SB(inode), inode->i_ino); in f2fs_file_fadvise()
4798 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_compat_ioctl()
4800 if (!f2fs_is_checkpoint_ready(F2FS_I_SB(file_inode(file)))) in f2fs_compat_ioctl()