Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 13 of 13) sorted by relevance

/redis-3.2.3/deps/jemalloc/src/
H A Dbitmap.c54 size_t extra; in bitmap_init() local
66 extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK)) in bitmap_init()
68 if (extra != 0) in bitmap_init()
69 bitmap[binfo->levels[1].group_offset - 1] >>= extra; in bitmap_init()
73 extra = (BITMAP_GROUP_NBITS - (group_count & in bitmap_init()
75 if (extra != 0) in bitmap_init()
76 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra; in bitmap_init()
H A Djemalloc.c2233 if (ixalloc(ptr, old_usize, size, extra, alignment, zero)) in ixallocx_helper()
2255 size_t extra, size_t alignment, bool zero) in ixallocx_prof() argument
2269 usize_max = (alignment == 0) ? s2u(size+extra) : sa2u(size+extra, in ixallocx_prof()
2274 usize = ixallocx_prof_sample(ptr, old_usize, size, extra, in ixallocx_prof()
2277 usize = ixallocx_helper(ptr, old_usize, size, extra, alignment, in ixallocx_prof()
2291 je_xallocx(void *ptr, size_t size, size_t extra, int flags) in je_xallocx() argument
2301 assert(SIZE_T_MAX - size >= extra); in je_xallocx()
2309 if (unlikely(size + extra > HUGE_MAXCLASS)) { in je_xallocx()
2315 extra = HUGE_MAXCLASS - size; in je_xallocx()
2322 usize = ixallocx_prof(tsd, ptr, old_usize, size, extra, in je_xallocx()
[all …]
H A Darena.c2799 arena_ralloc_no_move(void *ptr, size_t oldsize, size_t size, size_t extra, in arena_ralloc_no_move() argument
2805 usize_max = s2u(size + extra); in arena_ralloc_no_move()
/redis-3.2.3/deps/lua/src/
H A Dlparser.c258 int extra = nvars - nexps; in adjust_assign() local
260 extra++; /* includes call itself */ in adjust_assign()
261 if (extra < 0) extra = 0; in adjust_assign()
262 luaK_setreturns(fs, e, extra); /* last exp. provides the difference */ in adjust_assign()
263 if (extra > 1) luaK_reserveregs(fs, extra-1); in adjust_assign()
267 if (extra > 0) { in adjust_assign()
269 luaK_reserveregs(fs, extra); in adjust_assign()
270 luaK_nil(fs, reg, extra); in adjust_assign()
910 int extra = fs->freereg; /* eventual position to save local variable */ in check_conflict() local
916 lh->v.u.s.info = extra; /* previous assignment will use safe copy */ in check_conflict()
[all …]
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal.h.in843 size_t extra, size_t alignment, bool zero, tcache_t *tcache,
849 bool ixalloc(void *ptr, size_t oldsize, size_t size, size_t extra,
1051 size_t extra, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena) argument
1056 usize = sa2u(size + extra, alignment);
1061 if (extra == 0)
1063 /* Try again, without extra this time. */
1072 * Copy at most size bytes (not size+extra), since the caller has no
1073 * expectation that the extra bytes will be reliably preserved.
1113 ixalloc(void *ptr, size_t oldsize, size_t size, size_t extra, size_t alignment, argument
1126 return (arena_ralloc_no_move(ptr, oldsize, size, extra, zero));
H A Darena.h489 size_t extra, bool zero);
/redis-3.2.3/src/
H A Dquicklist.h54 unsigned int extra : 10; /* more bits to steal for future usage */ member
H A Dziplist.c466 size_t offset, noffset, extra; in __ziplistCascadeUpdate() local
486 extra = rawlensize-next.prevrawlensize; in __ziplistCascadeUpdate()
487 zl = ziplistResize(zl,curlen+extra); in __ziplistCascadeUpdate()
497 intrev32ifbe(intrev32ifbe(ZIPLIST_TAIL_OFFSET(zl))+extra); in __ziplistCascadeUpdate()
508 curlen += extra; in __ziplistCascadeUpdate()
H A Ddebug.c368 char extra[128] = {0}; in debugCommand() local
370 char *nextra = extra; in debugCommand()
371 int remaining = sizeof(extra); in debugCommand()
407 val->lru, estimateObjectIdleTime(val)/1000, extra); in debugCommand()
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_protos.h.in35 size_t extra, int flags);
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in2099 my $extra = "";
2101 $extra = sprintf("\\rof %s (%s)",
2123 $extra,
/redis-3.2.3/deps/jemalloc/
H A DChangeLog39 optional extra space. Note that a couple of minor heap profiling
58 - Fix xallocx() bugs related to size+extra exceeding HUGE_MAXCLASS.
678 allocate/reallocate aligned zeroed memory, ask for optional extra memory
H A DINSTALL193 comes at the cost of one extra page per large allocation, which in the