Searched refs:ceph_fscrypt_blocks (Results 1 – 2 of 2) sorted by relevance
129 static inline unsigned int ceph_fscrypt_blocks(u64 off, u64 len) in ceph_fscrypt_blocks() function148 *len = ceph_fscrypt_blocks(*off, *len) * CEPH_FSCRYPT_BLOCK_SIZE; in ceph_fscrypt_adjust_off_and_len()
556 num_blocks = ceph_fscrypt_blocks(off, len & CEPH_FSCRYPT_BLOCK_MASK); in ceph_fscrypt_decrypt_pages()665 num_blocks = ceph_fscrypt_blocks(off, len & CEPH_FSCRYPT_BLOCK_MASK); in ceph_fscrypt_encrypt_pages()