Lines Matching refs:dss_max
26 static void *dss_max; variable
75 void *max_prev = atomic_read_p(&dss_max); in chunk_dss_max_update()
86 if (!atomic_cas_p(&dss_max, max_prev, max_cur)) in chunk_dss_max_update()
130 gap_size = (chunksize - CHUNK_ADDR2OFFSET(dss_max)) & in chunk_alloc_dss()
137 cpad = (void *)((uintptr_t)dss_max + gap_size); in chunk_alloc_dss()
138 ret = (void *)ALIGNMENT_CEILING((uintptr_t)dss_max, in chunk_alloc_dss()
142 if ((uintptr_t)ret < (uintptr_t)dss_max || in chunk_alloc_dss()
143 (uintptr_t)dss_next < (uintptr_t)dss_max) in chunk_alloc_dss()
153 if (atomic_cas_p(&dss_max, max_cur, dss_next)) in chunk_alloc_dss()
186 atomic_cas_p(&dss_max, dss_next, max_cur); in chunk_alloc_dss()
212 return (chunk_in_dss_helper(chunk, atomic_read_p(&dss_max))); in chunk_in_dss()
222 max = atomic_read_p(&dss_max); in chunk_dss_mergeable()
235 dss_max = dss_base; in chunk_dss_boot()