Home
last modified time | relevance | path

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

/bionic/libc/upstream-dlmalloc/
Dmalloc.c2633 #define gm (&_gm_) macro
3095 static void pre_fork(void) { ACQUIRE_LOCK(&(gm)->mutex); } in pre_fork()
3096 static void post_fork_parent(void) { RELEASE_LOCK(&(gm)->mutex); } in post_fork_parent()
3097 static void post_fork_child(void) { INITIAL_LOCK(&(gm)->mutex); } in post_fork_child()
3159 gm->mflags = mparams.default_mflags; in init_mparams()
3160 (void)INITIAL_LOCK(&gm->mutex); in init_mparams()
3822 ((m == gm)? dlmalloc(b) : mspace_malloc(m, b))
3824 if (m == gm) dlfree(mem); else mspace_free(m,mem);
4596 if (!PREACTION(gm)) { in dlmalloc()
4604 smallbits = gm->smallmap >> idx; in dlmalloc()
[all …]