Home
last modified time | relevance | path

Searched refs:MaxSimultaneousAllocations (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp52 Opts.MaxSimultaneousAllocations == 0) in init()
57 check(Opts.MaxSimultaneousAllocations >= 0, in init()
72 State.MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in init()
87 PageSize * (2 + State.MaxSimultaneousAllocations) + in init()
88 State.MaxSimultaneousAllocations * State.maximumAllocationSize(); in init()
93 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), PageSize); in init()
99 State.MaxSimultaneousAllocations * sizeof(*FreeSlots), PageSize); in init()
136 for (size_t i = 0; i < State.MaxSimultaneousAllocations; ++i) { in iterate()
152 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), in uninitTestOnly()
158 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*FreeSlots), in uninitTestOnly()
[all …]
H A Dcommon.cpp98 return MaxSimultaneousAllocations - 1; in getNearestSlot()
H A Dcommon.h142 size_t MaxSimultaneousAllocations = 0; member
H A Doptions.inc26 GWP_ASAN_OPTION(int, MaxSimultaneousAllocations, 16,
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Doptions_parser.cpp236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h207 Opt.MaxSimultaneousAllocations = in initGwpAsan()
228 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()