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

Method effective_size

src/client/Inode.cc:895–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

893}
894#endif
895uint64_t Inode::effective_size() const
896{
897 if (fscrypt_file.size() < sizeof(uint64_t) || !client->get_fscrypt_as()) {
898 return size;
899 }
900
901 return *(ceph_le64 *)fscrypt_file.data();
902}
903
904void Inode::set_effective_size(uint64_t size)
905{

Callers 15

handle_cap_truncMethod · 0.45
handle_cap_grantMethod · 0.45
_do_setattrMethod · 0.45
fill_statMethod · 0.45
fill_statxMethod · 0.45
_openMethod · 0.45
_lseekMethod · 0.45
finishMethod · 0.45
_readMethod · 0.45
do_readaheadMethod · 0.45
_read_asyncMethod · 0.45

Calls 3

get_fscrypt_asMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected