Lines Matching refs:max_cur
66 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()
158 if (dss_prev == max_cur) { in chunk_alloc_dss()
186 atomic_cas_p(&dss_max, dss_next, max_cur); in chunk_alloc_dss()