Home
last modified time | relevance | path

Searched refs:allocsize (Results 1 – 1 of 1) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp234 size_t allocsize = offsetof(struct fiemap, fm_extents[max_extents]); in ReadRawDataOfFile() local
236 new (::operator new(allocsize)) struct fiemap); in ReadRawDataOfFile()
237 memset(map.get(), 0, allocsize); in ReadRawDataOfFile()
414 size_t allocsize = sizeof(struct fscrypt_add_key_arg) + master_key.size(); in SetMasterKey() local
416 new (::operator new(allocsize)) struct fscrypt_add_key_arg); in SetMasterKey()
417 memset(arg.get(), 0, allocsize); in SetMasterKey()