Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dmemfd_backed_mmap.cc44 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()
Dmemfd_backed_mmap_test.cc36 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/
Dmemfd_backed_mmap.h27 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size);
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp397 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()