Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp181 uptr mapped_addr = in MmapAlignedOrDieOnFatalError() local
183 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
188 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError()
189 return (void*)mapped_addr; in MmapAlignedOrDieOnFatalError()
190 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDieOnFatalError()
198 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
201 mapped_addr = in MmapAlignedOrDieOnFatalError()
203 if (!mapped_addr) in MmapAlignedOrDieOnFatalError()
207 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDieOnFatalError()
221 if (retries == kMaxRetries && mapped_addr == 0) in MmapAlignedOrDieOnFatalError()
[all …]
/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_passthru.c302 src8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
306 src16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
310 src32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
314 src64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_read()
376 dest8 = (uint8_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
380 dest16 = (uint16_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
384 dest32 = (uint32_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
388 dest64 = (uint64_t *)(pi->pi_msix.mapped_addr + offset); in msix_table_write()
455 pi->pi_msix.mapped_addr = (uint8_t *)(uintptr_t)pbm.pbm_map_base; in init_msix_table()
470 if (mprotect(pi->pi_msix.mapped_addr, table_offset, in init_msix_table()
[all …]
H A Dpci_emul.h161 uint8_t *mapped_addr; member