Searched refs:dss_max (Results 1 – 1 of 1) sorted by relevance
26 static void *dss_max; variable75 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()[all …]