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

Method is_fscrypt_enabled

src/client/Inode.h:192–194  ·  view source on GitHub ↗

this method returns true if inode is de facto ecrypted. semantics of "enabled" is a bit confusing since it may mean "enabled but not encrypted de facto".

Source from the content-addressed store, hash-verified

190 // semantics of "enabled" is a bit confusing since it may mean
191 // "enabled but not encrypted de facto".
192 bool is_fscrypt_enabled() {
193 return !!fscrypt_auth.size();
194 }
195#if defined(__linux__)
196
197 FSCryptContextRef init_fscrypt_ctx(FSCrypt *fscrypt);

Callers 14

fuse_ll_ioctlFunction · 0.45
get_capsMethod · 0.45
_do_setattrMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
ll_readMethod · 0.45
ll_writeMethod · 0.45
_fallocateMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected