/fs/ |
D | inode.c | 118 static int no_open(struct inode *inode, struct file *file) in no_open() 131 int inode_init_always(struct super_block *sb, struct inode *inode) in inode_init_always() 209 void free_inode_nonrcu(struct inode *inode) in free_inode_nonrcu() 217 struct inode *inode = container_of(head, struct inode, i_rcu); in i_callback() local 227 struct inode *inode; in alloc_inode() local 251 void __destroy_inode(struct inode *inode) in __destroy_inode() 273 static void destroy_inode(struct inode *inode) in destroy_inode() 299 void drop_nlink(struct inode *inode) in drop_nlink() 316 void clear_nlink(struct inode *inode) in clear_nlink() 333 void set_nlink(struct inode *inode, unsigned int nlink) in set_nlink() [all …]
|
/fs/nfs/ |
D | inode.c | 113 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode() 119 void nfs_clear_inode(struct inode *inode) in nfs_clear_inode() 132 void nfs_evict_inode(struct inode *inode) in nfs_evict_inode() 139 int nfs_sync_inode(struct inode *inode) in nfs_sync_inode() 161 static int nfs_attribute_timeout(struct inode *inode) in nfs_attribute_timeout() 168 static bool nfs_check_cache_invalid_delegated(struct inode *inode, unsigned long flags) in nfs_check_cache_invalid_delegated() 179 static bool nfs_check_cache_invalid_not_delegated(struct inode *inode, unsigned long flags) in nfs_check_cache_invalid_not_delegated() 190 bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags) in nfs_check_cache_invalid() 198 static void nfs_set_cache_invalid(struct inode *inode, unsigned long flags) in nfs_set_cache_invalid() 221 static void nfs_zap_caches_locked(struct inode *inode) in nfs_zap_caches_locked() [all …]
|
D | io.c | 18 static void nfs_block_o_direct(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_o_direct() 43 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() 92 nfs_end_io_write(struct inode *inode) in nfs_end_io_write() 98 static void nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_buffered() 123 nfs_start_io_direct(struct inode *inode) in nfs_start_io_direct() 145 nfs_end_io_direct(struct inode *inode) in nfs_end_io_direct()
|
D | delegation.c | 56 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) in nfs4_get_valid_delegation() 67 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation() 91 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation() 100 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation() 107 struct inode *inode = state->inode; in nfs_delegation_claim_locks() local 137 static int nfs_delegation_claim_opens(struct inode *inode, in nfs_delegation_claim_opens() 190 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 223 static int nfs_do_return_delegation(struct inode *inode, struct nfs_delegation *delegation, int iss… in nfs_do_return_delegation() 238 struct inode *inode = NULL; in nfs_delegation_grab_inode() local 322 nfs_inode_detach_delegation(struct inode *inode) in nfs_inode_detach_delegation() [all …]
|
D | fscache.h | 119 struct inode *inode) in nfs_fscache_invalidate_page() 129 struct inode *inode, in nfs_readpage_from_fscache() 141 struct inode *inode, in nfs_readpages_from_fscache() 156 static inline void nfs_readpage_to_fscache(struct inode *inode, in nfs_readpage_to_fscache() 167 static inline void nfs_fscache_invalidate(struct inode *inode) in nfs_fscache_invalidate() 175 static inline void nfs_fscache_wait_on_invalidate(struct inode *inode) in nfs_fscache_wait_on_invalidate() 199 static inline void nfs_fscache_init_inode(struct inode *inode) {} in nfs_fscache_init_inode() 200 static inline void nfs_fscache_clear_inode(struct inode *inode) {} in nfs_fscache_clear_inode() 201 static inline void nfs_fscache_open_file(struct inode *inode, in nfs_fscache_open_file() 209 struct inode *inode) {} in nfs_fscache_invalidate_page() [all …]
|
/fs/9p/ |
D | cache.h | 53 static inline int v9fs_readpage_from_fscache(struct inode *inode, in v9fs_readpage_from_fscache() 59 static inline int v9fs_readpages_from_fscache(struct inode *inode, in v9fs_readpages_from_fscache() 68 static inline void v9fs_readpage_to_fscache(struct inode *inode, in v9fs_readpage_to_fscache() 75 static inline void v9fs_uncache_page(struct inode *inode, struct page *page) in v9fs_uncache_page() 82 static inline void v9fs_fscache_wait_on_page_write(struct inode *inode, in v9fs_fscache_wait_on_page_write() 90 static inline void v9fs_cache_inode_get_cookie(struct inode *inode) in v9fs_cache_inode_get_cookie() 94 static inline void v9fs_cache_inode_put_cookie(struct inode *inode) in v9fs_cache_inode_put_cookie() 98 static inline void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *file) in v9fs_cache_inode_set_cookie() 109 static inline int v9fs_readpage_from_fscache(struct inode *inode, in v9fs_readpage_from_fscache() 115 static inline int v9fs_readpages_from_fscache(struct inode *inode, in v9fs_readpages_from_fscache() [all …]
|
D | cache.c | 102 void v9fs_cache_inode_get_cookie(struct inode *inode) in v9fs_cache_inode_get_cookie() 129 void v9fs_cache_inode_put_cookie(struct inode *inode) in v9fs_cache_inode_put_cookie() 143 void v9fs_cache_inode_flush_cookie(struct inode *inode) in v9fs_cache_inode_flush_cookie() 156 void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *filp) in v9fs_cache_inode_set_cookie() 173 void v9fs_cache_inode_reset_cookie(struct inode *inode) in v9fs_cache_inode_reset_cookie() 205 struct inode *inode = page->mapping->host; in __v9fs_fscache_release_page() local 215 struct inode *inode = page->mapping->host; in __v9fs_fscache_invalidate_page() local 243 int __v9fs_readpage_from_fscache(struct inode *inode, struct page *page) in __v9fs_readpage_from_fscache() 278 int __v9fs_readpages_from_fscache(struct inode *inode, in __v9fs_readpages_from_fscache() 316 void __v9fs_readpage_to_fscache(struct inode *inode, struct page *page) in __v9fs_readpage_to_fscache() [all …]
|
/fs/nilfs2/ |
D | alloc.c | 26 nilfs_palloc_groups_per_desc_block(const struct inode *inode) in nilfs_palloc_groups_per_desc_block() 37 nilfs_palloc_groups_count(const struct inode *inode) in nilfs_palloc_groups_count() 47 int nilfs_palloc_init_blockgroup(struct inode *inode, unsigned int entry_size) in nilfs_palloc_init_blockgroup() 82 static unsigned long nilfs_palloc_group(const struct inode *inode, __u64 nr, in nilfs_palloc_group() 100 nilfs_palloc_desc_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_desc_blkoff() 116 nilfs_palloc_bitmap_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_bitmap_blkoff() 166 nilfs_palloc_entry_blkoff(const struct inode *inode, __u64 nr) in nilfs_palloc_entry_blkoff() 182 static void nilfs_palloc_desc_block_init(struct inode *inode, in nilfs_palloc_desc_block_init() 196 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() 198 void (*init_block)(struct inode *, in nilfs_palloc_get_block() [all …]
|
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() 66 static int nilfs_mdt_create_block(struct inode *inode, unsigned long block, in nilfs_mdt_create_block() 68 void (*init_block)(struct inode *, in nilfs_mdt_create_block() 114 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, in nilfs_mdt_submit_block() 167 static int nilfs_mdt_read_block(struct inode *inode, unsigned long block, in nilfs_mdt_read_block() 241 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() 242 void (*init_block)(struct inode *, in nilfs_mdt_get_block() 284 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 …]
|
D | inode.c | 41 void nilfs_inode_add_blocks(struct inode *inode, int n) in nilfs_inode_add_blocks() 50 void nilfs_inode_sub_blocks(struct inode *inode, int n) in nilfs_inode_sub_blocks() 70 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() 165 struct inode *inode = mapping->host; in nilfs_writepages() local 182 struct inode *inode = page->mapping->host; in nilfs_writepage() local 212 struct inode *inode = page->mapping->host; in nilfs_set_page_dirty() local 248 struct inode *inode = mapping->host; in nilfs_write_failed() local 261 struct inode *inode = mapping->host; in nilfs_write_begin() local 280 struct inode *inode = mapping->host; in nilfs_write_end() local 297 struct inode *inode = file_inode(iocb->ki_filp); in nilfs_direct_IO() local [all …]
|
/fs/ceph/ |
D | cache.h | 41 static inline void ceph_fscache_invalidate(struct inode *inode) in ceph_fscache_invalidate() 46 static inline void ceph_fscache_uncache_page(struct inode *inode, in ceph_fscache_uncache_page() 55 struct inode* inode = page->mapping->host; in ceph_release_fscache_page() local 60 static inline void ceph_fscache_readpage_cancel(struct inode *inode, in ceph_fscache_readpage_cancel() 68 static inline void ceph_fscache_readpages_cancel(struct inode *inode, in ceph_fscache_readpages_cancel() 104 static inline void ceph_fscache_register_inode_cookie(struct inode *inode) in ceph_fscache_register_inode_cookie() 112 static inline void ceph_fscache_file_set_cookie(struct inode *inode, in ceph_fscache_file_set_cookie() 121 static inline void ceph_fscache_uncache_page(struct inode *inode, in ceph_fscache_uncache_page() 126 static inline int ceph_readpage_from_fscache(struct inode* inode, in ceph_readpage_from_fscache() 132 static inline int ceph_readpages_from_fscache(struct inode *inode, in ceph_readpages_from_fscache() [all …]
|
D | io.c | 22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_o_direct() 51 ceph_start_io_read(struct inode *inode) in ceph_start_io_read() 74 ceph_end_io_read(struct inode *inode) in ceph_end_io_read() 87 ceph_start_io_write(struct inode *inode) in ceph_start_io_write() 101 ceph_end_io_write(struct inode *inode) in ceph_end_io_write() 107 static void ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_buffered() 137 ceph_start_io_direct(struct inode *inode) in ceph_start_io_direct() 160 ceph_end_io_direct(struct inode *inode) in ceph_end_io_direct()
|
/fs/cifs/ |
D | fscache.h | 77 struct inode *inode) in cifs_fscache_invalidate_page() 83 static inline int cifs_readpage_from_fscache(struct inode *inode, in cifs_readpage_from_fscache() 92 static inline int cifs_readpages_from_fscache(struct inode *inode, in cifs_readpages_from_fscache() 103 static inline void cifs_readpage_to_fscache(struct inode *inode, in cifs_readpage_to_fscache() 110 static inline void cifs_fscache_readpages_cancel(struct inode *inode, in cifs_fscache_readpages_cancel() 129 static inline void cifs_fscache_release_inode_cookie(struct inode *inode) {} in cifs_fscache_release_inode_cookie() 130 static inline void cifs_fscache_set_inode_cookie(struct inode *inode, in cifs_fscache_set_inode_cookie() 132 static inline void cifs_fscache_reset_inode_cookie(struct inode *inode) {} in cifs_fscache_reset_inode_cookie() 139 struct inode *inode) {} in cifs_fscache_invalidate_page() 141 cifs_readpage_from_fscache(struct inode *inode, struct page *page) in cifs_readpage_from_fscache() [all …]
|
/fs/ext4/ |
D | inode.c | 54 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() 86 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify() 107 static void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_set() 124 static inline int ext4_begin_ordered_truncate(struct inode *inode, in ext4_begin_ordered_truncate() 152 int ext4_inode_is_fast_symlink(struct inode *inode) in ext4_inode_is_fast_symlink() 172 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans() 196 void ext4_evict_inode(struct inode *inode) in ext4_evict_inode() 353 qsize_t *ext4_get_reserved_space(struct inode *inode) in ext4_get_reserved_space() 363 void ext4_da_update_reserve_space(struct inode *inode, in ext4_da_update_reserve_space() 408 static int __check_block_validity(struct inode *inode, const char *func, in __check_block_validity() [all …]
|
D | extents_status.c | 178 static void ext4_es_print_tree(struct inode *inode) in ext4_es_print_tree() 197 #define ext4_es_print_tree(inode) argument 256 static void __es_find_extent_range(struct inode *inode, in __es_find_extent_range() 309 void ext4_es_find_extent_range(struct inode *inode, in ext4_es_find_extent_range() 338 static bool __es_scan_range(struct inode *inode, in __es_scan_range() 358 bool ext4_es_scan_range(struct inode *inode, in ext4_es_scan_range() 385 static bool __es_scan_clu(struct inode *inode, in __es_scan_clu() 401 bool ext4_es_scan_clu(struct inode *inode, in ext4_es_scan_clu() 414 static void ext4_es_list_add(struct inode *inode) in ext4_es_list_add() 430 static void ext4_es_list_del(struct inode *inode) in ext4_es_list_del() [all …]
|
D | extents.c | 48 static __le32 ext4_extent_block_csum(struct inode *inode, in ext4_extent_block_csum() 60 static int ext4_extent_block_csum_verify(struct inode *inode, in ext4_extent_block_csum_verify() 74 static void ext4_extent_block_csum_set(struct inode *inode, in ext4_extent_block_csum_set() 104 struct inode *inode, in ext4_ext_truncate_extend_restart() 133 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access() 153 struct inode *inode, struct ext4_ext_path *path) in __ext4_ext_dirty() 170 static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode, in ext4_ext_find_goal() 220 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block() 232 static inline int ext4_ext_space_block(struct inode *inode, int check) in ext4_ext_space_block() 245 static inline int ext4_ext_space_block_idx(struct inode *inode, int check) in ext4_ext_space_block_idx() [all …]
|
/fs/reiserfs/ |
D | inode.c | 27 void reiserfs_evict_inode(struct inode *inode) in reiserfs_evict_inode() 127 void make_cpu_key(struct cpu_key *key, struct inode *inode, loff_t offset, in make_cpu_key() 232 b_blocknr_t block, struct inode *inode) in set_block_dev_mapped() 241 static int file_capable(struct inode *inode, sector_t block) in file_capable() 253 struct inode *inode, struct treepath *path) in restart_transaction() 285 static int _get_block_create_0(struct inode *inode, sector_t block, in _get_block_create_0() 472 static int reiserfs_bmap(struct inode *inode, sector_t block, in reiserfs_bmap() 503 static int reiserfs_get_block_create_0(struct inode *inode, sector_t block, in reiserfs_get_block_create_0() 514 static int reiserfs_get_blocks_direct_io(struct inode *inode, in reiserfs_get_blocks_direct_io() 576 static int convert_tail_for_hole(struct inode *inode, in convert_tail_for_hole() [all …]
|
D | xattr.h | 22 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir) argument 50 static inline loff_t reiserfs_xattr_nblocks(struct inode *inode, loff_t size) in reiserfs_xattr_nblocks() 72 static inline size_t reiserfs_xattr_jcreate_nblocks(struct inode *inode) in reiserfs_xattr_jcreate_nblocks() 85 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem() 94 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem() 101 struct inode *inode, in reiserfs_security_init() 109 struct inode *inode, in reiserfs_security_write()
|
/fs/f2fs/ |
D | inode.c | 21 void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync) in f2fs_mark_inode_dirty_sync() 32 void f2fs_set_inode_flags(struct inode *inode) in f2fs_set_inode_flags() 58 static void __get_inode_rdev(struct inode *inode, struct f2fs_inode *ri) in __get_inode_rdev() 85 static void __set_inode_rdev(struct inode *inode, struct f2fs_inode *ri) in __set_inode_rdev() 103 static void __recover_inline_status(struct inode *inode, struct page *ipage) in __recover_inline_status() 199 static bool sanity_check_inode(struct inode *inode, struct page *node_page) in sanity_check_inode() 292 static int do_read_inode(struct inode *inode) in do_read_inode() 426 struct inode *inode; in f2fs_iget() local 488 struct inode *inode; in f2fs_iget_retry() local 500 void f2fs_update_inode(struct inode *inode, struct page *node_page) in f2fs_update_inode() [all …]
|
D | file.c | 36 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() local 51 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() local 136 static int get_parent_ino(struct inode *inode, nid_t *pino) in get_parent_ino() 151 static inline enum cp_reason_type need_do_checkpoint(struct inode *inode) in need_do_checkpoint() 192 static void try_to_fix_pino(struct inode *inode) in try_to_fix_pino() 209 struct inode *inode = file->f_mapping->host; in f2fs_do_sync_file() local 380 struct inode *inode = file->f_mapping->host; in f2fs_seek_block() local 461 struct inode *inode = file->f_mapping->host; in f2fs_llseek() local 482 struct inode *inode = file_inode(file); in f2fs_file_mmap() local 498 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open() [all …]
|
/fs/ocfs2/ |
D | file.c | 54 static int ocfs2_init_file_private(struct inode *inode, struct file *file) in ocfs2_init_file_private() 70 static void ocfs2_free_file_private(struct inode *inode, struct file *file) in ocfs2_free_file_private() 83 static int ocfs2_file_open(struct inode *inode, struct file *file) in ocfs2_file_open() 135 static int ocfs2_file_release(struct inode *inode, struct file *file) in ocfs2_file_release() 155 static int ocfs2_dir_open(struct inode *inode, struct file *file) in ocfs2_dir_open() 160 static int ocfs2_dir_release(struct inode *inode, struct file *file) in ocfs2_dir_release() 170 struct inode *inode = file->f_mapping->host; in ocfs2_sync_file() local 208 int ocfs2_should_update_atime(struct inode *inode, in ocfs2_should_update_atime() 251 int ocfs2_update_inode_atime(struct inode *inode, in ocfs2_update_inode_atime() 291 struct inode *inode, in ocfs2_set_inode_size() [all …]
|
D | inode.c | 73 void ocfs2_set_inode_flags(struct inode *inode) in ocfs2_set_inode_flags() 127 struct inode *inode = NULL; in ocfs2_iget() local 213 static int ocfs2_find_actor(struct inode *inode, void *opaque) in ocfs2_find_actor() 238 static int ocfs2_init_locked_inode(struct inode *inode, void *opaque) in ocfs2_init_locked_inode() 262 void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, in ocfs2_populate_inode() 403 static int ocfs2_read_locked_inode(struct inode *inode, in ocfs2_read_locked_inode() 581 struct inode *inode, in ocfs2_truncate_for_delete() 636 static int ocfs2_remove_inode(struct inode *inode, in ocfs2_remove_inode() 750 static int ocfs2_wipe_inode(struct inode *inode, in ocfs2_wipe_inode() 841 static int ocfs2_inode_is_valid_to_delete(struct inode *inode) in ocfs2_inode_is_valid_to_delete() [all …]
|
/fs/fat/ |
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 119 static int fat_ioctl_get_volume_id(struct inode *inode, u32 __user *user_attr) in fat_ioctl_get_volume_id() 125 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 184 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release() 196 struct inode *inode = filp->f_mapping->host; in fat_file_fsync() local 227 static int fat_cont_expand(struct inode *inode, loff_t size) in fat_cont_expand() 276 struct inode *inode = file->f_mapping->host; in fat_fallocate() local 320 static int fat_free(struct inode *inode, int skip) in fat_free() [all …]
|
/fs/hfs/ |
D | inode.c | 43 struct inode *inode = mapping->host; in hfs_write_failed() local 74 struct inode *inode = page->mapping->host; in hfs_releasepage() local 133 struct inode *inode = mapping->host; in hfs_direct_IO() local 185 struct inode *inode = new_inode(sb); in hfs_new_inode() local 239 void hfs_delete_inode(struct inode *inode) in hfs_delete_inode() 265 void hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, in hfs_inode_read_fork() 293 static int hfs_test_inode(struct inode *inode, void *data) in hfs_test_inode() 313 static int hfs_read_inode(struct inode *inode, void *data) in hfs_read_inode() 387 struct inode *inode; in hfs_iget() local 406 void hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, in hfs_inode_write_fork() [all …]
|
/fs/hfsplus/ |
D | inode.c | 37 struct inode *inode = mapping->host; in hfsplus_write_failed() local 68 struct inode *inode = page->mapping->host; in hfsplus_releasepage() local 130 struct inode *inode = mapping->host; in hfsplus_direct_IO() local 181 static void hfsplus_get_perms(struct inode *inode, in hfsplus_get_perms() 215 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open() 225 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release() 246 struct inode *inode = d_inode(dentry); in hfsplus_setattr() local 276 struct inode *inode = d_inode(path->dentry); in hfsplus_getattr() local 296 struct inode *inode = file->f_mapping->host; in hfsplus_file_fsync() local 372 struct inode *inode = new_inode(sb); in hfsplus_new_inode() local [all …]
|