Searched refs:memfd (Results 1 – 4 of 4) sorted by relevance
/frameworks/libs/binary_translation/base/ |
D | memfd_backed_mmap.cc | 44 int memfd = CreateMemfdOrDie(name); in CreateAndFillMemfd() local 46 WriteFullyOrDie(memfd, memfd_file_content, memfd_file_size); in CreateAndFillMemfd() 50 return memfd; in CreateAndFillMemfd() 55 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size) { in CreateMemfdBackedMapOrDie() argument 71 .fd = memfd}); in CreateMemfdBackedMapOrDie()
|
D | memfd_backed_mmap_test.cc | 36 int memfd = CreateAndFillMemfd("uintptr", kMemfdFileSize, default_value); in TEST() local 38 CreateMemfdBackedMapOrDie(memfd, kTableSize * sizeof(default_value), kMemfdFileSize)); in TEST() 39 close(memfd); in TEST()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | memfd_backed_mmap.h | 27 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.cpp | 397 int memfd = syscall(__NR_memfd_create, "HEIF-try-memfd", MFD_CLOEXEC); in isInMemoryTempFileSupported() local 398 if (memfd == -1) { in isInMemoryTempFileSupported() 404 close(memfd); in isInMemoryTempFileSupported()
|