Lines Matching refs:dentry
119 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument
121 dentry->d_flags &= ~DCACHE_ENCRYPTED_NAME; in fscrypt_handle_d_move()
148 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name() argument
150 return dentry->d_flags & DCACHE_ENCRYPTED_NAME; in fscrypt_is_nokey_name()
181 int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags);
249 struct dentry *dentry);
250 int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry,
251 struct inode *new_dir, struct dentry *new_dentry,
253 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry,
289 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument
293 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name() argument
524 struct dentry *dentry) in __fscrypt_prepare_link() argument
530 struct dentry *old_dentry, in __fscrypt_prepare_rename()
532 struct dentry *new_dentry, in __fscrypt_prepare_rename()
539 struct dentry *dentry, in __fscrypt_prepare_lookup() argument
722 static inline int fscrypt_prepare_link(struct dentry *old_dentry, in fscrypt_prepare_link()
724 struct dentry *dentry) in fscrypt_prepare_link() argument
727 return __fscrypt_prepare_link(d_inode(old_dentry), dir, dentry); in fscrypt_prepare_link()
754 struct dentry *old_dentry, in fscrypt_prepare_rename()
756 struct dentry *new_dentry, in fscrypt_prepare_rename()
787 struct dentry *dentry, in fscrypt_prepare_lookup() argument
791 return __fscrypt_prepare_lookup(dir, dentry, fname); in fscrypt_prepare_lookup()
794 fname->usr_fname = &dentry->d_name; in fscrypt_prepare_lookup()
795 fname->disk_name.name = (unsigned char *)dentry->d_name.name; in fscrypt_prepare_lookup()
796 fname->disk_name.len = dentry->d_name.len; in fscrypt_prepare_lookup()
818 static inline int fscrypt_prepare_setattr(struct dentry *dentry, in fscrypt_prepare_setattr() argument
822 return fscrypt_require_key(d_inode(dentry)); in fscrypt_prepare_setattr()