Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dchunk_dss.c66 void *max_cur; in chunk_dss_max_update() local
77 max_cur = chunk_dss_sbrk(0); in chunk_dss_max_update()
78 if ((uintptr_t)max_prev > (uintptr_t)max_cur) { in chunk_dss_max_update()
86 if (!atomic_cas_p(&dss_max, max_prev, max_cur)) in chunk_dss_max_update()
90 if (new_addr != NULL && max_cur != new_addr) in chunk_dss_max_update()
93 return (max_cur); in chunk_dss_max_update()
118 void *ret, *cpad, *max_cur, *dss_next, *dss_prev; in chunk_alloc_dss() local
122 max_cur = chunk_dss_max_update(new_addr); in chunk_alloc_dss()
123 if (max_cur == NULL) in chunk_alloc_dss()
153 if (atomic_cas_p(&dss_max, max_cur, dss_next)) in chunk_alloc_dss()
[all …]
/external/jemalloc_new/src/
Dextent_dss.c97 void *max_cur = extent_dss_sbrk(0); in extent_dss_max_update() local
98 if (max_cur == (void *)-1) { in extent_dss_max_update()
101 atomic_store_p(&dss_max, max_cur, ATOMIC_RELEASE); in extent_dss_max_update()
103 if (new_addr != NULL && max_cur != new_addr) { in extent_dss_max_update()
106 return max_cur; in extent_dss_max_update()
139 void *max_cur = extent_dss_max_update(new_addr); in extent_alloc_dss() local
140 if (max_cur == NULL) { in extent_alloc_dss()
150 (uintptr_t)max_cur)); in extent_alloc_dss()
166 if ((uintptr_t)ret < (uintptr_t)max_cur || in extent_alloc_dss()
167 (uintptr_t)dss_next < (uintptr_t)max_cur) { in extent_alloc_dss()
[all …]