| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | valgrind.h | 16 #define JEMALLOC_VALGRIND_MAKE_MEM_NOACCESS(ptr, usize) do { \ argument 20 #define JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ptr, usize) do { \ argument 24 #define JEMALLOC_VALGRIND_MAKE_MEM_DEFINED(ptr, usize) do { \ argument 33 #define JEMALLOC_VALGRIND_MALLOC(cond, ptr, usize, zero) do { \ argument 37 #define JEMALLOC_VALGRIND_REALLOC(maybe_moved, ptr, usize, \ argument 75 #define JEMALLOC_VALGRIND_FREE(ptr, rzsize) do { \ argument 81 #define JEMALLOC_VALGRIND_MAKE_MEM_NOACCESS(ptr, usize) do {} while (0) argument 82 #define JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ptr, usize) do {} while (0) argument 83 #define JEMALLOC_VALGRIND_MAKE_MEM_DEFINED(ptr, usize) do {} while (0) argument 85 #define JEMALLOC_VALGRIND_REALLOC(maybe_moved, ptr, usize, \ argument [all …]
|
| H A D | jemalloc_internal.h.in | 855 iaalloc(const void *ptr) 869 isalloc(const void *ptr, bool demote) 958 ivsalloc(const void *ptr, bool demote) 988 p2rz(const void *ptr) 996 idalloctm(tsd_t *tsd, void *ptr, tcache_t *tcache, bool is_metadata) 1009 idalloct(tsd_t *tsd, void *ptr, tcache_t *tcache) 1016 idalloc(tsd_t *tsd, void *ptr) 1023 iqalloc(tsd_t *tsd, void *ptr, tcache_t *tcache) 1033 isdalloct(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache) 1040 isqalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache) [all …]
|
| H A D | prof.h | 400 prof_tctx_get(const void *ptr) in prof_tctx_get() 410 prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx) in prof_tctx_set() 420 prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr, in prof_tctx_reset() 482 prof_malloc(const void *ptr, size_t usize, prof_tctx_t *tctx) in prof_malloc() 496 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, in prof_realloc() 532 prof_free(tsd_t *tsd, const void *ptr, size_t usize) in prof_free()
|
| H A D | chunk.h | 88 chunk_lookup(const void *ptr, bool dependent) in chunk_lookup()
|
| H A D | arena.h | 939 arena_ptr_small_binind_get(const void *ptr, size_t mapbits) in arena_ptr_small_binind_get() 996 arena_run_regind(arena_run_t *run, arena_bin_info_t *bin_info, const void *ptr) in arena_run_regind() 1070 arena_prof_tctx_get(const void *ptr) in arena_prof_tctx_get() 1097 arena_prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx) in arena_prof_tctx_set() 1132 arena_prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr, in arena_prof_tctx_reset() 1192 arena_aalloc(const void *ptr) in arena_aalloc() 1205 arena_salloc(const void *ptr, bool demote) in arena_salloc() 1254 arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache) in arena_dalloc() 1297 arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache) in arena_sdalloc()
|
| H A D | quarantine.h | 15 void *ptr; member
|
| H A D | tcache.h | 363 tcache_dalloc_small(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind) in tcache_dalloc_small() 387 tcache_dalloc_large(tsd_t *tsd, tcache_t *tcache, void *ptr, size_t size) in tcache_dalloc_large()
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | huge.c | 7 huge_node_get(const void *ptr) in huge_node_get() 18 huge_node_set(const void *ptr, extent_node_t *node) in huge_node_set() 27 huge_node_unset(const void *ptr, const extent_node_t *node) in huge_node_unset() 110 huge_dalloc_junk(void *ptr, size_t usize) in huge_dalloc_junk() 283 huge_ralloc_no_move(void *ptr, size_t oldsize, size_t usize_min, in huge_ralloc_no_move() 359 huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache) in huge_dalloc() 379 huge_aalloc(const void *ptr) in huge_aalloc() 386 huge_salloc(const void *ptr) in huge_salloc() 402 huge_prof_tctx_get(const void *ptr) in huge_prof_tctx_get() 418 huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx) in huge_prof_tctx_set() [all …]
|
| H A D | valgrind.c | 9 valgrind_make_mem_noaccess(void *ptr, size_t usize) in valgrind_make_mem_noaccess() 16 valgrind_make_mem_undefined(void *ptr, size_t usize) in valgrind_make_mem_undefined() 23 valgrind_make_mem_defined(void *ptr, size_t usize) in valgrind_make_mem_defined() 30 valgrind_freelike_block(void *ptr, size_t usize) in valgrind_freelike_block()
|
| H A D | zone.c | 47 zone_size(malloc_zone_t *zone, void *ptr) in zone_size() 87 zone_free(malloc_zone_t *zone, void *ptr) in zone_free() 99 zone_realloc(malloc_zone_t *zone, void *ptr, size_t size) in zone_realloc() 122 zone_free_definite_size(malloc_zone_t *zone, void *ptr, size_t size) in zone_free_definite_size()
|
| H A D | arena.c | 312 arena_run_reg_dalloc(arena_run_t *run, void *ptr) in arena_run_reg_dalloc() 2004 void *ptr; in arena_tcache_fill_small() local 2061 arena_redzone_corruption(void *ptr, size_t usize, bool after, in arena_redzone_corruption() 2117 arena_dalloc_junk_small(void *ptr, arena_bin_info_t *bin_info) in arena_dalloc_junk_small() 2133 arena_quarantine_junk_small(void *ptr, size_t usize) in arena_quarantine_junk_small() 2385 arena_prof_promoted(const void *ptr, size_t size) in arena_prof_promoted() 2515 arena_dalloc_bin(arena_t *arena, arena_chunk_t *chunk, void *ptr, in arena_dalloc_bin() 2550 arena_dalloc_junk_large(void *ptr, size_t usize) in arena_dalloc_junk_large() 2565 void *ptr, bool junked) in arena_dalloc_large_locked_impl() 2592 void *ptr) in arena_dalloc_large_junked_locked() [all …]
|
| H A D | jemalloc.c | 316 a0idalloc(void *ptr, bool is_metadata) in a0idalloc() 330 a0dalloc(void *ptr) in a0dalloc() 367 bootstrap_free(void *ptr) in bootstrap_free() 1728 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache) in ifree() 1770 je_realloc(void *ptr, size_t size) in je_realloc() 1833 je_free(void *ptr) in je_free() 2155 je_rallocx(void *ptr, size_t size, int flags) in je_rallocx() 2291 je_xallocx(void *ptr, size_t size, size_t extra, int flags) in je_xallocx() 2360 je_dallocx(void *ptr, int flags) in je_dallocx() 2395 je_sdallocx(void *ptr, size_t size, int flags) in je_sdallocx() [all …]
|
| H A D | tcache.c | 26 size_t tcache_salloc(const void *ptr) in tcache_salloc() 93 void *ptr; in tcache_bin_flush_small() local 173 void *ptr; in tcache_bin_flush_large() local
|
| H A D | quarantine.c | 117 quarantine(tsd_t *tsd, void *ptr) in quarantine()
|
| /redis-3.2.3/src/ |
| H A D | zmalloc.c | 38 void zlibc_free(void *ptr) { in zlibc_free() 61 #define realloc(ptr,size) tc_realloc(ptr,size) argument 62 #define free(ptr) tc_free(ptr) argument 66 #define realloc(ptr,size) je_realloc(ptr,size) argument 67 #define free(ptr) je_free(ptr) argument 125 void *ptr = malloc(size+PREFIX_SIZE); in zmalloc() local 139 void *ptr = calloc(1, size+PREFIX_SIZE); in zcalloc() local 152 void *zrealloc(void *ptr, size_t size) { in zrealloc() 185 size_t zmalloc_size(void *ptr) { in zmalloc_size() 195 void zfree(void *ptr) { in zfree()
|
| H A D | syncio.c | 49 ssize_t syncWrite(int fd, char *ptr, ssize_t size, long long timeout) { in syncWrite() 85 ssize_t syncRead(int fd, char *ptr, ssize_t size, long long timeout) { in syncRead() 125 ssize_t syncReadLine(int fd, char *ptr, ssize_t size, long long timeout) { in syncReadLine()
|
| H A D | object.c | 39 robj *createObject(int type, void *ptr) { in createObject() 53 robj *createRawStringObject(const char *ptr, size_t len) { in createRawStringObject() 60 robj *createEmbeddedStringObject(const char *ptr, size_t len) { in createEmbeddedStringObject() 89 robj *createStringObject(const char *ptr, size_t len) { in createStringObject()
|
| H A D | debug.c | 58 void xorDigest(unsigned char *digest, void *ptr, size_t len) { in xorDigest() 91 void mixDigest(unsigned char *digest, void *ptr, size_t len) { in mixDigest() 328 void *ptr = zmalloc(ULONG_MAX); /* Should trigger an out of memory. */ in debugCommand() local
|
| H A D | ziplist.c | 175 #define ZIP_ENTRY_ENCODING(ptr, encoding) do { \ argument 236 #define ZIP_DECODE_LENGTH(ptr, encoding, lensize, len) do { \ argument 289 #define ZIP_DECODE_PREVLENSIZE(ptr, prevlensize) do { \ argument 299 #define ZIP_DECODE_PREVLEN(ptr, prevlensize, prevlen) do { \ argument
|
| H A D | rio.h | 67 sds ptr; member
|
| H A D | sds.c | 1097 void *sds_realloc(void *ptr, size_t size) { return s_realloc(ptr,size); } in sds_realloc() 1098 void sds_free(void *ptr) { s_free(ptr); } in sds_free()
|
| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | junk.c | 26 arena_dalloc_junk_small_intercept(void *ptr, arena_bin_info_t *bin_info) in arena_dalloc_junk_small_intercept() 41 arena_dalloc_junk_large_intercept(void *ptr, size_t usize) in arena_dalloc_junk_large_intercept() 56 huge_dalloc_junk_intercept(void *ptr, size_t usize) in huge_dalloc_junk_intercept() 171 arena_ralloc_junk_large_intercept(void *ptr, size_t old_usize, size_t usize) in arena_ralloc_junk_large_intercept() 203 arena_redzone_corruption_replacement(void *ptr, size_t usize, bool after, in arena_redzone_corruption_replacement()
|
| H A D | quarantine.c | 62 arena_redzone_corruption_replacement(void *ptr, size_t usize, bool after, in arena_redzone_corruption_replacement()
|
| /redis-3.2.3/deps/jemalloc/test/integration/ |
| H A D | sdallocx.c | 8 void *ptr = mallocx(64, 0); in TEST_BEGIN() local
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | sds.c | 1097 void *sds_realloc(void *ptr, size_t size) { return s_realloc(ptr,size); } in sds_realloc() 1098 void sds_free(void *ptr) { s_free(ptr); } in sds_free()
|