Home
last modified time | relevance | path

Searched refs:inode_info (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dsuper.c38 struct ecryptfs_inode_info *inode_info; in ecryptfs_alloc_inode() local
41 inode_info = kmem_cache_alloc(ecryptfs_inode_info_cache, GFP_KERNEL); in ecryptfs_alloc_inode()
42 if (unlikely(!inode_info)) in ecryptfs_alloc_inode()
44 if (ecryptfs_init_crypt_stat(&inode_info->crypt_stat)) { in ecryptfs_alloc_inode()
45 kmem_cache_free(ecryptfs_inode_info_cache, inode_info); in ecryptfs_alloc_inode()
48 mutex_init(&inode_info->lower_file_mutex); in ecryptfs_alloc_inode()
49 atomic_set(&inode_info->lower_file_count, 0); in ecryptfs_alloc_inode()
50 inode_info->lower_file = NULL; in ecryptfs_alloc_inode()
51 inode = &inode_info->vfs_inode; in ecryptfs_alloc_inode()
58 struct ecryptfs_inode_info *inode_info; in ecryptfs_free_inode() local
[all …]
H A Dmain.c124 struct ecryptfs_inode_info *inode_info; in ecryptfs_get_lower_file() local
127 inode_info = ecryptfs_inode_to_private(inode); in ecryptfs_get_lower_file()
128 mutex_lock(&inode_info->lower_file_mutex); in ecryptfs_get_lower_file()
129 count = atomic_inc_return(&inode_info->lower_file_count); in ecryptfs_get_lower_file()
134 &inode_info->lower_file); in ecryptfs_get_lower_file()
136 atomic_set(&inode_info->lower_file_count, 0); in ecryptfs_get_lower_file()
138 mutex_unlock(&inode_info->lower_file_mutex); in ecryptfs_get_lower_file()
144 struct ecryptfs_inode_info *inode_info; in ecryptfs_put_lower_file() local
146 inode_info = ecryptfs_inode_to_private(inode); in ecryptfs_put_lower_file()
147 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
[all …]
/OK3568_Linux_fs/kernel/fs/incfs/
H A Ddata_mgmt.h376 struct inode_info { struct
470 static inline struct inode_info *get_incfs_node(struct inode *inode) in get_incfs_node()
481 return container_of(inode, struct inode_info, n_vfs_inode); in get_incfs_node()
486 struct inode_info *node = NULL; in get_incfs_data_file()
H A Dvfs.c312 struct inode_info *node = get_incfs_node(inode); in inode_test()
325 struct inode_info *node = get_incfs_node(inode); in inode_set()
953 struct inode_info *dir_info = get_incfs_node(dir_inode); in dir_lookup()
1033 struct inode_info *dir_node = get_incfs_node(dir); in dir_mkdir()
1505 struct inode_info *info = get_incfs_node(d_inode(d)); in dentry_revalidate()
1550 struct inode_info *node = kzalloc(sizeof(*node), GFP_NOFS); in alloc_inode()
1561 struct inode_info *node = get_incfs_node(inode); in free_inode()
1568 struct inode_info *node = get_incfs_node(inode); in evict_inode()
H A Dverity.c154 struct inode_info *node = get_incfs_node(inode); in incfs_get_verity_digest()
180 struct inode_info *node = get_incfs_node(inode); in incfs_set_verity_digest()
H A Ddata_mgmt.c379 struct inode_info *node = get_incfs_node(inode); in make_inode_ready_for_data_ops()