| /linux/fs/nfs/ |
| H A D | inode.c | 109 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode() 115 void nfs_clear_inode(struct inode *inode) in nfs_clear_inode() 128 void nfs_evict_inode(struct inode *inode) in nfs_evict_inode() 135 int nfs_sync_inode(struct inode *inode) in nfs_sync_inode() 157 static int nfs_attribute_timeout(struct inode *inode) in nfs_attribute_timeout() 164 static bool nfs_check_cache_flags_invalid(struct inode *inode, in nfs_check_cache_flags_invalid() 172 bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags) in nfs_check_cache_invalid() 192 void nfs_set_cache_invalid(struct inode *inode, unsigned long flags) in nfs_set_cache_invalid() 229 static void nfs_zap_caches_locked(struct inode *inode) in nfs_zap_caches_locked() 253 void nfs_zap_caches(struct inode *inode) in nfs_zap_caches() [all …]
|
| H A D | io.c | 34 nfs_start_io_read(struct inode *inode) in nfs_start_io_read() 65 nfs_end_io_read(struct inode *inode) in nfs_end_io_read() 78 nfs_start_io_write(struct inode *inode) in nfs_start_io_write() 97 nfs_end_io_write(struct inode *inode) in nfs_end_io_write() 104 static void nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_buffered() 129 nfs_start_io_direct(struct inode *inode) in nfs_start_io_direct() 160 nfs_end_io_direct(struct inode *inode) in nfs_end_io_direct()
|
| H A D | delegation.c | 114 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) in nfs4_get_valid_delegation() 128 static int nfs4_do_check_delegation(struct inode *inode, fmode_t type, in nfs4_do_check_delegation() 157 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags) in nfs4_have_delegation() 168 int nfs4_check_delegation(struct inode *inode, fmode_t type) in nfs4_check_delegation() 175 struct inode *inode = state->inode; in nfs_delegation_claim_locks() local 205 static int nfs_delegation_claim_opens(struct inode *inode, in nfs_delegation_claim_opens() 255 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 294 static int nfs_do_return_delegation(struct inode *inode, in nfs_do_return_delegation() 314 struct inode *inode = NULL; in nfs_delegation_grab_inode() local 434 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation() [all …]
|
| /linux/include/linux/ |
| H A D | iversion.h | 111 inode_set_iversion_raw(struct inode *inode, u64 val) in inode_set_iversion_raw() 128 inode_peek_iversion_raw(const struct inode *inode) in inode_peek_iversion_raw() 142 inode_set_max_iversion_raw(struct inode *inode, u64 val) in inode_set_max_iversion_raw() 165 inode_set_iversion(struct inode *inode, u64 val) in inode_set_iversion() 187 inode_set_iversion_queried(struct inode *inode, u64 val) in inode_set_iversion_queried() 203 inode_inc_iversion(struct inode *inode) in inode_inc_iversion() 216 inode_iversion_need_inc(struct inode *inode) in inode_iversion_need_inc() 233 inode_inc_iversion_raw(struct inode *inode) in inode_inc_iversion_raw() 250 inode_peek_iversion(const struct inode *inode) in inode_peek_iversion() 279 inode_eq_iversion_raw(const struct inode *inode, u64 old) in inode_eq_iversion_raw() [all …]
|
| /linux/fs/ext4/ |
| H A D | inode.c | 60 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() 90 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify() 111 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_set() 128 static inline int ext4_begin_ordered_truncate(struct inode *inode, in ext4_begin_ordered_truncate() 151 int ext4_inode_is_fast_symlink(struct inode *inode) in ext4_inode_is_fast_symlink() 169 void ext4_evict_inode(struct inode *inode) in ext4_evict_inode() 338 qsize_t *ext4_get_reserved_space(struct inode *inode) in ext4_get_reserved_space() 348 void ext4_da_update_reserve_space(struct inode *inode, in ext4_da_update_reserve_space() 393 static int __check_block_validity(struct inode *inode, const char *func, in __check_block_validity() 412 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() [all …]
|
| H A D | extents.c | 48 static __le32 ext4_extent_block_csum(struct inode *inode, in ext4_extent_block_csum() 59 static int ext4_extent_block_csum_verify(struct inode *inode, in ext4_extent_block_csum_verify() 73 static void ext4_extent_block_csum_set(struct inode *inode, in ext4_extent_block_csum_set() 90 static int ext4_ext_trunc_restart_fn(struct inode *inode, int *dropped) in ext4_ext_trunc_restart_fn() 138 int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, in ext4_datasem_ensure_credits() 157 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access() 188 handle_t *handle, struct inode *inode, in __ext4_ext_dirty() 212 #define ext4_ext_dirty(handle, inode, path) \ argument 215 static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode, in ext4_ext_find_goal() 265 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block() [all …]
|
| H A D | inline.c | 28 static int ext4_get_inline_size(struct inode *inode) in ext4_get_inline_size() 36 static int get_max_inline_xattr_value_size(struct inode *inode, in get_max_inline_xattr_value_size() 111 int ext4_get_max_inline_size(struct inode *inode) in ext4_get_max_inline_size() 144 int ext4_find_inline_data_nolock(struct inode *inode) in ext4_find_inline_data_nolock() 183 static int ext4_read_inline_data(struct inode *inode, void *buffer, in ext4_read_inline_data() 228 static void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, in ext4_write_inline_data() 268 struct inode *inode, unsigned len) in ext4_create_inline_data() 336 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data() 407 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data() 437 struct inode *inode) in ext4_destroy_inline_data_nolock() [all …]
|
| /linux/fs/ceph/ |
| H A D | cache.h | 34 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize() 46 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback() 54 static inline bool ceph_is_cache_enabled(struct inode *inode) in ceph_is_cache_enabled() 70 static inline void ceph_fscache_register_inode_cookie(struct inode *inode) in ceph_fscache_register_inode_cookie() 78 static inline void ceph_fscache_use_cookie(struct inode *inode, bool will_modify) in ceph_fscache_use_cookie() 82 static inline void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie() 86 static inline void ceph_fscache_update(struct inode *inode) in ceph_fscache_update() 90 static inline void ceph_fscache_invalidate(struct inode *inode, bool dio_write) in ceph_fscache_invalidate() 99 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize() 103 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback() [all …]
|
| H A D | io.c | 22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_o_direct() 59 int ceph_start_io_read(struct inode *inode) in ceph_start_io_read() 98 ceph_end_io_read(struct inode *inode) in ceph_end_io_read() 110 int ceph_start_io_write(struct inode *inode) in ceph_start_io_write() 126 ceph_end_io_write(struct inode *inode) in ceph_end_io_write() 132 static void ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_buffered() 171 int ceph_start_io_direct(struct inode *inode) in ceph_start_io_direct() 210 ceph_end_io_direct(struct inode *inode) in ceph_end_io_direct()
|
| /linux/fs/netfs/ |
| H A D | locking.c | 22 static int netfs_inode_dio_wait_interruptible(struct inode *inode) in netfs_inode_dio_wait_interruptible() 56 int netfs_start_io_read(struct inode *inode) in netfs_start_io_read() 87 void netfs_end_io_read(struct inode *inode) in netfs_end_io_read() 101 int netfs_start_io_write(struct inode *inode) in netfs_start_io_write() 124 void netfs_end_io_write(struct inode *inode) in netfs_end_io_write() 132 static int netfs_block_buffered(struct inode *inode) in netfs_block_buffered() 167 int netfs_start_io_direct(struct inode *inode) in netfs_start_io_direct() 200 void netfs_end_io_direct(struct inode *inode) in netfs_end_io_direct()
|
| /linux/fs/ocfs2/ |
| H A D | file.c | 53 static int ocfs2_init_file_private(struct inode *inode, struct file *file) in ocfs2_init_file_private() 69 static void ocfs2_free_file_private(struct inode *inode, struct file *file) in ocfs2_free_file_private() 82 static int ocfs2_file_open(struct inode *inode, struct file *file) in ocfs2_file_open() 134 static int ocfs2_file_release(struct inode *inode, struct file *file) in ocfs2_file_release() 154 static int ocfs2_dir_open(struct inode *inode, struct file *file) in ocfs2_dir_open() 159 static int ocfs2_dir_release(struct inode *inode, struct file *file) in ocfs2_dir_release() 169 struct inode *inode = file->f_mapping->host; in ocfs2_sync_file() local 207 int ocfs2_should_update_atime(struct inode *inode, in ocfs2_should_update_atime() 254 int ocfs2_update_inode_atime(struct inode *inode, in ocfs2_update_inode_atime() 294 struct inode *inode, in ocfs2_set_inode_size() [all …]
|
| H A D | inode.c | 69 void ocfs2_set_inode_flags(struct inode *inode) in ocfs2_set_inode_flags() 123 struct inode *inode = NULL; in ocfs2_iget() local 225 static int ocfs2_find_actor(struct inode *inode, void *opaque) in ocfs2_find_actor() 250 static int ocfs2_init_locked_inode(struct inode *inode, void *opaque) in ocfs2_init_locked_inode() 338 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode() 479 static int ocfs2_read_locked_inode(struct inode *inode, in ocfs2_read_locked_inode() 657 struct inode *inode, in ocfs2_truncate_for_delete() 712 static int ocfs2_remove_inode(struct inode *inode, in ocfs2_remove_inode() 826 static int ocfs2_wipe_inode(struct inode *inode, in ocfs2_wipe_inode() 917 static int ocfs2_inode_is_valid_to_delete(struct inode *inode) in ocfs2_inode_is_valid_to_delete() [all …]
|
| /linux/fs/udf/ |
| H A D | inode.c | 70 static void __udf_clear_extent_cache(struct inode *inode) in __udf_clear_extent_cache() 81 static void udf_clear_extent_cache(struct inode *inode) in udf_clear_extent_cache() 91 static int udf_read_extent_cache(struct inode *inode, loff_t bcount, in udf_read_extent_cache() 113 static void udf_update_extent_cache(struct inode *inode, loff_t estart, in udf_update_extent_cache() 136 void udf_evict_inode(struct inode *inode) in udf_evict_inode() 171 struct inode *inode = mapping->host; in udf_write_failed() local 189 struct inode *inode = folio->mapping->host; in udf_handle_page_wb() local 216 struct inode *inode = folio->mapping->host; in udf_adinicb_read_folio() local 284 struct inode *inode = file_inode(iocb->ki_filp); in udf_write_end() local 304 struct inode *inode = mapping->host; in udf_direct_IO() local [all …]
|
| /linux/fs/ |
| H A D | fs-writeback.c | 114 static bool inode_io_list_move_locked(struct inode *inode, in inode_io_list_move_locked() 275 void __inode_attach_wb(struct inode *inode, struct folio *folio) in __inode_attach_wb() 311 static void inode_cgwb_move_to_attached(struct inode *inode, in inode_cgwb_move_to_attached() 335 locked_inode_to_wb_and_lock_list(struct inode *inode) in locked_inode_to_wb_and_lock_list() 372 static struct bdi_writeback *inode_to_wb_and_lock_list(struct inode *inode) in inode_to_wb_and_lock_list() 404 static bool inode_do_switch_wbs(struct inode *inode, in inode_do_switch_wbs() 598 static bool inode_prepare_wbs_switch(struct inode *inode, in inode_prepare_wbs_switch() 642 static void inode_switch_wbs(struct inode *inode, int new_wb_id) in inode_switch_wbs() 697 struct inode *inode; in isw_prepare_wbs_switch() local 784 struct inode *inode) in wbc_attach_and_unlock_inode() [all …]
|
| /linux/fs/btrfs/ |
| H A D | verity.c | 85 static loff_t merkle_file_pos(const struct inode *inode) in merkle_file_pos() 108 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() 182 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items() 211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() 288 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() 416 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan() 448 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity() 514 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity() 571 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() local 623 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity() local [all …]
|
| H A D | inode.c | 214 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off, in print_data_reloc_error() 310 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode, in btrfs_print_data_csum_error() 351 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock() 381 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock() 401 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents() 460 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent() 567 static bool can_cow_file_range_inline(struct btrfs_inode *inode, in can_cow_file_range_inline() 629 static noinline int __cow_file_range_inline(struct btrfs_inode *inode, in __cow_file_range_inline() 717 struct btrfs_inode *inode; member 753 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress() [all …]
|
| /linux/fs/ntfs/ |
| H A D | iomap.c | 15 static void ntfs_iomap_put_folio_non_resident(struct inode *inode, loff_t pos, in ntfs_iomap_put_folio_non_resident() 69 static void ntfs_iomap_put_folio(struct inode *inode, loff_t pos, in ntfs_iomap_put_folio() 83 static int ntfs_read_iomap_begin_resident(struct inode *inode, loff_t offset, loff_t length, in ntfs_read_iomap_begin_resident() 194 static int ntfs_read_iomap_begin_non_resident(struct inode *inode, loff_t offset, in ntfs_read_iomap_begin_non_resident() 271 static int __ntfs_read_iomap_begin(struct inode *inode, loff_t offset, loff_t length, in __ntfs_read_iomap_begin() 282 static int ntfs_read_iomap_begin(struct inode *inode, loff_t offset, loff_t length, in ntfs_read_iomap_begin() 289 static int ntfs_read_iomap_end(struct inode *inode, loff_t pos, loff_t length, in ntfs_read_iomap_end() 312 static bool ntfs_iomap_valid(struct inode *inode, const struct iomap *iomap) in ntfs_iomap_valid() 339 static int ntfs_seek_iomap_begin(struct inode *inode, loff_t offset, loff_t length, in ntfs_seek_iomap_begin() 346 static int ntfs_zero_read_iomap_end(struct inode *inode, loff_t pos, loff_t length, in ntfs_zero_read_iomap_end() [all …]
|
| /linux/fs/fuse/ |
| H A D | dax.c | 37 struct inode *inode; member 181 static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, in fuse_setup_one_mapping() 232 static int fuse_send_removemapping(struct inode *inode, in fuse_send_removemapping() 251 static int dmap_removemapping_list(struct inode *inode, unsigned int num, in dmap_removemapping_list() 310 struct inode *inode, in inode_reclaim_dmap_range() 353 static int dmap_removemapping_one(struct inode *inode, in dmap_removemapping_one() 374 void fuse_dax_inode_cleanup(struct inode *inode) in fuse_dax_inode_cleanup() 395 static void fuse_fill_iomap(struct inode *inode, loff_t pos, loff_t length, in fuse_fill_iomap() 431 static int fuse_setup_new_dax_mapping(struct inode *inode, loff_t pos, in fuse_setup_new_dax_mapping() 499 static int fuse_upgrade_dax_mapping(struct inode *inode, loff_t pos, in fuse_upgrade_dax_mapping() [all …]
|
| /linux/fs/coda/ |
| H A D | cnode.c | 26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) in coda_fill_inode() 45 static int coda_test_inode(struct inode *inode, void *data) in coda_test_inode() 52 static int coda_set_inode(struct inode *inode, void *data) in coda_set_inode() 63 struct inode *inode; in coda_iget() local 100 struct inode *inode; in coda_cnode_make() local 123 void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, in coda_replace_fid() 142 struct inode *inode; in coda_fid_to_inode() local 169 struct inode *inode = new_inode(sb); in coda_cnode_makectl() local
|
| /linux/fs/erofs/ |
| H A D | inode.c | 11 static int erofs_fill_symlink(struct inode *inode, void *bptr, unsigned int ofs) in erofs_fill_symlink() 36 static int erofs_read_inode(struct inode *inode) in erofs_read_inode() 223 static int erofs_fill_inode(struct inode *inode) in erofs_fill_inode() 278 static int erofs_iget5_eq(struct inode *inode, void *opaque) in erofs_iget5_eq() 283 static int erofs_iget5_set(struct inode *inode, void *opaque) in erofs_iget5_set() 294 struct inode *inode; in erofs_iget() local 317 struct inode *const inode = d_inode(path->dentry); in erofs_getattr() local 345 static int erofs_ioctl_get_volume_label(struct inode *inode, void __user *arg) in erofs_ioctl_get_volume_label() 360 struct inode *inode = file_inode(filp); in erofs_ioctl() local
|
| H A D | ishare.c | 15 static inline bool erofs_is_ishare_inode(struct inode *inode) in erofs_is_ishare_inode() 21 static int erofs_ishare_iget5_eq(struct inode *inode, void *data) in erofs_ishare_iget5_eq() 30 static int erofs_ishare_iget5_set(struct inode *inode, void *data) in erofs_ishare_iget5_set() 40 bool erofs_ishare_fill_inode(struct inode *inode) in erofs_ishare_fill_inode() 89 void erofs_ishare_free_inode(struct inode *inode) in erofs_ishare_free_inode() 103 static int erofs_ishare_file_open(struct inode *inode, struct file *file) in erofs_ishare_file_open() 127 static int erofs_ishare_file_release(struct inode *inode, struct file *file) in erofs_ishare_file_release() 183 struct inode *erofs_real_inode(struct inode *inode, bool *need_iput) in erofs_real_inode()
|
| /linux/fs/nilfs2/ |
| H A D | mdt.h | 26 struct inode *inode; member 54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() 59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) in nilfs_is_metadata_file_inode() 93 static inline void nilfs_mdt_mark_dirty(struct inode *inode) in nilfs_mdt_mark_dirty() 99 static inline void nilfs_mdt_clear_dirty(struct inode *inode) in nilfs_mdt_clear_dirty() 104 static inline __u64 nilfs_mdt_cno(struct inode *inode) in nilfs_mdt_cno() 110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) in nilfs_mdt_bgl_lock()
|
| /linux/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 14 static int free_extent_map_tree(struct btrfs_inode *inode) in free_extent_map_tree() 62 static int test_case_1(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_1() 163 static int test_case_2(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_2() 258 struct btrfs_inode *inode, u64 start) in __test_case_3() 351 static int test_case_3(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_3() 367 struct btrfs_inode *inode, u64 start) in __test_case_4() 485 static int test_case_4(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_4() 497 static int add_compressed_extent(struct btrfs_inode *inode, in add_compressed_extent() 623 static int test_case_5(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_5() 710 static int test_case_6(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_6() [all …]
|
| /linux/fs/overlayfs/ |
| H A D | util.c | 314 struct inode *inode = d_inode(dentry); in ovl_dentry_upper() local 372 struct dentry *ovl_i_dentry_upper(struct inode *inode) in ovl_i_dentry_upper() 377 struct inode *ovl_i_path_real(struct inode *inode, struct path *path) in ovl_i_path_real() 392 struct inode *ovl_inode_upper(struct inode *inode) in ovl_inode_upper() 399 struct inode *ovl_inode_lower(struct inode *inode) in ovl_inode_lower() 406 struct inode *ovl_inode_real(struct inode *inode) in ovl_inode_real() 412 struct inode *ovl_inode_lowerdata(struct inode *inode) in ovl_inode_lowerdata() 423 struct inode *ovl_inode_realdata(struct inode *inode) in ovl_inode_realdata() 434 const char *ovl_lowerdata_redirect(struct inode *inode) in ovl_lowerdata_redirect() 440 struct ovl_dir_cache *ovl_dir_cache(struct inode *inode) in ovl_dir_cache() [all …]
|
| /linux/fs/configfs/ |
| H A D | inode.c | 38 struct inode * inode = d_inode(dentry); in configfs_setattr() local 88 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr() 94 static inline void set_inode_attr(struct inode * inode, struct iattr * iattr) in set_inode_attr() 107 struct inode * inode = new_inode(s); in configfs_new_inode() local 128 struct inode *inode) in configfs_set_inode_lock_class() 150 struct inode *inode) in configfs_set_inode_lock_class() 158 struct inode *inode = NULL; in configfs_create() local
|