Home
last modified time | relevance | path

Searched refs:CEPH_FSCRYPT_BLOCK_SHIFT (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/ceph/
Dcrypto.h12 #define CEPH_FSCRYPT_BLOCK_SHIFT 12 macro
13 #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()
Dcrypto.c549 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()
Dinode.c81 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()
Dsuper.h1410 cnt = len >> CEPH_FSCRYPT_BLOCK_SHIFT; in __ceph_sparse_read_ext_count()
Dfile.c1954 first_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
1965 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()