Home
last modified time | relevance | path

Searched refs:zmalloc (Results 1 – 25 of 58) sorted by relevance

123

/f-stack/app/redis-5.0.5/src/
H A Dadlist.c45 if ((list = zmalloc(sizeof(*list))) == NULL) in listCreate()
92 if ((node = zmalloc(sizeof(*node))) == NULL) in listAddNodeHead()
118 if ((node = zmalloc(sizeof(*node))) == NULL) in listAddNodeTail()
137 if ((node = zmalloc(sizeof(*node))) == NULL) in listInsertNode()
190 if ((iter = zmalloc(sizeof(*iter))) == NULL) return NULL; in listGetIterator()
H A Dzmalloc.c98 void *zmalloc(size_t size) { in zmalloc() function
151 if (ptr == NULL) return zmalloc(size); in zrealloc()
210 char *p = zmalloc(l); in zstrdup()
449 ptr = zmalloc(123); in zmalloc_test()
H A Dsdsalloc.h40 #define s_malloc zmalloc
H A Drax_malloc.h41 #define rax_malloc zmalloc
H A Dlistpack_malloc.h42 #define lp_malloc zmalloc
H A Dae_ff_kqueue.c44 aeApiState *state = zmalloc(sizeof(aeApiState)); in aeApiCreate()
47 state->events = zmalloc(sizeof(struct kevent)*eventLoop->setsize); in aeApiCreate()
H A Dae_epoll.c40 aeApiState *state = zmalloc(sizeof(aeApiState)); in aeApiCreate()
43 state->events = zmalloc(sizeof(struct epoll_event)*eventLoop->setsize); in aeApiCreate()
H A Dae_kqueue.c42 aeApiState *state = zmalloc(sizeof(aeApiState)); in aeApiCreate()
45 state->events = zmalloc(sizeof(struct kevent)*eventLoop->setsize); in aeApiCreate()
H A DMakefile185 REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o anet_ff.o dict.o server.o sds.o zmalloc.o lzf_c.o…
187 REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o anet.o anet_ff.o ae.o crc64.o …
189 REDIS_BENCHMARK_OBJ=ae.o anet.o anet_ff.o redis-benchmark.o adlist.o zmalloc.o redis-benchmark.o
259 dict-benchmark: dict.c zmalloc.c sds.c siphash.c
294 $(REDIS_CC) sds.c zmalloc.c -DSDS_TEST_MAIN $(FINAL_LIBS) -o /tmp/sds_test
H A Dsparkline.c58 struct sequence *seq = zmalloc(sizeof(*seq)); in createSparklineSequence()
102 char *chars = zmalloc(len); in sparklineRenderRange()
H A Dae.c71 if ((eventLoop = zmalloc(sizeof(*eventLoop))) == NULL) goto err; in aeCreateEventLoop()
72 eventLoop->events = zmalloc(sizeof(aeFileEvent)*setsize); in aeCreateEventLoop()
73 eventLoop->fired = zmalloc(sizeof(aeFiredEvent)*setsize); in aeCreateEventLoop()
223 te = zmalloc(sizeof(*te)); in aeCreateTimeEvent()
H A Dslowlog.c49 slowlogEntry *se = zmalloc(sizeof(*se)); in slowlogCreateEntry()
54 se->argv = zmalloc(sizeof(robj*)*slargc); in slowlogCreateEntry()
H A Dlolwut5.c74 lwCanvas *canvas = zmalloc(sizeof(*canvas)); in lwCreateCanvas()
77 canvas->pixels = zmalloc(width*height); in lwCreateCanvas()
H A Dredis-benchmark.c318 client c = zmalloc(sizeof(struct _client)); in createClient()
382 c->randptr = zmalloc(sizeof(char*)*c->randlen); in createClient()
394 c->randptr = zmalloc(sizeof(char*)*c->randfree); in createClient()
687 config.latency = zmalloc(sizeof(long long)*config.requests); in main()
719 data = zmalloc(config.datasize+1); in main()
H A Dzmalloc.h80 void *zmalloc(size_t size);
H A Ddb.c1206 keys = zmalloc(sizeof(int)*((last - cmd->firstkey)+1)); in getKeysUsingCommandTable()
1273 keys = zmalloc(sizeof(int)*(num+1)); in zunionInterGetKeys()
1299 keys = zmalloc(sizeof(int)*num); in evalGetKeys()
1320 keys = zmalloc(sizeof(int)*2); /* Alloc 2 places for the worst case. */ in sortGetKeys()
1378 keys = zmalloc(sizeof(int)*num); in migrateGetKeys()
1411 keys = zmalloc(sizeof(int) * num); in georadiusGetKeys()
1460 keys = zmalloc(sizeof(int) * num); in xreadGetKeys()
1477 if (keylen+2 > 64) indexed = zmalloc(keylen+2); in slotToKeyUpdateKey()
H A Dae_select.c43 aeApiState *state = zmalloc(sizeof(aeApiState)); in aeApiCreate()
H A Drio.c270 r->io.fdset.fds = zmalloc(sizeof(int)*numfds); in rioInitWithFdset()
271 r->io.fdset.state = zmalloc(sizeof(int)*numfds); in rioInitWithFdset()
H A Dmodule.c316 return zmalloc(bytes); in RM_Alloc()
390 b = zmalloc(sizeof(*b) + blocksize); in RM_PoolAlloc()
720 cp = zmalloc(sizeof(*cp)); in RM_CreateCommand()
723 cp->rediscmd = zmalloc(sizeof(*rediscmd)); in RM_CreateCommand()
747 module = zmalloc(sizeof(*module)); in RM_SetModuleAttribs()
1532 kp = zmalloc(sizeof(*kp)); in RM_OpenKey()
3464 io->ctx = zmalloc(sizeof(RedisModuleCtx)); in RM_GetContextFromIO()
3854 RedisModuleCtx *ctx = zmalloc(sizeof(*ctx)); in RM_GetThreadSafeContext()
4094 r = zmalloc(sizeof(*r)); in RM_RegisterClusterMessageReceiver()
4153 ids[j] = zmalloc(REDISMODULE_NODE_ID_LEN); in RM_GetClusterNodesList()
[all …]
H A Dmulti.c66 mc->argv = zmalloc(sizeof(robj*)*c->argc); in queueMultiCommand()
256 wk = zmalloc(sizeof(*wk)); in watchForKey()
H A Dredis-check-aof.c85 *target = (char*)zmalloc(len); in readString()
/f-stack/app/redis-5.0.5/utils/hashtable/
H A DREADME13 cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test
H A Drehashing.c74 dictEntry **des = zmalloc(sizeof(dictEntry*)*dictSize(d)); in stressGetKeys()
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h31 #define zmalloc(size) opae_zmalloc(size) macro
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_trace_points.c50 lib.eal.mem.zmalloc)

123