Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/freebsd/contrib/ck/src/
H A Dck_array.c35 ck_array_create(struct ck_malloc *allocator, unsigned int length) in ck_array_create() argument
56 if (allocator->realloc == NULL || in ck_array_init()
57 allocator->malloc == NULL || in ck_array_init()
58 allocator->free == NULL || in ck_array_init()
62 active = ck_array_create(allocator, length); in ck_array_init()
67 array->allocator = allocator; in ck_array_init()
89 target = array->allocator->realloc(target, in ck_array_put()
112 target = array->allocator->realloc(target, in ck_array_put()
214 array->allocator->free(p, sizeof(struct _ck_array) + in ck_array_commit()
230 array->allocator->free(array->active, in ck_array_deinit()
[all …]
/f-stack/tools/libmemstat/
H A Dmemstat.c135 memstat_mtl_find(struct memory_type_list *list, int allocator, in memstat_mtl_find() argument
141 if ((mtp->mt_allocator == allocator || in memstat_mtl_find()
142 allocator == ALLOCATOR_ANY) && in memstat_mtl_find()
156 _memstat_mt_allocate(struct memory_type_list *list, int allocator, in _memstat_mt_allocate() argument
167 mtp->mt_allocator = allocator; in _memstat_mt_allocate()
H A Dmemstat_internal.h126 int allocator, const char *name, int maxcpus);
H A Dmemstat.h102 int allocator, const char *name);
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c172 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict() local
173 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); in ZSTD_createDDict()
182 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference() local
183 … return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator); in ZSTD_createDDict_byReference()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dmetaslab.c3258 msp->ms_allocator = allocator; in metaslab_activate_allocator()
4419 int allocator) in metaslab_trace_add() argument
4453 mat->mat_allocator = allocator; in metaslab_trace_add()
4495 int allocator) in metaslab_group_alloc_increment() argument
4547 int allocator) in metaslab_group_alloc_verify() argument
4739 allocator = 0; in metaslab_group_alloc_normal()
4926 TRACE_DISABLED, allocator); in metaslab_group_alloc_normal()
5080 allocator); in metaslab_alloc_dva()
5176 psize, allocator, d); in metaslab_alloc_dva()
5634 int allocator, zio_t *zio) in metaslab_class_throttle_unreserve() argument
[all …]
H A Dzio.c3379 zio_io_to_allocate(spa_t *spa, int allocator) in zio_io_to_allocate() argument
3383 ASSERT(MUTEX_HELD(&spa->spa_alloc_locks[allocator])); in zio_io_to_allocate()
3385 zio = avl_first(&spa->spa_alloc_trees[allocator]); in zio_io_to_allocate()
3395 ASSERT3U(zio->io_allocator, ==, allocator); in zio_io_to_allocate()
3401 avl_remove(&spa->spa_alloc_trees[allocator], zio); in zio_io_to_allocate()
3450 zio_allocate_dispatch(spa_t *spa, int allocator) in zio_allocate_dispatch() argument
3454 mutex_enter(&spa->spa_alloc_locks[allocator]); in zio_allocate_dispatch()
3455 zio = zio_io_to_allocate(spa, allocator); in zio_allocate_dispatch()
3456 mutex_exit(&spa->spa_alloc_locks[allocator]); in zio_allocate_dispatch()
3623 1, txg, NULL, flags, &io_alloc_list, NULL, allocator); in zio_alloc_zil()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DINSTALL.md87 allocator, or even to use multiple copies of jemalloc simultaneously.
97 allocator on OSX.
165 * `--disable-zone-allocator`
167 Disable zone allocator for Darwin. This means jemalloc won't be hooked as
168 the default allocator on OSX/iOS.
217 Specify the base 2 log of the allocator page size, which must in turn be at
219 determines the host's page size and sets the allocator page size equal to
257 that Linux systems already work around this allocator noncompliance means
H A DREADME3 into use as the FreeBSD libc allocator in 2005, and since then it has found its
H A DTUNING.md54 is not expected at the allocator level, lower number of arenas often
129 may reduce contention at the allocator level.
H A DChangeLog356 - Update zone allocator integration to work with macOS 10.12. (@glandium)
557 allocator metadata overhead by approximately 0.2%. (@djwatson)
743 physically resident memory mapped by the allocator.
974 - Fix a chunk recycling bug that could cause the allocator to lose track of
1003 - Add the --disable-zone-allocator option.
1058 result is a more broadly useful allocator (see the git revision history for
1137 - Use glibc allocator hooks to make mixed allocator usage less likely.
H A Dconfigure.ac860 dnl Check for allocator-related functions that should be wrapped.
1701 AC_MSG_RESULT([Forcing lazy-lock to avoid allocator/threading bootstrap issues])
1986 AC_ARG_ENABLE([zone-allocator],
1987 [AS_HELP_STRING([--disable-zone-allocator],
1988 [Disable zone allocator for Darwin])],
2004 AC_MSG_ERROR([--enable-zone-allocator is only supported on Darwin])
/f-stack/freebsd/contrib/ck/include/
H A Dck_array.h44 struct ck_malloc *allocator; member
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/
H A Djemalloc_defs.h.in14 * Define overrides for non-standard allocator-related functions if they are
H A Djemalloc_mangle.sh9 * so that it is possible to use jemalloc in conjunction with another allocator
H A Djemalloc_macros.h.in81 # define JEMALLOC_ALLOCATOR __declspec(allocator)
/f-stack/dpdk/doc/guides/prog_guide/
H A Dmempool_lib.rst9 A memory pool is an allocator of a fixed-sized object.
80 the memory pool allocator can maintain a per-core cache and do bulk requests to the memory pool's r…
149 All allocations that require a high level of performance should use a pool-based memory allocator.
H A Drcu_lib.rst20 to the allocator, without knowing that the readers are not
26 allocator. This will ensure that new readers will not get a reference to
30 memory allocator only after knowing that all the readers have stopped
55 element immediately. The writer can return the memory to the allocator only
H A Doverview.rst116 This memory pool allocator is described in :ref:`Mempool Library <Mempool_Library>`.
/f-stack/freebsd/contrib/device-tree/Bindings/reserved-memory/
H A Dreserved-memory.txt69 region for the default pool of the contiguous memory allocator.
72 region for the default pool of the consistent DMA allocator.
/f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/
H A Djemalloc_test.h.in89 * a separate allocator for their internal data structures.
/f-stack/app/redis-5.0.5/deps/
H A DREADME.md4 * **Jemalloc** is our memory allocator, used as replacement for libc malloc on Linux by default. It…
/f-stack/app/redis-5.0.5/deps/lua/
H A DHISTORY16 + user supplies memory allocator (lua_open becomes lua_newstate).
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in12 * Define overrides for non-standard allocator-related functions if they are
/f-stack/app/redis-5.0.5/deps/linenoise/
H A DREADME.markdown79 line is freed with the same allocator it was created.

12