Searched refs:CEPH_FSCRYPT_BLOCK_SHIFT (Results 1 – 4 of 4) sorted by relevance
12 #define CEPH_FSCRYPT_BLOCK_SHIFT 12 macro13 #define CEPH_FSCRYPT_BLOCK_SIZE (_AC(1, UL) << CEPH_FSCRYPT_BLOCK_SHIFT)132 BUILD_BUG_ON(CEPH_FSCRYPT_BLOCK_SHIFT > PAGE_SHIFT); in ceph_fscrypt_blocks()134 return ((off+len+CEPH_FSCRYPT_BLOCK_SIZE-1) >> CEPH_FSCRYPT_BLOCK_SHIFT) - in ceph_fscrypt_blocks()135 (off >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_fscrypt_blocks()
540 u64 baseblk = off >> CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages()551 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages()644 u64 baseblk = off >> CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages()655 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages()
1043 inode->i_blkbits = CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fill_inode()2298 u64 block = orig_pos >> CEPH_FSCRYPT_BLOCK_SHIFT; in fill_fscrypt_truncate()2322 loff_t lend = orig_pos + CEPH_FSCRYPT_BLOCK_SHIFT - 1; in fill_fscrypt_truncate()
1849 first_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()1860 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()