Searched refs:CEPH_FSCRYPT_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/ceph/ |
D | crypto.h | 13 #define CEPH_FSCRYPT_BLOCK_SIZE (_AC(1, UL) << CEPH_FSCRYPT_BLOCK_SHIFT) macro 14 #define CEPH_FSCRYPT_BLOCK_MASK (~(CEPH_FSCRYPT_BLOCK_SIZE-1)) 134 return ((off+len+CEPH_FSCRYPT_BLOCK_SIZE-1) >> CEPH_FSCRYPT_BLOCK_SHIFT) - in ceph_fscrypt_blocks() 148 *len = ceph_fscrypt_blocks(*off, *len) * CEPH_FSCRYPT_BLOCK_SIZE; in ceph_fscrypt_adjust_off_and_len()
|
D | crypto.c | 566 CEPH_FSCRYPT_BLOCK_SIZE, pgoffs, in ceph_fscrypt_decrypt_pages() 573 ret += CEPH_FSCRYPT_BLOCK_SIZE; in ceph_fscrypt_decrypt_pages() 675 CEPH_FSCRYPT_BLOCK_SIZE, pgoffs, in ceph_fscrypt_encrypt_pages() 682 ret += CEPH_FSCRYPT_BLOCK_SIZE; in ceph_fscrypt_encrypt_pages()
|
D | inode.c | 1117 if (size == round_up(fsize, CEPH_FSCRYPT_BLOCK_SIZE)) { in ceph_fill_inode() 2338 int boff = attr->ia_size % CEPH_FSCRYPT_BLOCK_SIZE; in fill_fscrypt_truncate() 2340 CEPH_FSCRYPT_BLOCK_SIZE); in fill_fscrypt_truncate() 2348 int len = CEPH_FSCRYPT_BLOCK_SIZE; in fill_fscrypt_truncate() 2403 header.block_size = cpu_to_le32(CEPH_FSCRYPT_BLOCK_SIZE); in fill_fscrypt_truncate() 2422 header.data_len = cpu_to_le32(8 + 8 + 4 + CEPH_FSCRYPT_BLOCK_SIZE); in fill_fscrypt_truncate() 2426 CEPH_FSCRYPT_BLOCK_SIZE); in fill_fscrypt_truncate() 2433 CEPH_FSCRYPT_BLOCK_SIZE, in fill_fscrypt_truncate() 2448 CEPH_FSCRYPT_BLOCK_SIZE); in fill_fscrypt_truncate() 2664 (attr->ia_size % CEPH_FSCRYPT_BLOCK_SIZE)) { in __ceph_setattr() [all …]
|
D | file.c | 1796 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() 1797 u64 read_len = CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() 1824 if (read_len != CEPH_FSCRYPT_BLOCK_SIZE) { in ceph_sync_write() 1836 CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1855 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1869 CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1922 CEPH_FSCRYPT_BLOCK_SIZE) { in ceph_sync_write() 1937 CEPH_FSCRYPT_BLOCK_SIZE) { in ceph_sync_write() 1952 pages[0], CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1963 CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write()
|
D | addr.c | 654 ret = round_up(ret, CEPH_FSCRYPT_BLOCK_SIZE); in get_writepages_data_length() 718 wlen = IS_ENCRYPTED(inode) ? round_up(len, CEPH_FSCRYPT_BLOCK_SIZE) : len; in writepage_nounlock() 747 CEPH_FSCRYPT_BLOCK_SIZE, 0, in writepage_nounlock() 1313 len = round_up(len, CEPH_FSCRYPT_BLOCK_SIZE); in ceph_writepages_start()
|
D | caps.c | 1295 CEPH_FSCRYPT_BLOCK_SIZE)); in encode_cap_msg()
|