Home
last modified time | relevance | path

Searched refs:elm (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Drtree.h103 rtree_node_elm_t *elm, unsigned level);
114 rtree_node_elm_t *rtree_child_tryread(rtree_node_elm_t *elm);
119 void rtree_val_write(rtree_t *rtree, rtree_node_elm_t *elm,
160 rtree_child_tryread(rtree_node_elm_t *elm) in rtree_child_tryread() argument
165 child = elm->child; in rtree_child_tryread()
167 child = atomic_read_p(&elm->pun); in rtree_child_tryread()
176 child = rtree_child_tryread(elm); in rtree_child_read()
178 child = rtree_child_read_hard(rtree, elm, level); in rtree_child_read()
193 return (elm->val); in rtree_val_read()
200 return (atomic_read_p(&elm->pun)); in rtree_val_read()
[all …]
H A Dtcache.h418 tcaches_t *elm = &tcaches[ind]; in tcaches_get() local
419 if (unlikely(elm->tcache == NULL)) in tcaches_get()
420 elm->tcache = tcache_create(tsd, arena_choose(tsd, NULL)); in tcaches_get()
421 return (elm->tcache); in tcaches_get()
H A Darena.h1086 arena_chunk_map_misc_t *elm = arena_miscelm_get(chunk, in arena_prof_tctx_get() local
1088 ret = atomic_read_p(&elm->prof_tctx_pun); in arena_prof_tctx_get()
1112 arena_chunk_map_misc_t *elm; in arena_prof_tctx_set() local
1116 elm = arena_miscelm_get(chunk, pageind); in arena_prof_tctx_set()
1117 atomic_write_p(&elm->prof_tctx_pun, tctx); in arena_prof_tctx_set()
1144 arena_chunk_map_misc_t *elm; in arena_prof_tctx_reset() local
1152 elm = arena_miscelm_get(chunk, pageind); in arena_prof_tctx_reset()
1153 atomic_write_p(&elm->prof_tctx_pun, in arena_prof_tctx_reset()
/redis-3.2.3/deps/jemalloc/src/
H A Dtcache.c437 tcaches_t *elm; in tcaches_create() local
453 elm = tcaches_avail; in tcaches_create()
455 elm->tcache = tcache; in tcaches_create()
456 *r_ind = elm - tcaches; in tcaches_create()
458 elm = &tcaches[tcaches_past]; in tcaches_create()
459 elm->tcache = tcache; in tcaches_create()
471 if (elm->tcache == NULL) in tcaches_elm_flush()
474 elm->tcache = NULL; in tcaches_elm_flush()
488 tcaches_elm_flush(tsd, elm); in tcaches_destroy()
489 elm->next = tcaches_avail; in tcaches_destroy()
[all …]
H A Drtree.c123 rtree_child_read_hard(rtree_t *rtree, rtree_node_elm_t *elm, unsigned level) in rtree_child_read_hard() argument
126 return (rtree_node_init(rtree, level, &elm->child)); in rtree_child_read_hard()
H A Dctl.c804 const char *elm, *tdot, *dot; in ctl_lookup() local
808 elm = name; in ctl_lookup()
810 dot = ((tdot = strchr(elm, '.')) != NULL) ? tdot : strchr(elm, '\0'); in ctl_lookup()
811 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup()
828 strncmp(elm, child->name, elen) == 0) { in ctl_lookup()
846 index = malloc_strtoumax(elm, NULL, 10); in ctl_lookup()
885 elm = &dot[1]; in ctl_lookup()
886 dot = ((tdot = strchr(elm, '.')) != NULL) ? tdot : in ctl_lookup()
887 strchr(elm, '\0'); in ctl_lookup()
888 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup()