/linux/fs/ |
A D | inode.c | 232 struct inode *inode; in alloc_inode() local 407 struct inode *inode = (struct inode *) foo; in init_once() local 618 struct inode *inode; in dispose_list() local 969 struct inode *inode; in new_inode() local 1193 struct inode *inode; in iget_locked() local 1261 struct inode *inode; in test_inode_iunique() local 1309 struct inode *igrab(struct inode *inode) in igrab() argument 1348 struct inode *inode; in ilookup5_nowait() local 1378 struct inode *inode; in ilookup5() local 1403 struct inode *inode; in ilookup() local [all …]
|
A D | fs-writeback.c | 623 struct inode *inode; in cleanup_offline_cgwb() local 689 struct inode *inode) in wbc_attach_and_unlock_inode() argument 697 wbc->inode = inode; in wbc_attach_and_unlock_inode() 761 struct inode *inode = wbc->inode; in wbc_detach_inode() local 916 if (inode && inode_to_wb_is_valid(inode)) { in inode_congested() 1266 void inode_io_list_del(struct inode *inode) in inode_io_list_del() argument 1395 struct inode *inode; in move_expired_inodes() local 1808 struct inode *inode = wb_inode(wb->b_io.prev); in writeback_sb_inodes() local 1939 struct inode *inode = wb_inode(wb->b_io.prev); in __writeback_inodes_wb() local 2008 struct inode *inode; in wb_writeback() local [all …]
|
/linux/fs/f2fs/ |
A D | inode.c | 36 void f2fs_set_inode_flags(struct inode *inode) in f2fs_set_inode_flags() argument 283 __func__, inode->i_ino, inode->i_mode); in sanity_check_inode() 290 __func__, inode->i_ino, inode->i_mode); in sanity_check_inode() 337 static int do_read_inode(struct inode *inode) in do_read_inode() argument 469 F2FS_I(inode)->i_disk_time[0] = inode->i_atime; in do_read_inode() 470 F2FS_I(inode)->i_disk_time[1] = inode->i_ctime; in do_read_inode() 487 struct inode *inode; in f2fs_iget() local 541 init_special_inode(inode, inode->i_mode, inode->i_rdev); in f2fs_iget() 560 struct inode *inode; in f2fs_iget_retry() local 728 void f2fs_evict_inode(struct inode *inode) in f2fs_evict_inode() argument [all …]
|
A D | file.c | 521 struct inode *inode = file_inode(file); in f2fs_file_mmap() local 771 int f2fs_truncate(struct inode *inode) in f2fs_truncate() argument 804 inode->i_mtime = inode->i_ctime = current_time(inode); in f2fs_truncate() 888 struct inode *inode = d_inode(dentry); in f2fs_setattr() local 977 inode->i_mtime = inode->i_ctime = current_time(inode); in f2fs_setattr() 1733 struct inode *inode = file_inode(file); in f2fs_fallocate() local 1779 inode->i_mtime = inode->i_ctime = current_time(inode); in f2fs_fallocate() 1886 inode->i_ctime = current_time(inode); in f2fs_setflags_common() 3033 inode->i_ctime = current_time(inode); in f2fs_ioc_setproject() 3453 inode->i_ctime = current_time(inode); in f2fs_release_compress_blocks() [all …]
|
/linux/fs/affs/ |
A D | inode.c | 23 struct inode *inode; in affs_iget() local 30 if (!inode) in affs_iget() 152 inode->i_mtime.tv_sec = inode->i_atime.tv_sec = inode->i_ctime.tv_sec in affs_iget() 158 inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = inode->i_atime.tv_nsec = 0; in affs_iget() 222 struct inode *inode = d_inode(dentry); in affs_notify_change() local 263 affs_evict_inode(struct inode *inode) in affs_evict_inode() argument 267 inode->i_ino, inode->i_nlink); in affs_evict_inode() 290 affs_free_block(inode->i_sb, inode->i_ino); in affs_evict_inode() 297 struct inode *inode; in affs_new_inode() local 317 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in affs_new_inode() [all …]
|
/linux/fs/nfs/ |
A D | inode.c | 112 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode() argument 118 void nfs_clear_inode(struct inode *inode) in nfs_clear_inode() argument 131 void nfs_evict_inode(struct inode *inode) in nfs_evict_inode() argument 138 int nfs_sync_inode(struct inode *inode) in nfs_sync_inode() argument 255 void nfs_zap_caches(struct inode *inode) in nfs_zap_caches() argument 415 struct inode *inode; in nfs_ilookup() local 1007 struct inode *inode; in nfs_close_context() local 1728 const struct inode *inode) in nfs_inode_attrs_cmp_monotonic() argument 1752 const struct inode *inode) in nfs_inode_attrs_cmp_strict_monotonic() argument 1768 const struct inode *inode) in nfs_inode_attrs_cmp() argument [all …]
|
/linux/include/linux/ |
A D | quotaops.h | 42 int dquot_initialize(struct inode *inode); 43 bool dquot_initialize_needed(struct inode *inode); 44 void dquot_drop(struct inode *inode); 74 int dquot_alloc_inode(struct inode *inode); 77 void dquot_free_inode(struct inode *inode); 95 int dquot_file_open(struct inode *inode, struct file *file); 214 static inline int dquot_initialize(struct inode *inode) in dquot_initialize() argument 224 static inline void dquot_drop(struct inode *inode) in dquot_drop() argument 228 static inline int dquot_alloc_inode(struct inode *inode) in dquot_alloc_inode() argument 233 static inline void dquot_free_inode(struct inode *inode) in dquot_free_inode() argument [all …]
|
A D | fscrypt.h | 119 bool (*empty_dir)(struct inode *inode); 197 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption() 301 int fscrypt_prepare_new_inode(struct inode *dir, struct inode *inode, 304 void fscrypt_free_inode(struct inode *inode); 305 int fscrypt_drop_inode(struct inode *inode); 335 int __fscrypt_prepare_link(struct inode *inode, struct inode *dir, 344 int fscrypt_prepare_setflags(struct inode *inode, 511 struct inode *inode, in fscrypt_prepare_new_inode() argument 614 static inline int __fscrypt_prepare_link(struct inode *inode, struct inode *dir, in __fscrypt_prepare_link() argument 725 const struct inode *inode, in fscrypt_set_bio_crypt_ctx() argument [all …]
|
A D | fs.h | 1664 const struct inode *inode) in i_uid_into_mnt() argument 1678 const struct inode *inode) in i_gid_into_mnt() argument 1936 const struct inode *inode); 2299 struct inode *inode) in HAS_UNMAPPED_ID() argument 2613 extern void ihold(struct inode * inode); 2992 struct inode *inode); 3052 struct inode *inode = file_inode(file); in deny_write_access() local 3171 extern void __iget(struct inode * inode); 3269 struct inode *inode, in blockdev_direct_IO() argument 3461 struct inode *inode; in vma_is_fsdax() local [all …]
|
/linux/fs/ext4/ |
A D | inode.c | 438 struct inode *inode, in ext4_map_blocks_es_recheck() argument 1525 struct inode *inode; member 1548 struct inode *inode = mpd->inode; in mpage_release_unused_pages() local 2185 struct inode *inode = mpd->inode; in mpage_process_page_bufs() local 2311 struct inode *inode = mpd->inode; in mpage_map_and_submit_buffers() local 2360 struct inode *inode = mpd->inode; in mpage_map_one_extent() local 2430 struct inode *inode = mpd->inode; in mpage_map_and_submit_extent() local 2728 mpd.inode = inode; in ext4_writepages() 4688 struct inode *inode; in __ext4_iget() local 5004 struct inode *inode; in __ext4_update_other_inode_time() local [all …]
|
A D | inline.c | 407 struct inode *inode) in ext4_destroy_inline_data_nolock() argument 530 struct inode *inode, in ext4_convert_inline_data_to_extent() argument 650 struct inode *inode, in ext4_try_to_write_inline_data() argument 850 struct inode *inode, in ext4_da_convert_inline_data_to_extent() argument 908 struct inode *inode, in ext4_da_write_inline_data_begin() argument 1031 struct inode *inode, in ext4_add_dirent_to_inline() argument 1142 struct inode *inode, in ext4_finish_convert_inline_dir() argument 1186 struct inode *inode, in ext4_convert_inline_data_nolock() argument 1276 struct inode *dir, struct inode *inode) in ext4_try_add_inline_entry() argument 1612 struct inode *inode) in ext4_try_create_inline_dir() argument [all …]
|
/linux/fs/hfs/ |
A D | inode.c | 44 struct inode *inode = mapping->host; in hfs_write_failed() local 47 truncate_pagecache(inode, inode->i_size); in hfs_write_failed() 134 struct inode *inode = mapping->host; in hfs_direct_IO() local 188 struct inode *inode = new_inode(sb); in hfs_new_inode() local 201 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in hfs_new_inode() 356 inode->i_ctime = inode->i_atime = inode->i_mtime = in hfs_read_inode() 367 inode->i_ctime = inode->i_atime = inode->i_mtime = in hfs_read_inode() 390 struct inode *inode; in hfs_iget() local 423 struct inode *main_inode = inode; in hfs_write_inode() 510 struct inode *inode = NULL; in hfs_file_lookup() local [all …]
|
/linux/fs/reiserfs/ |
A D | inode.c | 27 void reiserfs_evict_inode(struct inode *inode) in reiserfs_evict_inode() argument 39 if (!inode->i_nlink && !is_bad_inode(inode)) in reiserfs_evict_inode() 641 struct inode *inode, in _allocate_block() argument 1638 struct inode *inode; in reiserfs_iget() local 1670 struct inode *inode; in reiserfs_get_dentry() local 1799 struct inode *inode, in reiserfs_new_directory() argument 1862 struct inode *inode, in reiserfs_new_symlink() argument 1925 struct inode *inode, in reiserfs_new_inode() argument 1997 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in reiserfs_new_inode() 2040 inode2sd(&sd, inode, inode->i_size); in reiserfs_new_inode() [all …]
|
/linux/fs/nilfs2/ |
A D | inode.c | 157 struct inode *inode = mapping->host; in nilfs_writepages() local 240 struct inode *inode = mapping->host; in nilfs_write_failed() local 253 struct inode *inode = mapping->host; in nilfs_write_begin() local 272 struct inode *inode = mapping->host; in nilfs_write_end() local 327 struct inode *inode; in nilfs_new_inode() local 353 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in nilfs_new_inode() 468 struct inode *inode) in __nilfs_read_inode() argument 501 inode, inode->i_mode, in __nilfs_read_inode() 576 struct inode *inode; in nilfs_iget() local 600 struct inode *inode; in nilfs_iget_for_gc() local [all …]
|
A D | alloc.c | 26 nilfs_palloc_groups_per_desc_block(const struct inode *inode) in nilfs_palloc_groups_per_desc_block() argument 37 nilfs_palloc_groups_count(const struct inode *inode) in nilfs_palloc_groups_count() argument 259 static int nilfs_palloc_get_desc_block(struct inode *inode, in nilfs_palloc_get_desc_block() argument 498 int nilfs_palloc_prepare_alloc_entry(struct inode *inode, in nilfs_palloc_prepare_alloc_entry() argument 598 void nilfs_palloc_commit_free_entry(struct inode *inode, in nilfs_palloc_commit_free_entry() argument 639 void nilfs_palloc_abort_alloc_entry(struct inode *inode, in nilfs_palloc_abort_alloc_entry() argument 680 int nilfs_palloc_prepare_free_entry(struct inode *inode, in nilfs_palloc_prepare_free_entry() argument 707 void nilfs_palloc_abort_free_entry(struct inode *inode, in nilfs_palloc_abort_free_entry() argument 837 void nilfs_palloc_setup_cache(struct inode *inode, in nilfs_palloc_setup_cache() argument 844 void nilfs_palloc_clear_cache(struct inode *inode) in nilfs_palloc_clear_cache() argument [all …]
|
A D | mdt.h | 73 int nilfs_mdt_find_block(struct inode *inode, unsigned long start, 81 void nilfs_mdt_clear(struct inode *inode); 82 void nilfs_mdt_destroy(struct inode *inode); 86 int nilfs_mdt_setup_shadow_map(struct inode *inode, 88 int nilfs_mdt_save_to_shadow_map(struct inode *inode); 89 void nilfs_mdt_restore_from_shadow_map(struct inode *inode); 90 void nilfs_mdt_clear_shadow_map(struct inode *inode); 95 static inline void nilfs_mdt_mark_dirty(struct inode *inode) in nilfs_mdt_mark_dirty() argument 101 static inline void nilfs_mdt_clear_dirty(struct inode *inode) in nilfs_mdt_clear_dirty() argument 106 static inline __u64 nilfs_mdt_cno(struct inode *inode) in nilfs_mdt_cno() argument [all …]
|
/linux/fs/hfsplus/ |
A D | inode.c | 38 struct inode *inode = mapping->host; in hfsplus_write_failed() local 41 truncate_pagecache(inode, inode->i_size); in hfsplus_write_failed() 69 struct inode *inode = page->mapping->host; in hfsplus_releasepage() local 131 struct inode *inode = mapping->host; in hfsplus_direct_IO() local 221 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_open() 233 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_release() 250 struct inode *inode = d_inode(dentry); in hfsplus_setattr() local 268 inode->i_mtime = inode->i_ctime = current_time(inode); in hfsplus_setattr() 384 struct inode *inode = new_inode(sb); in hfsplus_new_inode() local 393 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in hfsplus_new_inode() [all …]
|
/linux/fs/ocfs2/ |
A D | inode.c | 55 static int ocfs2_read_locked_inode(struct inode *inode, 60 struct inode *inode, 71 void ocfs2_set_inode_flags(struct inode *inode) in ocfs2_set_inode_flags() argument 125 struct inode *inode = NULL; in ocfs2_iget() local 364 init_special_inode(inode, inode->i_mode, in ocfs2_populate_inode() 370 inode->i_ino = ino_from_blkno(inode->i_sb, in ocfs2_populate_inode() 579 struct inode *inode, in ocfs2_truncate_for_delete() argument 1212 void ocfs2_evict_inode(struct inode *inode) in ocfs2_evict_inode() argument 1226 int ocfs2_drop_inode(struct inode *inode) in ocfs2_drop_inode() argument 1249 struct inode *inode = d_inode(dentry); in ocfs2_inode_revalidate() local [all …]
|
/linux/fs/coda/ |
A D | cnode.c | 40 inode->i_mapping = &inode->i_data; in coda_fill_inode() 45 static int coda_test_inode(struct inode *inode, void *data) in coda_test_inode() argument 52 static int coda_set_inode(struct inode *inode, void *data) in coda_set_inode() argument 63 struct inode *inode; in coda_iget() local 70 if (!inode) in coda_iget() 85 iput(inode); in coda_iget() 88 return inode; in coda_iget() 100 struct inode *inode; in coda_cnode_make() local 142 struct inode *inode; in coda_fid_to_inode() local 169 struct inode *inode = new_inode(sb); in coda_cnode_makectl() local [all …]
|
/linux/fs/ufs/ |
A D | namei.c | 52 struct inode * inode = NULL; in ufs_lookup() local 76 struct inode *inode; in ufs_create() local 92 struct inode *inode; in ufs_mknod() local 102 ufs_set_inode_dev(inode->i_sb, UFS_I(inode), rdev); in ufs_mknod() 115 struct inode * inode; in ufs_symlink() local 136 inode->i_link = (char *)UFS_I(inode)->i_u1.i_symlink; in ufs_symlink() 153 struct inode *inode = d_inode(old_dentry); in ufs_link() local 156 inode->i_ctime = current_time(inode); in ufs_link() 172 struct inode * inode; in ufs_mkdir() local 210 struct inode * inode = d_inode(dentry); in ufs_unlink() local [all …]
|
/linux/fs/cifs/ |
A D | fscache.h | 58 extern void cifs_fscache_update_inode_cookie(struct inode *inode); 76 struct inode *inode) in cifs_fscache_invalidate_page() argument 89 static inline void cifs_fscache_uncache_page(struct inode *inode, in cifs_fscache_uncache_page() argument 96 static inline int cifs_readpage_from_fscache(struct inode *inode, in cifs_readpage_from_fscache() argument 105 static inline int cifs_readpages_from_fscache(struct inode *inode, in cifs_readpages_from_fscache() argument 116 static inline void cifs_readpage_to_fscache(struct inode *inode, in cifs_readpage_to_fscache() argument 153 struct inode *inode) {} in cifs_fscache_invalidate_page() argument 156 static inline void cifs_fscache_uncache_page(struct inode *inode, in cifs_fscache_uncache_page() argument 160 cifs_readpage_from_fscache(struct inode *inode, struct page *page) in cifs_readpage_from_fscache() argument 165 static inline int cifs_readpages_from_fscache(struct inode *inode, in cifs_readpages_from_fscache() argument [all …]
|
/linux/fs/ext2/ |
A D | namei.c | 58 struct inode * inode; in ext2_lookup() local 106 struct inode *inode; in ext2_create() local 139 struct inode * inode; in ext2_mknod() local 149 init_special_inode(inode, inode->i_mode, rdev); in ext2_mknod() 163 struct inode * inode; in ext2_symlink() local 191 inode->i_link = (char*)EXT2_I(inode)->i_data; in ext2_symlink() 210 struct inode *inode = d_inode(old_dentry); in ext2_link() local 217 inode->i_ctime = current_time(inode); in ext2_link() 234 struct inode * inode; in ext2_mkdir() local 280 struct inode * inode = d_inode(dentry); in ext2_unlink() local [all …]
|
A D | inode.c | 61 struct inode *inode = mapping->host; in ext2_write_failed() local 64 truncate_pagecache(inode, inode->i_size); in ext2_write_failed() 65 ext2_truncate_blocks(inode, inode->i_size); in ext2_write_failed() 72 void ext2_evict_inode(struct inode * inode) in ext2_evict_inode() argument 77 if (!inode->i_nlink && !is_bad_inode(inode)) { in ext2_evict_inode() 598 inode->i_ctime = current_time(inode); in ext2_splice_branch() 939 struct inode *inode = mapping->host; in ext2_direct_IO() local 1317 inode->i_mtime = inode->i_ctime = current_time(inode); in ext2_setsize() 1408 struct inode *inode; in ext2_iget() local 1443 inode->i_atime.tv_nsec = inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = 0; in ext2_iget() [all …]
|
/linux/fs/adfs/ |
A D | inode.c | 48 struct inode *inode = mapping->host; in adfs_write_failed() local 51 truncate_pagecache(inode, inode->i_size); in adfs_write_failed() 243 struct inode *inode; in adfs_iget() local 269 inode->i_mode = adfs_atts2mode(sb, inode); in adfs_iget() 270 adfs_adfs2unix_time(&inode->i_mtime, inode); in adfs_iget() 271 inode->i_atime = inode->i_mtime; in adfs_iget() 272 inode->i_ctime = inode->i_mtime; in adfs_iget() 281 ADFS_I(inode)->mmu_private = inode->i_size; in adfs_iget() 299 struct inode *inode = d_inode(dentry); in adfs_notify_change() local 323 adfs_adfs2unix_time(&inode->i_mtime, inode); in adfs_notify_change() [all …]
|
/linux/fs/squashfs/ |
A D | inode.c | 63 inode->i_atime.tv_sec = inode->i_mtime.tv_sec; in squashfs_new_inode() 64 inode->i_ctime.tv_sec = inode->i_mtime.tv_sec; in squashfs_new_inode() 75 struct inode *inode = iget_locked(sb, ino_number); in squashfs_iget() local 80 if (!inode) in squashfs_iget() 83 return inode; in squashfs_iget() 92 return inode; in squashfs_iget() 100 int squashfs_read_inode(struct inode *inode, long long ino) in squashfs_read_inode() argument 158 inode->i_blocks = ((inode->i_size - 1) >> 9) + 1; in squashfs_read_inode() 203 inode->i_blocks = (inode->i_size - in squashfs_read_inode() 367 init_special_inode(inode, inode->i_mode, 0); in squashfs_read_inode() [all …]
|