Home
last modified time | relevance | path

Searched refs:allocated_for_dlsym (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_malloc_linux.cpp32 static uptr allocated_for_dlsym; variable
39 return off < allocated_for_dlsym * sizeof(alloc_memory_for_dlsym[0]); in IsInDlsymAllocPool()
44 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
46 allocated_for_dlsym += size_in_words; in AllocateFromLocalPool()
47 CHECK_LT(allocated_for_dlsym, kDlsymAllocPoolSize); in AllocateFromLocalPool()
55 uptr prev_offset = allocated_for_dlsym - last_dlsym_alloc_size_in_words; in DeallocateFromLocalPool()
59 allocated_for_dlsym = prev_offset; in DeallocateFromLocalPool()
71 uptr addr = (uptr)&alloc_memory_for_dlsym[allocated_for_dlsym]; in PosixMemalignFromLocalPool()
80 allocated_for_dlsym = allocated; in PosixMemalignFromLocalPool()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_linux.cpp32 static uptr allocated_for_dlsym; variable
39 return off < allocated_for_dlsym * sizeof(alloc_memory_for_dlsym[0]); in IsInDlsymAllocPool()
44 void *mem = (void*)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
46 allocated_for_dlsym += size_in_words; in AllocateFromLocalPool()
47 CHECK_LT(allocated_for_dlsym, kDlsymAllocPoolSize); in AllocateFromLocalPool()
55 uptr prev_offset = allocated_for_dlsym - last_dlsym_alloc_size_in_words; in DeallocateFromLocalPool()
59 allocated_for_dlsym = prev_offset; in DeallocateFromLocalPool()
71 uptr addr = (uptr)&alloc_memory_for_dlsym[allocated_for_dlsym]; in PosixMemalignFromLocalPool()
80 allocated_for_dlsym = allocated; in PosixMemalignFromLocalPool()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc29 static uptr allocated_for_dlsym; variable
40 void *mem = (void*)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
41 allocated_for_dlsym += size_in_words; in AllocateFromLocalPool()
42 CHECK_LT(allocated_for_dlsym, kDlsymAllocPoolSize); in AllocateFromLocalPool()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_interceptors.cpp47 static uptr allocated_for_dlsym; variable
58 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
59 allocated_for_dlsym += size_in_words; in AllocateFromLocalPool()
60 CHECK_LT(allocated_for_dlsym, kDlsymAllocPoolSize); in AllocateFromLocalPool()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_interceptors.cpp76 static uptr allocated_for_dlsym; variable
87 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
88 allocated_for_dlsym += size_in_words; in AllocateFromLocalPool()
89 CHECK_LT(allocated_for_dlsym, kDlsymAllocPoolSize); in AllocateFromLocalPool()