Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dharness.h47 MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in SetUp()
57 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations)
58 MaxSimultaneousAllocations;
64 InitNumSlots(decltype(gwp_asan::options::Options::MaxSimultaneousAllocations) in InitNumSlots()
69 Opts.MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots()
70 MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots()
80 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations)
81 MaxSimultaneousAllocations;
H A Dcrash_handler_api.cpp44 State.MaxSimultaneousAllocations = 4; // 0x3000, 0x5000, 0x7000, 0x9000. in setupState()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp51 Opts.MaxSimultaneousAllocations == 0) in init()
56 Check(Opts.MaxSimultaneousAllocations >= 0, in init()
69 State.MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in init()
77 PageSize * (1 + State.MaxSimultaneousAllocations) + in init()
78 State.MaxSimultaneousAllocations * State.maximumAllocationSize(); in init()
89 State.MaxSimultaneousAllocations * sizeof(*FreeSlots), PageSize); in init()
126 for (size_t i = 0; i < State.MaxSimultaneousAllocations; ++i) { in iterate()
142 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), in uninitTestOnly()
148 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*FreeSlots), in uninitTestOnly()
336 if (NumSampledAllocations < State.MaxSimultaneousAllocations) in reserveSlot()
[all …]
H A Dcommon.cpp98 return MaxSimultaneousAllocations - 1; in getNearestSlot()
H A Dcommon.h131 size_t MaxSimultaneousAllocations = 0; member
H A Doptions.inc26 GWP_ASAN_OPTION(int, MaxSimultaneousAllocations, 16,
/llvm-project-15.0.7/llvm/docs/
H A DGwpAsan.rst157 GWP_ASAN_OPTIONS="MaxSimultaneousAllocations=16:SampleRate=5000" ./a.out
164 return "MaxSimultaneousAllocations=16:SampleRate=5000";
181 | MaxSimultaneousAllocations | 16 | Number of simultaneously-guarded allocations available in …
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/
H A Doptions_parser.cpp236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcombined.h184 Opt.MaxSimultaneousAllocations = in initGwpAsan()
203 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()