Home
last modified time | relevance | path

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

/freebsd-14.2/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()
70 State.MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in init()
85 PageSize * (2 + State.MaxSimultaneousAllocations) + in init()
86 State.MaxSimultaneousAllocations * State.maximumAllocationSize(); in init()
97 State.MaxSimultaneousAllocations * sizeof(*FreeSlots), PageSize); in init()
134 for (size_t i = 0; i < State.MaxSimultaneousAllocations; ++i) { in iterate()
150 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), in uninitTestOnly()
156 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*FreeSlots), in uninitTestOnly()
444 if (NumSampledAllocations < State.MaxSimultaneousAllocations) in reserveSlot()
[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-14.2/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Doptions_parser.cpp236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h185 Opt.MaxSimultaneousAllocations = in initGwpAsan()
206 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()