Lines Matching refs:inode
21 struct inode *dir;
101 int ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode,
105 int ceph_encode_encrypted_dname(struct inode *parent, struct qstr *d_name,
107 int ceph_encode_encrypted_fname(struct inode *parent, struct dentry *dentry,
110 static inline int ceph_fname_alloc_buffer(struct inode *parent,
118 static inline void ceph_fname_free_buffer(struct inode *parent,
127 int ceph_fscrypt_prepare_readdir(struct inode *dir);
139 * If we have an encrypted inode then we must adjust the offset and
144 static inline void ceph_fscrypt_adjust_off_and_len(struct inode *inode,
147 if (IS_ENCRYPTED(inode)) {
153 int ceph_fscrypt_decrypt_block_inplace(const struct inode *inode,
156 int ceph_fscrypt_encrypt_block_inplace(const struct inode *inode,
160 int ceph_fscrypt_decrypt_pages(struct inode *inode, struct page **page,
162 int ceph_fscrypt_decrypt_extents(struct inode *inode, struct page **page,
165 int ceph_fscrypt_encrypt_pages(struct inode *inode, struct page **page, u64 off,
183 static inline int ceph_fscrypt_prepare_context(struct inode *dir,
184 struct inode *inode,
197 static inline int ceph_encode_encrypted_dname(struct inode *parent,
204 static inline int ceph_encode_encrypted_fname(struct inode *parent,
210 static inline int ceph_fname_alloc_buffer(struct inode *parent,
216 static inline void ceph_fname_free_buffer(struct inode *parent,
230 static inline int ceph_fscrypt_prepare_readdir(struct inode *dir)
235 static inline void ceph_fscrypt_adjust_off_and_len(struct inode *inode,
240 static inline int ceph_fscrypt_decrypt_block_inplace(const struct inode *inode,
247 static inline int ceph_fscrypt_encrypt_block_inplace(const struct inode *inode,
255 static inline int ceph_fscrypt_decrypt_pages(struct inode *inode,
262 static inline int ceph_fscrypt_decrypt_extents(struct inode *inode,
270 static inline int ceph_fscrypt_encrypt_pages(struct inode *inode,