Searched refs:CEPH_FSCRYPT_BLOCK_SHIFT (Results 1 – 5 of 5) 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()
549 u64 baseblk = off >> CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages()560 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages()658 u64 baseblk = off >> CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages()669 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages()
81 inode->i_blkbits = CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_new_inode()1071 inode->i_blkbits = CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fill_inode()2341 u64 block = orig_pos >> CEPH_FSCRYPT_BLOCK_SHIFT; in fill_fscrypt_truncate()2365 loff_t lend = orig_pos + CEPH_FSCRYPT_BLOCK_SHIFT - 1; in fill_fscrypt_truncate()
1410 cnt = len >> CEPH_FSCRYPT_BLOCK_SHIFT; in __ceph_sparse_read_ext_count()
1954 first_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()1965 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()