Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 25 of 43) sorted by relevance

12

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_elf_parser.h45 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/
Dflowbuffer_adapter_impl.cpp79 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/
Ddfx_util.h49 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
Ddfx_util.cpp223 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/
Dselinux_share_mem.c39 void *sharedMem = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in InitSharedMem()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_mmap.cpp41 mmap_ = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, offset); in Init()
Ddfx_elf.cpp89 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/
Dpkg_utils.cpp165 …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
Dpkg_utils.h82 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/
Dunique_stack_table.cpp49 …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/
Dapp_file.c85 mmapInfo->mapAddr = (char*)(mmap(NULL, mmapInfo->mmapSize, PROT_READ, in HapMMap()
/base/startup/init/services/param/linux/
Dparam_osadp.c93 void *areaAddr = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in GetSharedMem()
/base/powermgr/battery_manager/charger/src/dev/
Dfbdev_driver.cpp66 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
/base/update/updater/services/diffpatch/
Ddiffpatch.cpp69 void *mappedData = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, info.fd, 0); in PatchMapFile()
/base/security/code_signature/test/unittest/
Denable_verity_test.cpp563 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/
Ddfx_signal_local_handler.cpp60 g_reservedChildStack = mmap(nullptr, LOCAL_HANDLER_STACK_SIZE, \ in ReserveChildThreadSignalStack()
/base/security/appverify/interfaces/innerkits/appverify/src/common/
Drandom_access_file.cpp97 mmapInfo.mapAddr = reinterpret_cast<char*>(mmap(nullptr, mmapInfo.mmapSize, PROT_READ, in DoMMap()
/base/security/selinux_adapter/sepolicy/base/public/
Dsadomain.te20 # add mmap permission for sa
/base/startup/init/services/modules/seccomp/seccomp_policy/
Dupdater.seccomp.policy230 mmap;arm64
231 mmap;riscv64
Dapp.seccomp.policy219 mmap;arm64
220 mmap;riscv64
Dsystem.seccomp.policy251 mmap;arm64
252 mmap;riscv64
/base/update/updater/services/ui/driver/
Dfbdev_driver.cpp102 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
/base/hiviewdfx/faultloggerd/frameworks/allocator/
Ddfx_allocator.c123 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/
Dsecurity_guard_event.cfg161 "eventName":"XPM mmap",
/base/hiviewdfx/faultloggerd/tools/crasher_c/
Ddfx_crasher.c196 char* buf = (char*)mmap(NULL, (ARG1024 * ARG1024), PROT_READ | PROT_WRITE, in Oom()

12