Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dinode.c99 struct dentry *ecryptfs_dentry, int mode, in ecryptfs_do_create() argument
106 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_do_create()
115 ecryptfs_dentry, mode, nd); in ecryptfs_do_create()
121 rc = ecryptfs_interpose(lower_dentry, ecryptfs_dentry, in ecryptfs_do_create()
141 static int grow_file(struct dentry *ecryptfs_dentry) in grow_file() argument
143 struct inode *ecryptfs_inode = ecryptfs_dentry->d_inode; in grow_file()
150 fake_file.f_path.dentry = ecryptfs_dentry; in grow_file()
172 static int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry) in ecryptfs_initialize_file() argument
175 &ecryptfs_inode_to_private(ecryptfs_dentry->d_inode)->crypt_stat; in ecryptfs_initialize_file()
178 if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) { in ecryptfs_initialize_file()
[all …]
Dfile.c158 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_open() local
161 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_open()
165 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_open()
184 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_open()
202 rc = ecryptfs_init_persistent_file(ecryptfs_dentry); in ecryptfs_open()
207 ecryptfs_dentry->d_name.name, rc); in ecryptfs_open()
213 if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) { in ecryptfs_open()
224 rc = ecryptfs_read_metadata(ecryptfs_dentry); in ecryptfs_open()
Dcrypto.c1004 int ecryptfs_new_file_context(struct dentry *ecryptfs_dentry) in ecryptfs_new_file_context() argument
1007 &ecryptfs_inode_to_private(ecryptfs_dentry->d_inode)->crypt_stat; in ecryptfs_new_file_context()
1010 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_new_file_context()
1299 struct dentry *ecryptfs_dentry) in ecryptfs_write_headers_virt() argument
1314 ecryptfs_dentry, &written, in ecryptfs_write_headers_virt()
1327 ecryptfs_write_metadata_to_contents(struct dentry *ecryptfs_dentry, in ecryptfs_write_metadata_to_contents() argument
1332 rc = ecryptfs_write_lower(ecryptfs_dentry->d_inode, virt, in ecryptfs_write_metadata_to_contents()
1342 ecryptfs_write_metadata_to_xattr(struct dentry *ecryptfs_dentry, in ecryptfs_write_metadata_to_xattr() argument
1347 rc = ecryptfs_setxattr(ecryptfs_dentry, ECRYPTFS_XATTR_NAME, page_virt, in ecryptfs_write_metadata_to_xattr()
1375 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry) in ecryptfs_write_metadata() argument
[all …]
Decryptfs_kernel.h621 int ecryptfs_lookup_and_interpose_lower(struct dentry *ecryptfs_dentry,
627 struct dentry *ecryptfs_dentry,
650 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry);
651 int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry);
652 int ecryptfs_new_file_context(struct dentry *ecryptfs_dentry);
656 struct dentry *ecryptfs_dentry);
662 struct dentry *ecryptfs_dentry,
666 unsigned char *src, struct dentry *ecryptfs_dentry);
751 int ecryptfs_init_persistent_file(struct dentry *ecryptfs_dentry);
Dmain.c116 int ecryptfs_init_persistent_file(struct dentry *ecryptfs_dentry) in ecryptfs_init_persistent_file() argument
120 ecryptfs_inode_to_private(ecryptfs_dentry->d_inode); in ecryptfs_init_persistent_file()
127 ecryptfs_dentry_to_lower_mnt(ecryptfs_dentry); in ecryptfs_init_persistent_file()
129 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_init_persistent_file()
Dkeystore.c1645 struct dentry *ecryptfs_dentry) in ecryptfs_parse_packet_set() argument
2261 struct dentry *ecryptfs_dentry, size_t *len, in ecryptfs_generate_key_packet_set() argument
2268 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()