/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
D | dfx_elf_parser.h | 45 ElfParser(const std::shared_ptr<DfxMmap>& mmap) : mmap_(mmap) {} in ElfParser() argument 118 ElfParser32(const std::shared_ptr<DfxMmap>& mmap) : ElfParser(mmap) {} in ElfParser32() argument 129 ElfParser64(const std::shared_ptr<DfxMmap>& mmap) : ElfParser(mmap) {} in ElfParser64() argument
|
/base/web/webview/ohos_adapter/flowbuffer_adapter/src/ |
D | flowbuffer_adapter_impl.cpp | 79 void *startAddr = ::mmap(nullptr, size, mapType, MAP_SHARED, fd, 0); in CreateAshmem() 103 void *startAddr = ::mmap(nullptr, size, mapType, MAP_SHARED, fd, 0); in CreateAshmemWithFd()
|
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
D | dfx_util.h | 49 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
|
D | dfx_util.cpp | 223 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset) in mmap() function
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_share_mem.c | 39 void *sharedMem = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in InitSharedMem()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
D | dfx_mmap.cpp | 41 mmap_ = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, offset); in Init()
|
D | dfx_elf.cpp | 89 auto mmap = std::make_shared<DfxMmap>(); in CreateFromHap() local 90 if (!mmap->Init(fd, size, (off_t)prevMap->offset)) { in CreateFromHap() 95 elfSize = GetElfSize(mmap->Get()); in CreateFromHap()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_utils.cpp | 165 …mappedData = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_POPULATE | MAP_ANON, -1… in GetFileSize() 185 void *mappedData = mmap(nullptr, size, PROT_READ, MAP_PRIVATE, fd, 0); in GetFileSize() 322 void *mmap([[maybe_unused]] void *addr, [[maybe_unused]] size_t length, in mmap() function
|
D | pkg_utils.h | 82 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
D | unique_stack_table.cpp | 49 …auto retBufMMap = mmap(NULL, tableSize_, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, … in Init() 84 …void* newTableBuf = mmap(NULL, newtableSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, … in Resize()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_file.c | 85 mmapInfo->mapAddr = (char*)(mmap(NULL, mmapInfo->mmapSize, PROT_READ, in HapMMap()
|
/base/startup/init/services/param/linux/ |
D | param_osadp.c | 93 void *areaAddr = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in GetSharedMem()
|
/base/powermgr/battery_manager/charger/src/dev/ |
D | fbdev_driver.cpp | 66 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
|
/base/update/updater/services/diffpatch/ |
D | diffpatch.cpp | 69 void *mappedData = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, info.fd, 0); in PatchMapFile()
|
/base/security/code_signature/test/unittest/ |
D | enable_verity_test.cpp | 563 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ, MAP_PRIVATE | MAP_XPM, 596 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ, MAP_PRIVATE | MAP_XPM, 630 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_EXEC, MAP_PRIVATE, 663 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_EXEC, MAP_PRIVATE,
|
/base/hiviewdfx/faultloggerd/frameworks/localhandler/ |
D | dfx_signal_local_handler.cpp | 60 g_reservedChildStack = mmap(nullptr, LOCAL_HANDLER_STACK_SIZE, \ in ReserveChildThreadSignalStack()
|
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | random_access_file.cpp | 97 mmapInfo.mapAddr = reinterpret_cast<char*>(mmap(nullptr, mmapInfo.mmapSize, PROT_READ, in DoMMap()
|
/base/security/selinux_adapter/sepolicy/base/public/ |
D | sadomain.te | 20 # add mmap permission for sa
|
/base/startup/init/services/modules/seccomp/seccomp_policy/ |
D | updater.seccomp.policy | 230 mmap;arm64 231 mmap;riscv64
|
D | app.seccomp.policy | 219 mmap;arm64 220 mmap;riscv64
|
D | system.seccomp.policy | 251 mmap;arm64 252 mmap;riscv64
|
/base/update/updater/services/ui/driver/ |
D | fbdev_driver.cpp | 102 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
|
/base/hiviewdfx/faultloggerd/frameworks/allocator/ |
D | dfx_allocator.c | 123 void* mptr = mmap(NULL, DFX_PAGE_SIZE, PROT_READ | PROT_WRITE, in MempoolAllocPage() 286 void* mptr = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, in AllocMmap()
|
/base/security/security_guard/oem_property/hos/ |
D | security_guard_event.cfg | 161 "eventName":"XPM mmap",
|
/base/hiviewdfx/faultloggerd/tools/crasher_c/ |
D | dfx_crasher.c | 196 char* buf = (char*)mmap(NULL, (ARG1024 * ARG1024), PROT_READ | PROT_WRITE, in Oom()
|