Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp51 Opts.MaxSimultaneousAllocations == 0) in init()
56 Check(Opts.MaxSimultaneousAllocations >= 0, in init()
62 State.MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in init()
70 PageSize * (1 + State.MaxSimultaneousAllocations) + in init()
71 State.MaxSimultaneousAllocations * State.maximumAllocationSize(); in init()
82 State.MaxSimultaneousAllocations * sizeof(*FreeSlots), PageSize); in init()
119 for (size_t i = 0; i < State.MaxSimultaneousAllocations; ++i) { in iterate()
135 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), in uninitTestOnly()
141 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*FreeSlots), in uninitTestOnly()
329 if (NumSampledAllocations < State.MaxSimultaneousAllocations) in reserveSlot()
[all …]
H A Dcommon.h109 size_t MaxSimultaneousAllocations = 0; member
H A Dcommon.cpp98 return MaxSimultaneousAllocations - 1; in getNearestSlot()
H A Doptions.inc26 GWP_ASAN_OPTION(int, MaxSimultaneousAllocations, 16,
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Doptions_parser.cpp236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h184 Opt.MaxSimultaneousAllocations = in initGwpAsan()
203 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()