Lines Matching defs:value

335 /* Maximum chunks in tcache bins for tunables.  This value must fit the range
505 MORECORE_FAILURE is the value returned upon failure of MORECORE
543 increments the break value, the contents of the reallocated space
554 sbrk fails, and mmap is used as a backup. The value must be a
607 of space, which will often fail. The maximum supported value of n
609 representable value of a size_t.
800 (parameter-number, parameter-value) pair. mallopt then sets the
801 corresponding parameter to the argument value if it can (i.e., so
802 long as the value is meaningful), and returns 1 if successful else
834 than or equal to the default. The maximum supported value of MXFAST
868 afterward allocate more large chunks) the value should be high
884 might set to a value close to the average size of a process
902 The trim value It must be greater than page size to have any useful
950 this value, at the expense of carrying around more memory than
971 threshold much because it is also the minimum value for the
1017 "large" chunks, but the value of "large" varies across systems. The
1018 default is an empirically derived value that works well in most
1065 The threshold goes up in value when the application frees memory that was
1086 The default is set to a value that serves only as a safeguard.
1336 /* Check if REQ overflows when padded and aligned and if the resulting value
1338 case the value is less than MINSIZE on SZ or false if any of the previous
1759 fastbin chunks. This is a heuristic, so the exact value should not
1774 The initial value comes from MORECORE_CONTIGUOUS, but is
1789 Set value of max_fast.
1790 Use impossibly small value if 0.
1822 malloc_consolidate. The value is approximate since it may be set when there
1886 /* A value different than 0 means to align mmap allocation to hp_pagesize
2549 mchunkptr old_top; /* incoming value of av->top */
2554 char *brk; /* return value from MORECORE */
3011 Attempt to release memory. We ignore MORECORE return value,
3014 of if failure somehow altered brk value. (We could still
3150 /* The value of tcache_key does not really have to be a cryptographically
5311 do_set_trim_threshold (size_t value)
5313 LIBC_PROBE (memory_mallopt_trim_threshold, 3, value, mp_.trim_threshold,
5315 mp_.trim_threshold = value;
5321 do_set_top_pad (size_t value)
5323 LIBC_PROBE (memory_mallopt_top_pad, 3, value, mp_.top_pad,
5325 mp_.top_pad = value;
5331 do_set_mmap_threshold (size_t value)
5333 LIBC_PROBE (memory_mallopt_mmap_threshold, 3, value, mp_.mmap_threshold,
5335 mp_.mmap_threshold = value;
5341 do_set_mmaps_max (int32_t value)
5343 LIBC_PROBE (memory_mallopt_mmap_max, 3, value, mp_.n_mmaps_max,
5345 mp_.n_mmaps_max = value;
5351 do_set_mallopt_check (int32_t value)
5357 do_set_perturb_byte (int32_t value)
5359 LIBC_PROBE (memory_mallopt_perturb, 2, value, perturb_byte);
5360 perturb_byte = value;
5365 do_set_arena_test (size_t value)
5367 LIBC_PROBE (memory_mallopt_arena_test, 2, value, mp_.arena_test);
5368 mp_.arena_test = value;
5373 do_set_arena_max (size_t value)
5375 LIBC_PROBE (memory_mallopt_arena_max, 2, value, mp_.arena_max);
5376 mp_.arena_max = value;
5382 do_set_tcache_max (size_t value)
5384 if (value <= MAX_TCACHE_SIZE)
5386 LIBC_PROBE (memory_tunable_tcache_max_bytes, 2, value, mp_.tcache_max_bytes);
5387 mp_.tcache_max_bytes = value;
5388 mp_.tcache_bins = csize2tidx (request2size(value)) + 1;
5395 do_set_tcache_count (size_t value)
5397 if (value <= MAX_TCACHE_COUNT)
5399 LIBC_PROBE (memory_tunable_tcache_count, 2, value, mp_.tcache_count);
5400 mp_.tcache_count = value;
5407 do_set_tcache_unsorted_limit (size_t value)
5409 LIBC_PROBE (memory_tunable_tcache_unsorted_limit, 2, value, mp_.tcache_unsorted_limit);
5410 mp_.tcache_unsorted_limit = value;
5417 do_set_mxfast (size_t value)
5419 if (value <= MAX_FAST_SIZE)
5421 LIBC_PROBE (memory_mallopt_mxfast, 2, value, get_max_fast ());
5422 set_max_fast (value);
5430 do_set_hugetlb (size_t value)
5432 if (value == 1)
5442 else if (value >= 2)
5443 __malloc_hugepage_config (value == 2 ? 0 : value, &mp_.hp_pagesize,
5450 __libc_mallopt (int param_number, int value)
5459 LIBC_PROBE (memory_mallopt, 2, param_number, value);
5474 res = do_set_mxfast (value);
5478 res = do_set_trim_threshold (value);
5482 res = do_set_top_pad (value);
5486 res = do_set_mmap_threshold (value);
5490 res = do_set_mmaps_max (value);
5494 res = do_set_mallopt_check (value);
5498 res = do_set_perturb_byte (value);
5502 if (value > 0)
5503 res = do_set_arena_test (value);
5507 if (value > 0)
5508 res = do_set_arena_max (value);
5555 the initial value returned is not important.