Home
last modified time | relevance | path

Searched refs:tidx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/kernel/
Duserspace.c268 static bool thread_idx_alloc(uintptr_t *tidx) in thread_idx_alloc() argument
279 *tidx = base + (idx - 1); in thread_idx_alloc()
288 (void *)*tidx); in thread_idx_alloc()
309 static void thread_idx_free(uintptr_t tidx) in thread_idx_free() argument
312 k_object_wordlist_foreach(clear_perms_cb, (void *)tidx); in thread_idx_free()
315 int base = tidx / NUM_BITS(_thread_idx_map[0]); in thread_idx_free()
316 int offset = tidx % NUM_BITS(_thread_idx_map[0]); in thread_idx_free()
399 uintptr_t tidx = 0; in z_object_alloc() local
408 if (!thread_idx_alloc(&tidx)) { in z_object_alloc()
428 thread_idx_free(tidx); in z_object_alloc()
[all …]
/Zephyr-latest/tests/kernel/sched/deadline/src/
Dmain.c36 int tidx = POINTER_TO_INT(p1); in worker() local
41 zassert_true(tidx >= 0 && tidx < NUM_THREADS, ""); in worker()
44 exec_order[n_exec++] = tidx; in worker()