Home
last modified time | relevance | path

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

/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp188 uptr mapped_addr = in MmapAlignedOrDieOnFatalError() local
190 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
195 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError()
196 return (void*)mapped_addr; in MmapAlignedOrDieOnFatalError()
197 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDieOnFatalError()
205 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
208 mapped_addr = in MmapAlignedOrDieOnFatalError()
210 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
214 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDieOnFatalError()
217 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDieOnFatalError()
[all …]
/src/usr.sbin/bhyve/
H A Dpci_passthru.c397 src8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
401 src16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
405 src32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
409 src64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
471 dest8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
475 dest16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
479 dest32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
483 dest64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
550 pi->pi_msix.mapped_addr = (uint8_t *)(uintptr_t)pbm.pbm_map_base; in init_msix_table()
565 if (mprotect(pi->pi_msix.mapped_addr, table_offset, in init_msix_table()
[all …]
H A Dpci_emul.h157 uint8_t *mapped_addr; member