Home
last modified time | relevance | path

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

/openbmc/linux/fs/ecryptfs/
H A Dfile.c214 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_open() local
237 rc = ecryptfs_get_lower_file(ecryptfs_dentry, inode); in ecryptfs_open()
242 ecryptfs_dentry, rc); in ecryptfs_open()
254 rc = read_or_initialize_metadata(ecryptfs_dentry); in ecryptfs_open()
281 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_dir_open() local
295 lower_file = dentry_open(ecryptfs_dentry_to_lower_path(ecryptfs_dentry), in ecryptfs_dir_open()
301 ecryptfs_dentry, PTR_ERR(lower_file)); in ecryptfs_dir_open()
H A Dinode.c182 struct dentry *ecryptfs_dentry, umode_t mode) in ecryptfs_do_create() argument
189 rc = lock_parent(ecryptfs_dentry, &lower_dentry, &lower_dir); in ecryptfs_do_create()
220 int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry, in ecryptfs_initialize_file() argument
239 rc = ecryptfs_get_lower_file(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file()
244 ecryptfs_dentry, rc); in ecryptfs_initialize_file()
247 rc = ecryptfs_write_metadata(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file()
265 struct inode *directory_inode, struct dentry *ecryptfs_dentry, in ecryptfs_create() argument
271 ecryptfs_inode = ecryptfs_do_create(directory_inode, ecryptfs_dentry, in ecryptfs_create()
281 rc = ecryptfs_initialize_file(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_create()
283 ecryptfs_do_unlink(directory_inode, ecryptfs_dentry, in ecryptfs_create()
[all …]
H A Dcrypto.c1025 struct dentry *ecryptfs_dentry) in ecryptfs_write_headers_virt() argument
1041 ecryptfs_dentry, &written, in ecryptfs_write_headers_virt()
1070 ecryptfs_write_metadata_to_xattr(struct dentry *ecryptfs_dentry, in ecryptfs_write_metadata_to_xattr() argument
1075 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_write_metadata_to_xattr()
1117 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry, in ecryptfs_write_metadata() argument
1151 ecryptfs_dentry); in ecryptfs_write_metadata()
1158 rc = ecryptfs_write_metadata_to_xattr(ecryptfs_dentry, ecryptfs_inode, in ecryptfs_write_metadata()
1246 struct dentry *ecryptfs_dentry, in ecryptfs_read_headers_virt() argument
1255 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_read_headers_virt()
1261 ecryptfs_i_size_init(page_virt, d_inode(ecryptfs_dentry)); in ecryptfs_read_headers_virt()
[all …]
H A Decryptfs_kernel.h548 int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry,
574 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry,
576 int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry);
589 struct dentry *ecryptfs_dentry,
593 unsigned char *src, struct dentry *ecryptfs_dentry);
H A Dkeystore.c1757 struct dentry *ecryptfs_dentry) in ecryptfs_parse_packet_set() argument
2403 struct dentry *ecryptfs_dentry, size_t *len, in ecryptfs_generate_key_packet_set() argument
2410 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()