Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp191 uptr mapped_addr = in MmapAlignedOrDieOnFatalError() local
193 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
198 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError()
199 return (void*)mapped_addr; in MmapAlignedOrDieOnFatalError()
200 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDieOnFatalError()
208 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
211 mapped_addr = in MmapAlignedOrDieOnFatalError()
213 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
217 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDieOnFatalError()
231 if (retries == kMaxRetries && mapped_addr == 0) in MmapAlignedOrDieOnFatalError()
[all …]
/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_passthru.c343 src8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
347 src16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
351 src32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
355 src64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
417 dest8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
421 dest16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
425 dest32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
429 dest64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
496 pi->pi_msix.mapped_addr = (uint8_t *)(uintptr_t)pbm.pbm_map_base; in init_msix_table()
511 if (mprotect(pi->pi_msix.mapped_addr, table_offset, in init_msix_table()
[all …]
H A Dpci_emul.h158 uint8_t *mapped_addr; member