Searched refs:tmp_thr_id (Results 1 – 2 of 2) sorted by relevance
45 uint32_t tmp_thr_id; in alloc_thread_id() local47 tmp_thr_id = __atomic_fetch_add(&thr_id, 1, __ATOMIC_RELAXED); in alloc_thread_id()48 if (tmp_thr_id >= RTE_MAX_LCORE) in alloc_thread_id()49 printf("Invalid thread id %u\n", tmp_thr_id); in alloc_thread_id()51 return tmp_thr_id; in alloc_thread_id()
361 uint32_t tmp_thr_id; in alloc_thread_id() local363 tmp_thr_id = __atomic_fetch_add(&thr_id, 1, __ATOMIC_RELAXED); in alloc_thread_id()364 if (tmp_thr_id >= RTE_MAX_LCORE) in alloc_thread_id()365 printf("Invalid thread id %u\n", tmp_thr_id); in alloc_thread_id()367 return tmp_thr_id; in alloc_thread_id()