/Zephyr-latest/tests/benchmarks/latency_measure/src/ |
D | main.c | 126 thread_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, 0, K_USER); in test_thread() 127 thread_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER, K_USER); in test_thread() 128 thread_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER, 0); in test_thread() 133 fifo_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER); in test_thread() 138 fifo_blocking_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, 0, K_USER); in test_thread() 139 fifo_blocking_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER, 0); in test_thread() 140 fifo_blocking_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER, K_USER); in test_thread() 146 lifo_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER); in test_thread() 151 lifo_blocking_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, 0, K_USER); in test_thread() 152 lifo_blocking_ops(CONFIG_BENCHMARK_NUM_ITERATIONS, K_USER, 0); in test_thread() [all …]
|
D | thread_switch_yield.c | 118 if ((start_options & K_USER) == K_USER) { in thread_switch_yield_common() 136 (start_options & K_USER) == K_USER ? 'u' : 'k', in thread_switch_yield_common() 137 (alt_options & K_USER) == K_USER ? 'u' : 'k'); in thread_switch_yield_common() 162 thread_switch_yield_common(description, num_iterations, K_USER, K_USER, in thread_switch_yield() 166 thread_switch_yield_common(description, num_iterations, 0, K_USER, in thread_switch_yield() 170 thread_switch_yield_common(description, num_iterations, K_USER, 0, in thread_switch_yield()
|
D | thread.c | 91 K_USER : 0, K_FOREVER); in start_thread_entry() 190 if (((start_options & K_USER) == K_USER) && in thread_ops() 191 ((alt_options & K_USER) == 0)) { in thread_ops() 195 if ((alt_options & K_USER) == K_USER) { in thread_ops() 206 if ((start_options & K_USER) == K_USER) { in thread_ops() 253 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops() 254 (start_options & K_USER) != 0 ? "user" : "kernel"); in thread_ops() 268 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops() 269 (start_options & K_USER) != 0 ? "user" : "kernel"); in thread_ops() 282 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops() [all …]
|
D | fifo.c | 45 if ((options & K_USER) == 0) { in fifo_put_get_thread_entry() 114 if ((options & K_USER) == 0) { in fifo_ops() 117 options & K_USER ? "user" : "kernel"); in fifo_ops() 129 options & K_USER ? "user" : "kernel"); in fifo_ops() 141 options & K_USER ? "user" : "kernel"); in fifo_ops() 152 options & K_USER ? "user" : "kernel"); in fifo_ops() 177 if ((options & K_USER) == 0) { in alt_thread_entry() 220 if ((options & K_USER) == 0) { in alt_thread_entry() 240 if ((options & K_USER) == 0) { in start_thread_entry() 296 if (((start_options | alt_options) & K_USER) == 0) { in fifo_blocking_ops() [all …]
|
D | lifo.c | 45 if ((options & K_USER) == 0) { in lifo_put_get_thread_entry() 114 if ((options & K_USER) == 0) { in lifo_ops() 117 options & K_USER ? "user" : "kernel"); in lifo_ops() 129 options & K_USER ? "user" : "kernel"); in lifo_ops() 141 options & K_USER ? "user" : "kernel"); in lifo_ops() 152 options & K_USER ? "user" : "kernel"); in lifo_ops() 177 if ((options & K_USER) == 0) { in alt_thread_entry() 220 if ((options & K_USER) == 0) { in alt_thread_entry() 240 if ((options & K_USER) == 0) { in start_thread_entry() 296 if (((start_options | alt_options) & K_USER) == 0) { in lifo_blocking_ops() [all …]
|
D | sema_test_signal_release.c | 144 ((start_options & K_USER) == K_USER) ? 'u' : 'k', in sema_context_switch() 145 ((alt_options & K_USER) == K_USER) ? 'u' : 'k'); in sema_context_switch() 162 ((alt_options & K_USER) == K_USER) ? 'u' : 'k', in sema_context_switch() 163 ((start_options & K_USER) == K_USER) ? 'u' : 'k'); in sema_context_switch() 265 (options & K_USER) == K_USER ? "user" : "kernel"); in sema_test_signal() 286 (options & K_USER) == K_USER ? "user" : "kernel"); in sema_test_signal()
|
D | timing_sc.c | 84 priority - 1, K_USER, K_FOREVER); in timestamp_overhead_init() 97 if (((options1 | options2) & K_USER) == K_USER) { in timestamp_overhead_adjustment() 98 if (((options1 & options2) & K_USER) == K_USER) { in timestamp_overhead_adjustment()
|
D | events.c | 200 (options & K_USER) ? "user" : "kernel"); in event_ops() 213 (options & K_USER) ? "user" : "kernel"); in event_ops() 225 (options & K_USER) ? "user" : "kernel"); in event_ops() 237 (options & K_USER) ? "user" : "kernel"); in event_ops() 284 (alt_options & K_USER) ? 'u' : 'k', in event_blocking_ops() 285 (start_options & K_USER) ? 'u' : 'k'); in event_blocking_ops() 296 (start_options & K_USER) ? 'u' : 'k', in event_blocking_ops() 297 (alt_options & K_USER) ? 'u' : 'k'); in event_blocking_ops() 308 (alt_options & K_USER) ? 'u' : 'k', in event_blocking_ops() 309 (start_options & K_USER) ? 'u' : 'k'); in event_blocking_ops() [all …]
|
D | mutex_lock_unlock.c | 99 (options & K_USER) == K_USER ? "user" : "kernel"); in mutex_lock_unlock() 109 (options & K_USER) == K_USER ? "user" : "kernel"); in mutex_lock_unlock()
|
D | condvar.c | 108 (start_options & K_USER) ? 'u' : 'k', in condvar_blocking_ops() 109 (alt_options & K_USER) ? 'u' : 'k'); in condvar_blocking_ops() 120 (alt_options & K_USER) ? 'u' : 'k', in condvar_blocking_ops() 121 (start_options & K_USER) ? 'u' : 'k'); in condvar_blocking_ops()
|
D | stack.c | 86 options & K_USER ? "user" : "kernel"); in stack_ops() 98 options & K_USER ? "user" : "kernel"); in stack_ops() 198 alt_options & K_USER ? "u" : "k", in stack_blocking_ops() 199 start_options & K_USER ? "u" : "k"); in stack_blocking_ops() 210 start_options & K_USER ? "u" : "k", in stack_blocking_ops() 211 alt_options & K_USER ? "u" : "k"); in stack_blocking_ops()
|
/Zephyr-latest/tests/kernel/threads/dynamic_thread_stack/src/ |
D | main.c | 57 stack = k_thread_stack_alloc(CONFIG_DYNAMIC_THREAD_STACK_SIZE, K_USER); in ZTEST_USER() 65 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 88 IS_ENABLED(CONFIG_USERSPACE) ? K_USER : 0); in ZTEST() 97 IS_ENABLED(CONFIG_USERSPACE) ? K_USER : 0))); in ZTEST() 101 IS_ENABLED(CONFIG_USERSPACE) ? K_USER : 0)); in ZTEST() 110 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST() 144 IS_ENABLED(CONFIG_USERSPACE) ? K_USER : 0); in ZTEST() 156 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST() 232 stack[0] = k_thread_stack_alloc(CONFIG_DYNAMIC_THREAD_STACK_SIZE, K_USER); in ZTEST() 235 stack[1] = k_thread_stack_alloc(CONFIG_DYNAMIC_THREAD_STACK_SIZE, K_USER); in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 148 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 155 PRIO_WAKE, K_USER | K_INHERIT_PERMS, K_MSEC(1)); in ZTEST_USER() 174 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 181 PRIO_WAKE, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 200 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 219 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 234 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 250 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 258 PRIO_WAKE, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 275 PRIO_WAIT, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/threads/thread_apis/src/ |
D | test_threads_spawn.c | 52 K_USER, K_NO_WAIT); in ZTEST_USER() 70 NULL, NULL, NULL, spawn_prio, K_USER, K_NO_WAIT); in ZTEST() 88 NULL, NULL, NULL, 0, K_USER, K_MSEC(120)); in ZTEST_USER() 119 K_USER, K_FOREVER); in ZTEST() 145 K_USER, K_FOREVER); in ZTEST() 172 K_USER, K_FOREVER); in ZTEST_USER()
|
D | test_threads_suspend_resume.c | 29 create_prio, K_USER, K_NO_WAIT); in threads_suspend_resume() 98 0, K_USER, K_NO_WAIT); in ZTEST() 135 0, K_USER, K_NO_WAIT); in ZTEST() 163 0, K_USER, K_NO_WAIT); in ZTEST()
|
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/ |
D | kobject.c | 232 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 243 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 279 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 288 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 324 0, K_USER, K_NO_WAIT); in ZTEST() 359 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 412 0, K_USER, K_NO_WAIT); in ZTEST() 420 0, K_USER, K_NO_WAIT); in ZTEST() 463 0, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in ZTEST() 472 0, K_USER, K_NO_WAIT); in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/sched/schedule_api/src/ |
D | user_api.c | 37 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 72 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 83 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 126 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 167 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 208 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 249 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 291 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 335 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 376 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER()
|
/Zephyr-latest/tests/kernel/mem_protect/futex/src/ |
D | main.c | 179 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 199 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 219 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 242 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 250 PRIO_WAKE, K_USER | K_INHERIT_PERMS, in ZTEST() 274 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 282 PRIO_WAKE, K_USER | K_INHERIT_PERMS, in ZTEST() 307 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() 315 PRIO_WAKE, K_USER | K_INHERIT_PERMS, in ZTEST() 333 PRIO_WAIT, K_USER | K_INHERIT_PERMS, in ZTEST() [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/ |
D | main.c | 57 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 95 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 133 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 171 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 209 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 246 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 283 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 323 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER()
|
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/ |
D | test_mutex_apis.c | 73 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in tmutex_test_lock() 89 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in tmutex_test_lock_timeout() 286 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 331 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 345 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 361 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 371 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 387 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 397 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 404 K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | thread.c | 75 if ((thread->base.user_options & K_USER) == K_USER) { in init_stack() 100 frame->bsa.threadptr = (uintptr_t)((thread->base.user_options & K_USER) ? thread : NULL); in init_stack() 180 if ((thread->base.user_options & K_USER) != K_USER) { in arch_thread_priv_stack_space_get()
|
/Zephyr-latest/tests/benchmarks/footprints/src/ |
D | userspace.c | 80 0, K_INHERIT_PERMS | K_USER, K_FOREVER); in user_thread_creation() 97 -1, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in syscall_overhead() 113 -1 /*priority*/, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in validation_overhead()
|
/Zephyr-latest/tests/kernel/semaphore/sys_sem/src/ |
D | main.c | 86 NULL, PRIO, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 97 NULL, LOW_PRIO, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 102 NULL, HIGH_PRIO, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 122 NULL, PRIO, K_USER | K_INHERIT_PERMS, in ZTEST_USER() 182 i, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER() 191 PRIO, K_USER | K_INHERIT_PERMS, K_NO_WAIT); in ZTEST_USER()
|
/Zephyr-latest/tests/kernel/threads/thread_error_case/src/ |
D | main.c | 69 perm = perm | K_USER; in tThread_entry_negative() 80 perm = perm | K_USER; in tThread_entry_negative() 91 perm = perm | K_USER; in tThread_entry_negative() 114 perm = perm | K_USER; in create_negative_test_thread()
|
/Zephyr-latest/samples/subsys/llext/edk/ext3/src/ |
D | main.c | 46 sub_stack = k_thread_stack_alloc(STACKSIZE, K_USER); in start() 50 NULL, PRIORITY, K_INHERIT_PERMS | K_USER, K_NO_WAIT); in start()
|