Lines Matching refs:dentry
499 ecryptfs_dentry_to_private(struct dentry *dentry) in ecryptfs_dentry_to_private() argument
501 return (struct ecryptfs_dentry_info *)dentry->d_fsdata; in ecryptfs_dentry_to_private()
505 ecryptfs_set_dentry_private(struct dentry *dentry, in ecryptfs_set_dentry_private() argument
508 dentry->d_fsdata = dentry_info; in ecryptfs_set_dentry_private()
511 static inline struct dentry *
512 ecryptfs_dentry_to_lower(struct dentry *dentry) in ecryptfs_dentry_to_lower() argument
514 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower()
518 ecryptfs_dentry_to_lower_mnt(struct dentry *dentry) in ecryptfs_dentry_to_lower_mnt() argument
520 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt()
524 ecryptfs_dentry_to_lower_path(struct dentry *dentry) in ecryptfs_dentry_to_lower_path() argument
526 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
562 int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry,
575 struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry);
589 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry,
591 int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry);
597 int ecryptfs_read_and_validate_xattr_region(struct dentry *dentry,
604 struct dentry *ecryptfs_dentry,
608 unsigned char *src, struct dentry *ecryptfs_dentry);
609 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
611 ecryptfs_getxattr_lower(struct dentry *lower_dentry, const char *name,
614 ecryptfs_setxattr(struct dentry *dentry, const char *name, const void *value,
700 struct dentry *lower_dentry,
703 int ecryptfs_get_lower_file(struct dentry *dentry, struct inode *inode);