Lines Matching defs:mparams

166   * magic_init_mutex ensures that mparams.magic and other
167 unique mparams values are initialized only once.
614 cached from mparams in trim_check, except that it is disabled if
663 A cross-check field that should always hold same value as mparams.magic.
714 dynamically set using mallopt. There is a single instance, mparams,
725 static struct malloc_params mparams;
748 (((S) + (mparams.page_size)) & ~(mparams.page_size - SIZE_T_ONE))
752 (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE))
755 (((size_t)(S) & (mparams.page_size - SIZE_T_ONE)) == 0)
757 (((size_t)(S) & (mparams.granularity - SIZE_T_ONE)) == 0)
808 #define GLOBALLY_INITIALIZE() (mparams.page_size == 0 && init_mparams())
1045 #define ok_magic(M) ((M)->magic == mparams.magic)
1086 (((mchunkptr)((char*)(p) + (s)))->prev_foot = ((size_t)(M) ^ mparams.magic))
1090 (chunksize(p))))->prev_foot ^ mparams.magic))
1108 /* ---------------------------- setting mparams -------------------------- */
1110 /* Initialize mparams */
1112 if (mparams.page_size == 0) {
1115 mparams.default_mflags = USE_LOCK_BIT;
1140 if (mparams.magic == 0) {
1141 mparams.magic = s;
1144 //gm->mflags = mparams.default_mflags;
1149 mparams.page_size = malloc_getpagesize;
1150 mparams.granularity = ((DEFAULT_GRANULARITY != 0)?
1151 DEFAULT_GRANULARITY : mparams.page_size);
1165 ((mparams.granularity & (mparams.granularity-SIZE_T_ONE)) != 0) ||
1166 ((mparams.page_size & (mparams.page_size-SIZE_T_ONE)) != 0))
1178 if (val >= mparams.page_size && ((val & (val-1)) == 0)) {
1179 mparams.granularity = val;
2128 m->magic = mparams.magic;
2129 m->mflags = mparams.default_mflags;
2144 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {