| 28 | #define FSCRYPT_MAXIO_SIZE fscrypt_block_start(INT_MAX) |
| 29 | |
| 30 | static inline uint64_t fscrypt_align_ofs(uint64_t ofs) { |
| 31 | return (ofs + FSCRYPT_DATA_ALIGNMENT - 1) & ~(FSCRYPT_DATA_ALIGNMENT - 1); |
| 32 | } |
| 33 | |
| 34 | static inline int fscrypt_ofs_in_block(uint64_t pos) { |
| 35 | return pos & (FSCRYPT_BLOCK_SIZE - 1); |
no outgoing calls
no test coverage detected