MCPcopy Create free account
hub / github.com/ceph/ceph / fscrypt_block_start

Function fscrypt_block_start

src/client/FSCrypt.h:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static inline uint64_t fscrypt_block_start(uint64_t ofs) {
43 return ofs & ~(FSCRYPT_BLOCK_SIZE - 1);
44}
45
46static inline uint64_t fscrypt_next_block_start(uint64_t ofs) {
47 return (ofs + FSCRYPT_BLOCK_SIZE - 1) & ~(FSCRYPT_BLOCK_SIZE - 1);

Callers 7

decrypt_blMethod · 0.85
encrypt_blMethod · 0.85
prepare_data_readMethod · 0.85
get_capsMethod · 0.85
_do_setattrMethod · 0.85
read_modify_writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected