Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Dharness.h54 MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in SetUp()
64 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations)
65 MaxSimultaneousAllocations;
71 InitNumSlots(decltype(gwp_asan::options::Options::MaxSimultaneousAllocations) in InitNumSlots()
76 Opts.MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots()
77 MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots()
87 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations)
88 MaxSimultaneousAllocations;
H A Drecoverable.cpp125 for (size_t i = 0; i < GPA.getAllocatorState()->MaxSimultaneousAllocations; in TEST_P()
H A Dcrash_handler_api.cpp45 State.MaxSimultaneousAllocations = 4; // 0x3000, 0x5000, 0x7000, 0x9000. in setupState()
/openbsd-src/gnu/llvm/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()
91 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), PageSize); 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()
[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,
/openbsd-src/gnu/llvm/llvm/docs/
H A DGwpAsan.rst158 GWP_ASAN_OPTIONS="MaxSimultaneousAllocations=16:SampleRate=5000" ./a.out
165 return "MaxSimultaneousAllocations=16:SampleRate=5000";
182 | MaxSimultaneousAllocations | 16 | Number of simultaneously-guarded allocations available in …
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/optional/
H A Doptions_parser.cpp236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dcombined.h190 Opt.MaxSimultaneousAllocations = in initGwpAsan()
211 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()