Home
last modified time | relevance | path

Searched refs:aligned_addr (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat02.c29 static void *aligned_addr; variable
40 {&shm_id1, &aligned_addr, EINVAL, 0},
42 {&shm_id2, &aligned_addr, EACCES, 1},
85 aligned_addr = PROBE_FREE_ADDR(); in setup()
86 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
Dshmat01.c36 static void *aligned_addr; variable
46 {&aligned_addr, 0, 0, "aligned address"},
48 {&aligned_addr, SHM_RDONLY, SIGSEGV,
132 aligned_addr = PROBE_FREE_ADDR(); in setup()
133 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_common.c123 uintptr_t *aligned_addr, in qti_align_mem_region() argument
126 *aligned_addr = round_down(addr, PAGE_SIZE); in qti_align_mem_region()
127 *aligned_size = round_up(addr - *aligned_addr + size, PAGE_SIZE); in qti_align_mem_region()
/external/compiler-rt/lib/asan/
Dasan_poisoning.h73 uptr aligned_addr, uptr size, uptr redzone_size, u8 value) { in FastPoisonShadowPartialRightRedzone() argument
76 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone()
Dasan_thread.cc295 uptr aligned_addr = addr & ~(SANITIZER_WORDSIZE/8 - 1); // align addr. in GetStackFrameAccessByAddr() local
296 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackFrameAccessByAddr()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_poisoning.h80 uptr aligned_addr, uptr size, uptr redzone_size, u8 value) { in FastPoisonShadowPartialRightRedzone() argument
83 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone()
Dasan_thread.cpp345 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackFrameAccessByAddr() local
346 uptr mem_ptr = RoundDownTo(aligned_addr, SHADOW_GRANULARITY); in GetStackFrameAccessByAddr()
347 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackFrameAccessByAddr()
387 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackVariableShadowStart() local
388 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackVariableShadowStart()
Dasan_malloc_linux.cpp72 uptr aligned_addr = RoundUpTo(addr, alignment); in PosixMemalignFromLocalPool() local
75 uptr *end_mem = (uptr*)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool()
81 *memptr = (void*)aligned_addr; in PosixMemalignFromLocalPool()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_malloc_linux.cpp72 uptr aligned_addr = RoundUpTo(addr, alignment); in PosixMemalignFromLocalPool() local
75 uptr *end_mem = (uptr *)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool()
81 *memptr = (void *)aligned_addr; in PosixMemalignFromLocalPool()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc311 const uintptr_t aligned_addr = ioctl_output_addr & ~7; in GetTrace() local
312 const uintptr_t offset = ioctl_output_addr - aligned_addr; in GetTrace()
318 reinterpret_cast<void *>(aligned_addr), nullptr); in GetTrace()
321 reinterpret_cast<void *>(aligned_addr), in GetTrace()
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom_test.cc311 const uintptr_t aligned_addr = ioctl_output_addr & ~7; in GetTrace() local
312 const uintptr_t offset = ioctl_output_addr - aligned_addr; in GetTrace()
318 reinterpret_cast<void *>(aligned_addr), nullptr); in GetTrace()
321 reinterpret_cast<void *>(aligned_addr), in GetTrace()
/external/compiler-rt/lib/cfi/
Dcfi.cc90 uptr aligned_addr = addr & ~(kShadowAlign - 1); in get_cfi_check() local
91 uptr p = aligned_addr - (((uptr)v - 1) << kShadowGranularity); in get_cfi_check()
/external/llvm-project/compiler-rt/lib/cfi/
Dcfi.cpp109 uptr aligned_addr = addr & ~(kShadowAlign - 1); in get_cfi_check() local
110 uptr p = aligned_addr - (((uptr)v - 1) << kShadowGranularity); in get_cfi_check()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc151 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDie() local
160 mapped_addr = (uptr)VirtualAlloc((void *)aligned_addr, size, in MmapAlignedOrDie()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cpp204 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDieOnFatalError() local
213 mapped_addr = (uptr)VirtualAlloc((void *)aligned_addr, size, in MmapAlignedOrDieOnFatalError()