Lines Matching +full:- +full:j

4  * SPDX-License-Identifier: Apache-2.0
16 #define NUM_THREADS (CONFIG_MP_MAX_NUM_CPUS - 1)
40 ipi_count[_current_cpu->id]++; in z_trace_sched_ipi()
68 id = _current_cpu->id; in busy_thread_entry()
141 id = _current_cpu->id; in busy_threads_create()
174 unsigned int j; in ZTEST() local
178 id = busy_threads_create(priority - 1); in ZTEST()
187 for (j = 0; j < CONFIG_MP_MAX_NUM_CPUS; j++) { in ZTEST()
188 if (id == j) { in ZTEST()
189 zassert_true(set[j] == 0, in ZTEST()
190 "Broadcast-Expected 0, got %u\n", in ZTEST()
191 set[j]); in ZTEST()
193 zassert_true(set[j] == 1, in ZTEST()
194 "Broadcast-Expected 1, got %u\n", in ZTEST()
195 set[j]); in ZTEST()
209 unsigned int j; in ZTEST() local
213 id = busy_threads_create(priority - 1); in ZTEST()
229 for (j = 0; j < CONFIG_MP_MAX_NUM_CPUS; j++) { in ZTEST()
230 if (i == j) { in ZTEST()
231 zassert_true(set[j] == 1, in ZTEST()
232 "Direct-Expected 1, got %u\n", in ZTEST()
233 set[j]); in ZTEST()
235 zassert_true(set[j] == 0, in ZTEST()
236 "Direct-Expected 0, got %u\n", in ZTEST()
237 set[j]); in ZTEST()
260 id = busy_threads_create(priority - 1); in ZTEST()
306 alt_thread_create(priority - 1 - NUM_THREADS, "High"); in ZTEST()
308 id = busy_threads_create(priority - 1); in ZTEST()
361 id = busy_threads_create(priority - 1); in ZTEST()
374 unsigned int j; in ZTEST() local
376 for (j = 0; j < NUM_THREADS; j++) { in ZTEST()
377 if (_kernel.cpus[i].current == &thread[j]) { in ZTEST()
382 zassert_true(j < NUM_THREADS, in ZTEST()
385 if (j == 0) { in ZTEST()
414 alt_thread_create(priority - 1 - NUM_THREADS, "High"); in ZTEST()
416 id = busy_threads_create(priority - 1); in ZTEST()