/kernel/linux/linux-5.10/fs/sharefs/ |
D | lookup.c | 67 static int sharefs_inode_set(struct inode *inode, void *lower_inode) in sharefs_inode_set() argument 73 struct inode *sharefs_iget(struct super_block *sb, struct inode *lower_inode) in sharefs_iget() argument 77 if (!igrab(lower_inode)) in sharefs_iget() 85 lower_inode->i_ino, /* hashval */ in sharefs_iget() 88 lower_inode); /* data passed to test+set fxns */ in sharefs_iget() 90 iput(lower_inode); in sharefs_iget() 94 if (lower_inode->i_nlink == 0) { in sharefs_iget() 95 iput(lower_inode); in sharefs_iget() 102 iput(lower_inode); in sharefs_iget() 107 inode->i_ino = lower_inode->i_ino; in sharefs_iget() [all …]
|
D | sharefs.h | 50 struct inode *lower_inode; member 86 struct inode *lower_inode); 130 return SHAREFS_I(i)->lower_inode; in sharefs_lower_inode() 135 SHAREFS_I(i)->lower_inode = val; in sharefs_set_lower_inode()
|
D | super.c | 120 struct inode *lower_inode; in sharefs_evict_inode() local 128 lower_inode = sharefs_lower_inode(inode); in sharefs_evict_inode() 130 iput(lower_inode); in sharefs_evict_inode()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_root.c | 21 struct inode *lower_inode) in fill_device_local_inode() argument 26 if (!igrab(lower_inode)) in fill_device_local_inode() 29 inode = hmdfs_iget_locked_root(sb, HMDFS_ROOT_DEV_LOCAL, lower_inode, in fill_device_local_inode() 33 iput(lower_inode); in fill_device_local_inode() 37 iput(lower_inode); in fill_device_local_inode() 45 (lower_inode->i_mode & S_IFMT) | S_IRWXU | S_IRWXG | S_IXOTH; in fill_device_local_inode() 50 inode->i_atime = lower_inode->i_atime; in fill_device_local_inode() 51 inode->i_ctime = lower_inode->i_ctime; in fill_device_local_inode() 52 inode->i_mtime = lower_inode->i_mtime; in fill_device_local_inode() 57 fsstack_copy_inode_size(inode, lower_inode); in fill_device_local_inode() [all …]
|
D | inode_local.c | 76 struct inode *lower_inode, const char *name) in fill_inode_local() argument 82 if (!igrab(lower_inode)) in fill_inode_local() 85 inode = hmdfs_iget5_locked_local(sb, lower_inode); in fill_inode_local() 88 iput(lower_inode); in fill_inode_local() 92 iput(lower_inode); in fill_inode_local() 98 info->perm = hmdfs_read_perm(lower_inode); in fill_inode_local() 100 if (S_ISDIR(lower_inode->i_mode)) in fill_inode_local() 101 inode->i_mode = (lower_inode->i_mode & S_IFMT) | S_IRWXU | in fill_inode_local() 103 else if (S_ISREG(lower_inode->i_mode)) in fill_inode_local() 104 inode->i_mode = (lower_inode->i_mode & S_IFMT) | S_IRUSR | in fill_inode_local() [all …]
|
D | file_local.c | 71 struct inode *lower_inode = file_inode(lower_file); in hmdfs_file_accessed() local 76 inode->i_atime = lower_inode->i_atime; in hmdfs_file_accessed() 104 struct inode *lower_inode = file_inode(lower_file); in hmdfs_file_modified() local 106 inode->i_atime = lower_inode->i_atime; in hmdfs_file_modified() 107 inode->i_ctime = lower_inode->i_ctime; in hmdfs_file_modified() 108 inode->i_mtime = lower_inode->i_mtime; in hmdfs_file_modified() 109 i_size_write(inode, i_size_read(lower_inode)); in hmdfs_file_modified()
|
D | hmdfs_device_view.h | 43 struct inode *lower_inode; member 183 struct inode *lower_inode, const char *name); 185 struct inode *lower_inode); 187 struct inode *lower_inode);
|
D | inode.c | 98 res = (ia->lo_i == hii->lower_inode); in iget_test() 101 res = (ia->lo_i == hii->lower_inode); in iget_test() 134 hii->lower_inode = ia->lo_i; in iget_set()
|
D | inode_merge.c | 798 struct inode *lower_inode = NULL; in hmdfs_setattr_merge() local 810 lower_inode = d_inode(lower_dentry); in hmdfs_setattr_merge() 816 inode_lock(lower_inode); in hmdfs_setattr_merge() 817 tmp_uid = hmdfs_override_inode_uid(lower_inode); in hmdfs_setattr_merge() 820 i_size_write(inode, i_size_read(lower_inode)); in hmdfs_setattr_merge() 821 inode->i_atime = lower_inode->i_atime; in hmdfs_setattr_merge() 822 inode->i_mtime = lower_inode->i_mtime; in hmdfs_setattr_merge() 823 inode->i_ctime = lower_inode->i_ctime; in hmdfs_setattr_merge() 824 hmdfs_revert_inode_uid(lower_inode, tmp_uid); in hmdfs_setattr_merge() 826 inode_unlock(lower_inode); in hmdfs_setattr_merge()
|
D | inode.h | 69 struct inode *lower_inode; // for local/merge inode member
|
D | main.c | 248 iput(info->lower_inode); in hmdfs_evict_inode() 249 info->lower_inode = NULL; in hmdfs_evict_inode() 368 } else if (!IS_ERR_OR_NULL(info->lower_inode)) { in hmdfs_statfs()
|
D | hmdfs_server.c | 266 inode = hmdfs_i(inode)->lower_inode; in hmdfs_get_inode_by_name() 501 info->inode = hmdfs_i(info->inode)->lower_inode; in hmdfs_get_open_info() 1237 generate_u64_ino(hmdfs_i(child_inode)->lower_inode->i_ino, in hmdfs_server_create() 1614 if (info->lower_inode) in hmdfs_verify_path() 1615 return info->lower_inode; in hmdfs_verify_path()
|
D | file_merge.c | 592 struct inode *lower_inode = file_inode(lower_file); in hmdfs_ioc_get_writeopen_cnt() local 594 u32 wo_cnt = atomic_read(&(hmdfs_i(lower_inode))->write_opened); in hmdfs_ioc_get_writeopen_cnt()
|
D | hmdfs_dentryfile.c | 2366 struct inode *lower_inode = NULL; in hmdfs_drop_remote_cache_dents() local 2387 lower_inode = d_inode(lower_path.dentry); in hmdfs_drop_remote_cache_dents() 2389 if (IS_ERR_OR_NULL(lower_inode)) in hmdfs_drop_remote_cache_dents() 2392 if (!S_ISDIR(lower_inode->i_mode)) in hmdfs_drop_remote_cache_dents()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | inode.c | 39 static int ecryptfs_inode_test(struct inode *inode, void *lower_inode) in ecryptfs_inode_test() argument 41 return ecryptfs_inode_to_lower(inode) == lower_inode; in ecryptfs_inode_test() 46 struct inode *lower_inode = opaque; in ecryptfs_inode_set() local 48 ecryptfs_set_inode_lower(inode, lower_inode); in ecryptfs_inode_set() 49 fsstack_copy_attr_all(inode, lower_inode); in ecryptfs_inode_set() 51 fsstack_copy_inode_size(inode, lower_inode); in ecryptfs_inode_set() 52 inode->i_ino = lower_inode->i_ino; in ecryptfs_inode_set() 72 static struct inode *__ecryptfs_get_inode(struct inode *lower_inode, in __ecryptfs_get_inode() argument 77 if (lower_inode->i_sb != ecryptfs_superblock_to_lower(sb)) in __ecryptfs_get_inode() 79 if (!igrab(lower_inode)) in __ecryptfs_get_inode() [all …]
|
D | mmap.c | 409 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_inode_size_to_xattr() local 412 if (!(lower_inode->i_opflags & IOP_XATTR)) { in ecryptfs_write_inode_size_to_xattr() 423 inode_lock(lower_inode); in ecryptfs_write_inode_size_to_xattr() 424 size = __vfs_getxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr() 429 rc = __vfs_setxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr() 431 inode_unlock(lower_inode); in ecryptfs_write_inode_size_to_xattr() 527 struct inode *lower_inode = ecryptfs_inode_to_lower(mapping->host); in ecryptfs_bmap() local 528 int ret = bmap(lower_inode, &block); in ecryptfs_bmap()
|
D | ecryptfs_kernel.h | 468 ecryptfs_set_inode_lower(struct inode *inode, struct inode *lower_inode) in ecryptfs_set_inode_lower() argument 470 ecryptfs_inode_to_private(inode)->wii_inode = lower_inode; in ecryptfs_set_inode_lower() 560 struct inode *ecryptfs_get_inode(struct inode *lower_inode, 611 ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,
|
D | crypto.c | 1103 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_metadata_to_xattr() local 1105 if (!(lower_inode->i_opflags & IOP_XATTR)) { in ecryptfs_write_metadata_to_xattr() 1110 inode_lock(lower_inode); in ecryptfs_write_metadata_to_xattr() 1111 rc = __vfs_setxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_metadata_to_xattr() 1114 fsstack_copy_attr_all(ecryptfs_inode, lower_inode); in ecryptfs_write_metadata_to_xattr() 1115 inode_unlock(lower_inode); in ecryptfs_write_metadata_to_xattr()
|