| /linux/fs/ |
| H A D | inode.c | 212 static int no_open(struct inode *inode, struct file *file) in no_open() 227 int inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp) in inode_init_always_gfp() 315 void free_inode_nonrcu(struct inode *inode) in free_inode_nonrcu() 323 struct inode *inode = container_of(head, struct inode, i_rcu); in i_callback() local 343 struct inode *inode; in alloc_inode() local 367 void __destroy_inode(struct inode *inode) in __destroy_inode() 389 static void destroy_inode(struct inode *inode) in destroy_inode() 415 void drop_nlink(struct inode *inode) in drop_nlink() 432 void clear_nlink(struct inode *inode) in clear_nlink() 449 void set_nlink(struct inode *inode, unsigned int nlink) in set_nlink() [all …]
|
| /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() 96 nfs_end_io_write(struct inode *inode) in nfs_end_io_write() 102 static void nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_buffered() 127 nfs_start_io_direct(struct inode *inode) in nfs_start_io_direct() 158 nfs_end_io_direct(struct inode *inode) in nfs_end_io_direct()
|
| H A D | file.c | 63 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open() 81 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release() 103 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size() 126 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() local 143 struct inode *inode = file_inode(file); in nfs_file_flush() local 161 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read() local 192 struct inode *inode = file_inode(in); in nfs_file_splice_read() local 216 struct inode *inode = file_inode(file); in nfs_file_mmap_prepare() local 241 struct inode *inode = file_inode(file); in nfs_file_fsync_commit() local 257 struct inode *inode = file_inode(file); in nfs_file_fsync() local [all …]
|
| H A D | delegation.c | 110 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) in nfs4_get_valid_delegation() 120 static int nfs4_do_check_delegation(struct inode *inode, fmode_t type, in nfs4_do_check_delegation() 149 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags) in nfs4_have_delegation() 160 int nfs4_check_delegation(struct inode *inode, fmode_t type) in nfs4_check_delegation() 167 struct inode *inode = state->inode; in nfs_delegation_claim_locks() local 197 static int nfs_delegation_claim_opens(struct inode *inode, in nfs_delegation_claim_opens() 247 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 286 static int nfs_do_return_delegation(struct inode *inode, in nfs_do_return_delegation() 306 struct inode *inode = NULL; in nfs_delegation_grab_inode() local 406 nfs_inode_detach_delegation(struct inode *inode) in nfs_inode_detach_delegation() [all …]
|
| /linux/include/linux/ |
| H A D | quotaops.h | 24 struct inode *inode, struct iattr *ia) in is_quota_modification() 216 static inline int dquot_initialize(struct inode *inode) in dquot_initialize() 221 static inline bool dquot_initialize_needed(struct inode *inode) in dquot_initialize_needed() 226 static inline void dquot_drop(struct inode *inode) in dquot_drop() 230 static inline int dquot_alloc_inode(struct inode *inode) in dquot_alloc_inode() 235 static inline void dquot_free_inode(struct inode *inode) in dquot_free_inode() 240 struct inode *inode, struct iattr *iattr) in dquot_transfer() 245 static inline int __dquot_alloc_space(struct inode *inode, qsize_t number, in __dquot_alloc_space() 253 static inline void __dquot_free_space(struct inode *inode, qsize_t number, in __dquot_free_space() 260 static inline void dquot_claim_space_nodirty(struct inode *inode, qsize_t number) in dquot_claim_space_nodirty() [all …]
|
| 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/nilfs2/ |
| H A D | mdt.c | 30 nilfs_mdt_insert_new_block(struct inode *inode, unsigned long block, in nilfs_mdt_insert_new_block() 32 void (*init_block)(struct inode *, in nilfs_mdt_insert_new_block() 69 static int nilfs_mdt_create_block(struct inode *inode, unsigned long block, in nilfs_mdt_create_block() 71 void (*init_block)(struct inode *, in nilfs_mdt_create_block() 116 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, in nilfs_mdt_submit_block() 170 static int nilfs_mdt_read_block(struct inode *inode, unsigned long block, in nilfs_mdt_read_block() 245 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() 246 void (*init_block)(struct inode *, in nilfs_mdt_get_block() 285 int nilfs_mdt_find_block(struct inode *inode, unsigned long start, in nilfs_mdt_find_block() 328 int nilfs_mdt_delete_block(struct inode *inode, unsigned long block) in nilfs_mdt_delete_block() [all …]
|
| H A D | inode.c | 43 void nilfs_inode_add_blocks(struct inode *inode, int n) in nilfs_inode_add_blocks() 52 void nilfs_inode_sub_blocks(struct inode *inode, int n) in nilfs_inode_sub_blocks() 74 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() 162 struct inode *inode = mapping->host; in nilfs_writepages() local 180 struct inode *inode = mapping->host; in nilfs_dirty_folio() local 213 struct inode *inode = mapping->host; in nilfs_write_failed() local 227 struct inode *inode = mapping->host; in nilfs_write_begin() local 246 struct inode *inode = mapping->host; in nilfs_write_end() local 263 struct inode *inode = file_inode(iocb->ki_filp); in nilfs_direct_IO() local 289 static int nilfs_insert_inode_locked(struct inode *inode, in nilfs_insert_inode_locked() [all …]
|
| /linux/fs/ext4/ |
| H A D | inode.c | 58 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() 88 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify() 109 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_set() 126 static inline int ext4_begin_ordered_truncate(struct inode *inode, in ext4_begin_ordered_truncate() 147 int ext4_inode_is_fast_symlink(struct inode *inode) in ext4_inode_is_fast_symlink() 165 void ext4_evict_inode(struct inode *inode) in ext4_evict_inode() 324 qsize_t *ext4_get_reserved_space(struct inode *inode) in ext4_get_reserved_space() 334 void ext4_da_update_reserve_space(struct inode *inode, in ext4_da_update_reserve_space() 379 static int __check_block_validity(struct inode *inode, const char *func, in __check_block_validity() 398 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() [all …]
|
| H A D | file.c | 57 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio() local 72 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter() local 104 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter() local 132 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter() local 154 struct inode *inode = file_inode(in); in ext4_file_splice_read() local 166 static int ext4_release_file(struct inode *inode, struct file *filp) in ext4_release_file() 196 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io() 208 ext4_extending_io(struct inode *inode, loff_t offset, size_t len) in ext4_extending_io() 217 static bool ext4_overwrite_io(struct inode *inode, in ext4_overwrite_io() 246 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks() local [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/f2fs/ |
| H A D | inode.c | 26 void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync) in f2fs_mark_inode_dirty_sync() 45 void f2fs_set_inode_flags(struct inode *inode) in f2fs_set_inode_flags() 71 static void __get_inode_rdev(struct inode *inode, struct folio *node_folio) in __get_inode_rdev() 84 static void __set_inode_rdev(struct inode *inode, struct folio *node_folio) in __set_inode_rdev() 100 static void __recover_inline_status(struct inode *inode, struct folio *ifolio) in __recover_inline_status() 198 static bool sanity_check_compress_inode(struct inode *inode, in sanity_check_compress_inode() 270 static bool sanity_check_inode(struct inode *inode, struct folio *node_folio) in sanity_check_inode() 404 static void init_idisk_time(struct inode *inode) in init_idisk_time() 413 static int do_read_inode(struct inode *inode) in do_read_inode() 571 struct inode *inode; in f2fs_iget() local [all …]
|
| H A D | file.c | 38 static void f2fs_zero_post_eof_page(struct inode *inode, in f2fs_zero_post_eof_page() 59 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() local 76 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() local 197 static int get_parent_ino(struct inode *inode, nid_t *pino) in get_parent_ino() 214 static inline enum cp_reason_type need_do_checkpoint(struct inode *inode) in need_do_checkpoint() 261 static void try_to_fix_pino(struct inode *inode) in try_to_fix_pino() 278 struct inode *inode = file->f_mapping->host; in f2fs_do_sync_file() local 424 struct inode *inode = mapping->host; in __found_offset() local 456 struct inode *inode = file->f_mapping->host; in f2fs_seek_block() local 538 struct inode *inode = file->f_mapping->host; in f2fs_llseek() local [all …]
|
| /linux/fs/smb/client/ |
| H A D | fscache.h | 49 void cifs_fscache_fill_coherency(struct inode *inode, in cifs_fscache_fill_coherency() 63 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) in cifs_inode_cookie() 68 static inline void cifs_invalidate_cache(struct inode *inode, unsigned int flags) in cifs_invalidate_cache() 77 static inline bool cifs_fscache_enabled(struct inode *inode) in cifs_fscache_enabled() 84 void cifs_fscache_fill_coherency(struct inode *inode, in cifs_fscache_fill_coherency() 92 static inline void cifs_fscache_get_inode_cookie(struct inode *inode) {} in cifs_fscache_get_inode_cookie() 93 static inline void cifs_fscache_release_inode_cookie(struct inode *inode) {} in cifs_fscache_release_inode_cookie() 94 static inline void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update) {} in cifs_fscache_unuse_inode_cookie() 95 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) { return NULL; } in cifs_inode_cookie() 96 static inline void cifs_invalidate_cache(struct inode *inode, unsigned int flags) {} in cifs_invalidate_cache() [all …]
|
| /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 | 52 static int ocfs2_init_file_private(struct inode *inode, struct file *file) in ocfs2_init_file_private() 68 static void ocfs2_free_file_private(struct inode *inode, struct file *file) in ocfs2_free_file_private() 81 static int ocfs2_file_open(struct inode *inode, struct file *file) in ocfs2_file_open() 133 static int ocfs2_file_release(struct inode *inode, struct file *file) in ocfs2_file_release() 153 static int ocfs2_dir_open(struct inode *inode, struct file *file) in ocfs2_dir_open() 158 static int ocfs2_dir_release(struct inode *inode, struct file *file) in ocfs2_dir_release() 168 struct inode *inode = file->f_mapping->host; in ocfs2_sync_file() local 206 int ocfs2_should_update_atime(struct inode *inode, in ocfs2_should_update_atime() 253 int ocfs2_update_inode_atime(struct inode *inode, in ocfs2_update_inode_atime() 293 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/fat/ |
| H A D | file.c | 24 static int fat_ioctl_get_attributes(struct inode *inode, u32 __user *user_attr) in fat_ioctl_get_attributes() 37 struct inode *inode = file_inode(file); in fat_ioctl_set_attributes() local 120 static int fat_ioctl_get_volume_id(struct inode *inode, u32 __user *user_attr) in fat_ioctl_get_volume_id() 126 static int fat_ioctl_fitrim(struct inode *inode, unsigned long arg) in fat_ioctl_fitrim() 158 struct inode *inode = file_inode(filp); in fat_generic_ioctl() local 175 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release() 188 struct inode *inode = filp->f_mapping->host; in fat_file_fsync() local 217 static int fat_cont_expand(struct inode *inode, loff_t size) in fat_cont_expand() 266 struct inode *inode = file->f_mapping->host; in fat_fallocate() local 310 static int fat_free(struct inode *inode, int skip) in fat_free() [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() 169 struct inode *inode = mapping->host; in udf_write_failed() local 187 struct inode *inode = mapping->host; in udf_adinicb_writepages() local 207 struct inode *inode = mapping->host; in udf_writepages() local 217 struct inode *inode = folio->mapping->host; in udf_adinicb_read_folio() local 285 struct inode *inode = file_inode(iocb->ki_filp); in udf_write_end() local [all …]
|
| /linux/fs/zonefs/ |
| H A D | file.c | 27 static int zonefs_read_iomap_begin(struct inode *inode, loff_t offset, in zonefs_read_iomap_begin() 64 static int zonefs_write_iomap_begin(struct inode *inode, loff_t offset, in zonefs_write_iomap_begin() 173 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() local 198 int zonefs_file_truncate(struct inode *inode, loff_t isize) in zonefs_file_truncate() 271 struct inode *inode = file_inode(file); in zonefs_file_fsync() local 294 struct inode *inode = file_inode(vmf->vma->vm_file); in zonefs_filemap_page_mkwrite() local 360 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io() local 403 struct inode *inode = file_inode(file); in zonefs_write_check_limits() local 428 struct inode *inode = file_inode(file); in zonefs_write_checks() local 471 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write() local [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() 574 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() local 626 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity() local [all …]
|
| /linux/fs/ext2/ |
| H A D | inode.c | 48 static inline int ext2_inode_is_fast_symlink(struct inode *inode) in ext2_inode_is_fast_symlink() 61 struct inode *inode = mapping->host; in ext2_write_failed() local 72 void ext2_evict_inode(struct inode * inode) in ext2_evict_inode() 163 static int ext2_block_to_path(struct inode *inode, in ext2_block_to_path() 234 static Indirect *ext2_get_branch(struct inode *inode, in ext2_get_branch() 294 static ext2_fsblk_t ext2_find_near(struct inode *inode, Indirect *ind) in ext2_find_near() 330 static inline ext2_fsblk_t ext2_find_goal(struct inode *inode, long block, in ext2_find_goal() 399 static int ext2_alloc_blocks(struct inode *inode, in ext2_alloc_blocks() 479 static int ext2_alloc_branch(struct inode *inode, in ext2_alloc_branch() 561 static void ext2_splice_branch(struct inode *inode, in ext2_splice_branch() [all …]
|
| /linux/fs/exfat/ |
| H A D | inode.c | 20 int __exfat_write_inode(struct inode *inode, int sync) in __exfat_write_inode() 101 int exfat_write_inode(struct inode *inode, struct writeback_control *wbc) in exfat_write_inode() 115 void exfat_sync_inode(struct inode *inode) in exfat_sync_inode() 126 static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset, in exfat_map_cluster() 264 static int exfat_get_block(struct inode *inode, sector_t iblock, in exfat_get_block() 416 struct inode *inode = mapping->host; in exfat_readahead() local 440 struct inode *inode = mapping->host; in exfat_write_failed() local 472 struct inode *inode = mapping->host; in exfat_write_end() local 497 struct inode *inode = mapping->host; in exfat_direct_IO() local 554 int exfat_block_truncate_page(struct inode *inode, loff_t from) in exfat_block_truncate_page() [all …]
|