Lines Matching refs:dentry
500 ecryptfs_dentry_to_private(struct dentry *dentry) in ecryptfs_dentry_to_private() argument
502 return (struct ecryptfs_dentry_info *)dentry->d_fsdata; in ecryptfs_dentry_to_private()
506 ecryptfs_set_dentry_private(struct dentry *dentry, in ecryptfs_set_dentry_private() argument
509 dentry->d_fsdata = dentry_info; in ecryptfs_set_dentry_private()
512 static inline struct dentry *
513 ecryptfs_dentry_to_lower(struct dentry *dentry) in ecryptfs_dentry_to_lower() argument
515 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower()
519 ecryptfs_dentry_to_lower_mnt(struct dentry *dentry) in ecryptfs_dentry_to_lower_mnt() argument
521 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt()
525 ecryptfs_dentry_to_lower_path(struct dentry *dentry) in ecryptfs_dentry_to_lower_path() argument
527 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
563 int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry,
576 struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry);
590 int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry,
592 int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry);
598 int ecryptfs_read_and_validate_xattr_region(struct dentry *dentry,
605 struct dentry *ecryptfs_dentry,
609 unsigned char *src, struct dentry *ecryptfs_dentry);
610 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
612 ecryptfs_getxattr_lower(struct dentry *lower_dentry, const char *name,
615 ecryptfs_setxattr(struct dentry *dentry, const char *name, const void *value,
701 struct dentry *lower_dentry,
704 int ecryptfs_get_lower_file(struct dentry *dentry, struct inode *inode);