Home
last modified time | relevance | path

Searched refs:lg_delta (Results 1 – 5 of 5) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh46 lg_delta=$3
51 if [ ${lg_delta} -ge ${lg_p} ] ; then
56 pow2 ${lg_delta}; delta=${pow2_result}
74 if [ $((${lg_delta} + ${lg_ndelta})) -eq ${lg_grp} ] ; then
88 lg_delta_lookup=${lg_delta}
92 …printf ' SC(%3d, %6d, %8d, %6d, %3s, %3s, %2s) \\\n' ${index} ${lg_grp} ${lg_delta} ${ndelta} $…
126 lg_delta=${lg_grp}
128 size_class ${index} ${lg_grp} ${lg_delta} ${ndelta} ${lg_p} ${lg_kmax}
141 lg_delta=${lg_grp}
152 size_class ${index} ${lg_grp} ${lg_delta} ${ndelta} ${lg_p} ${lg_kmax}
[all …]
Djemalloc_internal.h598 pszind_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_PAGE + 1) ? in psz2ind() local
601 size_t delta_inverse_mask = ZI(-1) << lg_delta; in psz2ind()
602 pszind_t mod = ((((psz-1) & delta_inverse_mask) >> lg_delta)) & in psz2ind()
623 size_t lg_delta = shift + (LG_PAGE-1); in pind2sz_compute() local
624 size_t mod_size = (mod+1) << lg_delta; in pind2sz_compute()
655 size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_PAGE + 1) ? in psz2u() local
657 size_t delta = ZU(1) << lg_delta; in psz2u()
683 szind_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) in size2index_compute() local
686 size_t delta_inverse_mask = ZI(-1) << lg_delta; in size2index_compute()
687 szind_t mod = ((((size-1) & delta_inverse_mask) >> lg_delta)) & in size2index_compute()
[all …]
Djemalloc_internal.h.in598 pszind_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_PAGE + 1) ? local
601 size_t delta_inverse_mask = ZI(-1) << lg_delta;
602 pszind_t mod = ((((psz-1) & delta_inverse_mask) >> lg_delta)) &
623 size_t lg_delta = shift + (LG_PAGE-1); local
624 size_t mod_size = (mod+1) << lg_delta;
655 size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_PAGE + 1) ? local
657 size_t delta = ZU(1) << lg_delta;
683 szind_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) local
686 size_t delta_inverse_mask = ZI(-1) << lg_delta;
687 szind_t mod = ((((size-1) & delta_inverse_mask) >> lg_delta)) &
[all …]
/external/jemalloc/src/
Djemalloc.c94 #define PSZ_yes(lg_grp, ndelta, lg_delta) \ argument
95 (((ZU(1)<<lg_grp) + (ZU(ndelta)<<lg_delta))),
96 #define PSZ_no(lg_grp, ndelta, lg_delta) argument
97 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup) \ argument
98 PSZ_##psz(lg_grp, ndelta, lg_delta)
107 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup) \ argument
108 ((ZU(1)<<lg_grp) + (ZU(ndelta)<<lg_delta)),
179 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup) \ argument
Darena.c3750 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup) \ in bin_info_init() argument
3751 BIN_INFO_INIT_bin_##bin(index, (ZU(1)<<lg_grp) + (ZU(ndelta)<<lg_delta)) in bin_info_init()