| /f-stack/app/redis-5.0.5/deps/jemalloc/ |
| H A D | .travis.yml | 25 …env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLA… 27 …env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAG… 29 …env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXT… 31 …env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" … 41 …env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLA… 55 …env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTR… 57 …env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA… 59 …env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percp… 81 …env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_… 87 …env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_C… [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/cvmx-malloc/ |
| H A D | README-malloc | 1 Readme for Octeon shared memory malloc 3 This malloc is based on ptmalloc2, which is the malloc 5 on this can be found at http://www.malloc.de/en/index.html. 8 The main change to the code modifies the way the malloc 9 gets memory from the system. Under Linux/Unix, malloc 12 given to malloc by the application.
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/stress/ |
| H A D | microbench.c | 46 void *p = malloc(1); in malloc_free() 72 void *p = malloc(1); in malloc_dallocx() 82 void *p = malloc(1); in malloc_sdallocx() 106 p = malloc(1); in malloc_mus_free() 119 p = malloc(1); in malloc_sallocx_free() 140 p = malloc(1); in malloc_nallocx_free()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/ |
| H A D | thread_tcache_enabled.c | 37 free(malloc(1)); in thd_start() 43 free(malloc(1)); in thd_start() 49 free(malloc(1)); in thd_start() 55 free(malloc(1)); in thd_start() 61 free(malloc(1)); in thd_start()
|
| H A D | overflow.c | 22 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN() 24 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN() 32 p = malloc(1); in TEST_BEGIN()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/ |
| H A D | jemalloc_protos.h.in | 11 void JEMALLOC_NOTHROW *@je_@malloc(size_t size) 12 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1); 15 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE2(1, 2); 20 size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) 30 JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1); 59 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc); 65 JEMALLOC_ATTR(malloc);
|
| /f-stack/freebsd/contrib/zstd/lib/freebsd/ |
| H A D | stdlib.h | 38 #undef malloc 39 #define malloc(x) (malloc)((x), M_ZSTD, M_WAITOK) macro
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_shim.h | 4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT) 6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) 7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias_mod.h | 44 #undef malloc 45 #define malloc(x) malloc(x, M_ALIAS, M_NOWAIT|M_ZERO) macro
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | fork.c | 49 p = malloc(1); in TEST_BEGIN() 56 p = malloc(64); in TEST_BEGIN() 78 malloc(1); in do_fork_thd()
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_syscalls.c | 113 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_get_pid() 121 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in sys___mac_get_pid() 148 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_get_proc() 155 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in sys___mac_get_proc() 187 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_set_proc() 248 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_get_fd() 255 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in sys___mac_get_fd() 356 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in kern___mac_get_path() 363 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in kern___mac_get_path() 408 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_set_fd() [all …]
|
| /f-stack/freebsd/netgraph/atm/ccatm/ |
| H A D | ng_ccatm_cust.h | 52 #define CCMALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT)) 53 #define CCZALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT | M_ZERO))
|
| /f-stack/freebsd/netgraph/atm/sscfu/ |
| H A D | ng_sscfu_cust.h | 56 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU, M_NOWAIT | M_ZERO)) 73 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU_INS, M_NOWAIT | M_ZERO)) 78 ((PTR) = malloc(sizeof(struct sscfu_sig), \
|
| /f-stack/freebsd/contrib/xz-embedded/linux/lib/ |
| H A D | decompress_unxz.c | 157 #define kmalloc(size, flags) malloc(size) 159 #define vmalloc(size) malloc(size) 282 b.out = malloc(XZ_IOBUF_SIZE); in unxz() 289 in = malloc(XZ_IOBUF_SIZE); in unxz()
|
| /f-stack/freebsd/contrib/dev/acpica/compiler/ |
| H A D | aslparser.y | 181 #undef malloc 182 #define malloc AslLocalAllocate macro
|
| /f-stack/freebsd/arm/ti/clk/ |
| H A D | clock_common.c | 74 clk->clock_cells = malloc(numbytes_clocks, M_DEVBUF, M_WAITOK|M_ZERO); in read_clock_cells() 75 clk->clock_cells_ncells = malloc(clk->num_clock_cells*sizeof(uint8_t), in read_clock_cells() 145 def->parent_names = malloc(clk->num_real_clocks*sizeof(char *), in create_clkdef()
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | benchzstd.c | 342 *resultBufferPtr = malloc(decodedSize); in BMK_benchMemAdvancedNoAlloc() 572 size_t* const srcSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() 575 void ** const cPtrs = (void**)malloc(maxNbBlocks * sizeof(void*)); in BMK_benchMemAdvanced() 576 size_t* const cSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() 579 void ** const resPtrs = (void**)malloc(maxNbBlocks * sizeof(void*)); in BMK_benchMemAdvanced() 580 size_t* const resSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() 595 void* resultBuffer = srcSize ? malloc(srcSize) : NULL; in BMK_benchMemAdvanced() 705 srcBuffer = malloc(benchedSize); in BMK_syntheticTest() 737 testmem = (BYTE*)malloc((size_t)requiredMem); in BMK_findMaxMem() 822 dictBuffer = malloc(dictBufferSize); in BMK_benchFilesAdvanced() [all …]
|
| /f-stack/freebsd/net/route/ |
| H A D | nhop.c | 79 ctl = malloc(sizeof(struct nh_control), M_NHOP, M_WAITOK | M_ZERO); in nhops_init_rib() 87 ptr = malloc(alloc_size, M_NHOP, M_WAITOK | M_ZERO); in nhops_init_rib() 94 ptr = malloc(bitmask_get_size(num_items), M_NHOP, M_WAITOK | M_ZERO); in nhops_init_rib() 246 nh_ptr = malloc(alloc_size, M_NHOP, M_NOWAIT | M_ZERO); in consider_resize() 252 nh_idx_ptr = malloc(alloc_size, M_NHOP, M_NOWAIT | M_ZERO); in consider_resize()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_dtrace.c | 74 p->p_dtrace = malloc(KDTRACE_PROC_SIZE, M_KDTRACE, M_WAITOK|M_ZERO); in kdtrace_proc_ctor() 97 td->td_dtrace = malloc(KDTRACE_THREAD_SIZE, M_KDTRACE, M_WAITOK|M_ZERO); in kdtrace_thread_ctor()
|
| H A D | kern_ctf.c | 111 hdr = malloc(sizeof(*hdr), M_LINKER, M_WAITOK); 133 shdr = malloc(nbytes, M_LINKER, M_WAITOK); 155 shstrtab = malloc(shdr[hdr->e_shstrndx].sh_size, M_LINKER, M_WAITOK); 221 raw = malloc(shdr[i].sh_size, M_LINKER, M_WAITOK); 234 ctftab = malloc(sz, M_LINKER, M_WAITOK);
|
| /f-stack/freebsd/sys/ |
| H A D | malloc.h | 190 void *malloc(size_t size, struct malloc_type *type, int flags) __malloc_like 229 #define malloc(size, type, flags) ({ \ macro 234 _malloc_item = malloc(_size, type, (flags) &~ M_ZERO); \ 239 _malloc_item = malloc(_size, type, flags); \
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptodeflate.c | 68 ptr = malloc(type *size, M_CRYPTO_DATA, M_NOWAIT); in crypto_zalloc() 117 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), in deflate_global() 167 p = malloc(sizeof(*p) + (size_t)(size * i), in deflate_global() 191 *out = malloc(result, M_CRYPTO_DATA, M_NOWAIT); in deflate_global()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_vfs.c | 64 opts = malloc(sizeof (*vfsp->mnt_opt), M_MOUNT, M_WAITOK); in vfs_setmntopt() 76 opt = malloc(sizeof (*opt), M_MOUNT, M_WAITOK); in vfs_setmntopt() 78 opt->name = malloc(namesize, M_MOUNT, M_WAITOK); in vfs_setmntopt() 87 opt->value = malloc(opt->len, M_MOUNT, M_WAITOK); in vfs_setmntopt()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_graph_perf.c | 285 ename[edges] = malloc(sizeof(char) * RTE_NODE_NAMESIZE); in graph_node_count_edges() 338 malloc(sizeof(struct test_node_data) * in graph_init() 345 node_patterns = malloc(sizeof(char *) * in graph_init() 352 src_nodes = malloc(sizeof(rte_node_t) * nb_srcs); in graph_init() 358 snk_nodes = malloc(sizeof(rte_node_t) * nb_sinks); in graph_init() 364 node_map = malloc(sizeof(rte_node_t *) * stages + in graph_init() 382 malloc(RTE_NODE_NAMESIZE); in graph_init() 443 node_patterns[graph_data->nb_nodes] = malloc(RTE_NODE_NAMESIZE); in graph_init() 470 ename[edges] = malloc(sizeof(char) * RTE_NODE_NAMESIZE); in graph_init() 502 node_patterns[graph_data->nb_nodes] = malloc(RTE_NODE_NAMESIZE); in graph_init() [all …]
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_errno.c | 60 ngx_sys_errlist = malloc(len); in ngx_strerror_init() 69 p = malloc(len); in ngx_strerror_init()
|