Searched refs:memory_limit (Results 1 - 10 of 10) sorted by relevance

/fuchsia/zircon/kernel/lib/memory_limit/
H A Dmemory_limit.cpp7 #include <lib/memory_limit.h>
31 ctx->memory_limit = limit * MB;
46 if (range_size == 0 || ctx->memory_limit == 0) {
53 range_base, range_size, ctx->kernel_base, ctx->memory_limit);
91 ctx->memory_limit -= k_size;
100 tmp = fbl::min(ctx->memory_limit, ctx->ramdisk_size);
102 size_t diff = ctx->ramdisk_size - ctx->memory_limit;
104 "of %zu bytes by %zu bytes!\n", ctx->memory_limit, diff);
105 ctx->memory_limit += diff;
110 ctx->memory_limit
[all...]
H A Dmemory_limit_tests.cpp9 #include <lib/memory_limit.h>
33 .memory_limit = 0,
54 .memory_limit = 0,
69 .memory_limit = 0,
90 ctx.memory_limit = mem_limit;
133 size_t memory_limit = 64 * MB; local
139 ctx.memory_limit = memory_limit;
150 EXPECT_NE(memory_limit, size, "checking that size and limit don't match");
H A Drules.mk12 $(LOCAL_DIR)/memory_limit.cpp \
/fuchsia/zircon/kernel/lib/memory_limit/include/lib/
H A Dmemory_limit.h30 size_t memory_limit; member in struct:mem_limit_ctx
43 // ctx->memory_limit to maintain state for future calls. The same is done
72 // Checks if a memory limit exists and initializes the memory_limit member of ctx
/fuchsia/zircon/third_party/ulib/musl/include/zircon/
H A Dsanitizer.h36 // [memory_limit, UINTPTR_MAX) Address space reserved by the system.
37 // [shadow_limit, memory_limit) Address space available to the user.
43 uintptr_t memory_limit; member in struct:saniziter_shadow_bounds
/fuchsia/zircon/kernel/platform/generic-arm/
H A Drules.mk23 kernel/lib/memory_limit \
H A Dplatform.cpp48 #include <lib/memory_limit.h>
/fuchsia/zircon/kernel/platform/pc/
H A Drules.mk37 kernel/lib/memory_limit \
H A Dmemory.cpp16 #include <lib/memory_limit.h>
/fuchsia/zircon/third_party/ulib/musl/sanitizers/
H A D__asan_early_init.c94 shadow_bounds.memory_limit = top;

Completed in 91 milliseconds