• Home
  • Raw
  • Download

Lines Matching refs:inode

27 	int (*get_context)(struct inode *, void *, size_t);
28 int (*set_context)(struct inode *, const void *, size_t, void *);
29 bool (*dummy_context)(struct inode *);
30 bool (*empty_dir)(struct inode *);
31 unsigned (*max_namelen)(struct inode *);
49 static inline bool fscrypt_has_encryption_key(const struct inode *inode) in fscrypt_has_encryption_key() argument
51 return (inode->i_crypt_info != NULL); in fscrypt_has_encryption_key()
54 static inline bool fscrypt_dummy_context_enabled(struct inode *inode) in fscrypt_dummy_context_enabled() argument
56 return inode->i_sb->s_cop->dummy_context && in fscrypt_dummy_context_enabled()
57 inode->i_sb->s_cop->dummy_context(inode); in fscrypt_dummy_context_enabled()
62 extern struct fscrypt_ctx *fscrypt_get_ctx(const struct inode *, gfp_t);
64 extern struct page *fscrypt_encrypt_page(const struct inode *, struct page *,
67 extern int fscrypt_decrypt_page(const struct inode *, struct page *, unsigned int,
94 extern int fscrypt_has_permitted_context(struct inode *, struct inode *);
95 extern int fscrypt_inherit_context(struct inode *, struct inode *,
98 extern int fscrypt_get_encryption_info(struct inode *);
99 extern void fscrypt_put_encryption_info(struct inode *);
102 extern int fscrypt_setup_filename(struct inode *, const struct qstr *,
110 extern int fscrypt_fname_alloc_buffer(const struct inode *, u32,
113 extern int fscrypt_fname_disk_to_usr(struct inode *, u32, u32,
195 extern int fscrypt_zeroout_range(const struct inode *, pgoff_t, sector_t,
199 extern int fscrypt_file_open(struct inode *inode, struct file *filp);
200 extern int __fscrypt_prepare_link(struct inode *inode, struct inode *dir);
201 extern int __fscrypt_prepare_rename(struct inode *old_dir,
203 struct inode *new_dir,
206 extern int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry);
207 extern int __fscrypt_prepare_symlink(struct inode *dir, unsigned int len,
210 extern int __fscrypt_encrypt_symlink(struct inode *inode, const char *target,
213 extern const char *fscrypt_get_symlink(struct inode *inode, const void *caddr,