Searched refs:gNextSlot (Results 1 – 8 of 8) sorted by relevance
24 static std::atomic<int> gNextSlot(TLS_FIRST_FREE_SLOT);39 if (gNextSlot < TLS_MAX_KEYS) { in tls_allocate()40 auto next = gNextSlot++; in tls_allocate()
20 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable35 if (gNextSlot < TLS_MAX_KEYS) { in tls_allocate()36 int32 next = gNextSlot++; in tls_allocate()
14 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable21 int32 next = atomic_add(&gNextSlot, 1); in tls_allocate()
19 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable34 int32 next = atomic_add(&gNextSlot, 1); in tls_allocate()
18 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable35 int32 next = atomic_add(&gNextSlot, 1); in tls_allocate()
18 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable32 int32 next = atomic_add(&gNextSlot, 1); in tls_allocate()
27 static int32 gNextSlot = TLS_FIRST_FREE_SLOT; variable33 int32 next = atomic_add(&gNextSlot, 1); in tls_allocate()