Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_cooperative_scheduling_test.c54 void tm_cooperative_thread_0_entry(void *p1, void *p2, void *p3);
55 void tm_cooperative_thread_1_entry(void *p1, void *p2, void *p3);
56 void tm_cooperative_thread_2_entry(void *p1, void *p2, void *p3);
57 void tm_cooperative_thread_3_entry(void *p1, void *p2, void *p3);
58 void tm_cooperative_thread_4_entry(void *p1, void *p2, void *p3);
102 void tm_cooperative_thread_0_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_0_entry() argument
105 (void)p2; in tm_cooperative_thread_0_entry()
119 void tm_cooperative_thread_1_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_1_entry() argument
122 (void)p2; in tm_cooperative_thread_1_entry()
136 void tm_cooperative_thread_2_entry(void *p1, void *p2, void *p3) in tm_cooperative_thread_2_entry() argument
[all …]
Dtm_preemptive_scheduling_test.c54 void tm_preemptive_thread_0_entry(void *p1, void *p2, void *p3);
55 void tm_preemptive_thread_1_entry(void *p1, void *p2, void *p3);
56 void tm_preemptive_thread_2_entry(void *p1, void *p2, void *p3);
57 void tm_preemptive_thread_3_entry(void *p1, void *p2, void *p3);
58 void tm_preemptive_thread_4_entry(void *p1, void *p2, void *p3);
106 void tm_preemptive_thread_0_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_0_entry() argument
109 (void)p2; in tm_preemptive_thread_0_entry()
127 void tm_preemptive_thread_1_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_1_entry() argument
130 (void)p2; in tm_preemptive_thread_1_entry()
152 void tm_preemptive_thread_2_entry(void *p1, void *p2, void *p3) in tm_preemptive_thread_2_entry() argument
[all …]
Dtm_interrupt_preemption_processing_test.c53 void tm_interrupt_preemption_thread_0_entry(void *p1, void *p2, void *p3);
54 void tm_interrupt_preemption_thread_1_entry(void *p1, void *p2, void *p3);
100 void tm_interrupt_preemption_thread_0_entry(void *p1, void *p2, void *p3) in tm_interrupt_preemption_thread_0_entry() argument
104 (void)p2; in tm_interrupt_preemption_thread_0_entry()
121 void tm_interrupt_preemption_thread_1_entry(void *p1, void *p2, void *p3) in tm_interrupt_preemption_thread_1_entry() argument
125 (void)p2; in tm_interrupt_preemption_thread_1_entry()
Dtm_message_processing_test.c52 void tm_message_processing_thread_0_entry(void *p1, void *p2, void *p3);
91 void tm_message_processing_thread_0_entry(void *p1, void *p2, void *p3) in tm_message_processing_thread_0_entry() argument
94 (void)p2; in tm_message_processing_thread_0_entry()
Dtm_basic_processing_test.c60 void tm_basic_processing_thread_0_entry(void *p1, void *p2, void *p3);
94 void tm_basic_processing_thread_0_entry(void *p1, void *p2, void *p3) in tm_basic_processing_thread_0_entry() argument
99 (void)p2; in tm_basic_processing_thread_0_entry()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Duser_api.c22 static void sleepy_thread(void *p1, void *p2, void *p3) in sleepy_thread() argument
25 ARG_UNUSED(p2); in sleepy_thread()
45 static void preempt_test_thread(void *p1, void *p2, void *p3) in preempt_test_thread() argument
48 ARG_UNUSED(p2); in preempt_test_thread()
97 static void thread_suspend_init_null(void *p1, void *p2, void *p3) in thread_suspend_init_null() argument
100 ARG_UNUSED(p2); in thread_suspend_init_null()
138 static void thread_resume_init_null(void *p1, void *p2, void *p3) in thread_resume_init_null() argument
141 ARG_UNUSED(p2); in thread_resume_init_null()
179 static void thread_priority_get_init_null(void *p1, void *p2, void *p3) in thread_priority_get_init_null() argument
182 ARG_UNUSED(p2); in thread_priority_get_init_null()
[all …]
/Zephyr-latest/tests/lib/heap/src/
Dmain.c296 void *p1, *p2, *p3; in ZTEST() local
309 p2 = sys_heap_realloc(&heap, p1, 128); in ZTEST()
312 zassert_true(p1 == p2, in ZTEST()
314 p1, p2); in ZTEST()
315 zassert_true(realloc_check_block(p2, p1, 64), "data changed"); in ZTEST()
322 p2 = sys_heap_alloc(&heap, 64); in ZTEST()
323 realloc_fill_block(p2, 64); in ZTEST()
327 zassert_true(p1 != p2, in ZTEST()
329 zassert_true(realloc_check_block(p2, p2, 64), "data changed"); in ZTEST()
335 p2 = sys_heap_realloc(&heap, p1, 64); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/
Dmain.c23 static void thread_timer_start_null(void *p1, void *p2, void *p3) in thread_timer_start_null() argument
26 ARG_UNUSED(p2); in thread_timer_start_null()
62 static void thread_timer_stop_null(void *p1, void *p2, void *p3) in thread_timer_stop_null() argument
65 ARG_UNUSED(p2); in thread_timer_stop_null()
100 static void thread_timer_status_get_null(void *p1, void *p2, void *p3) in thread_timer_status_get_null() argument
103 ARG_UNUSED(p2); in thread_timer_status_get_null()
138 static void thread_timer_status_sync_null(void *p1, void *p2, void *p3) in thread_timer_status_sync_null() argument
141 ARG_UNUSED(p2); in thread_timer_status_sync_null()
176 static void thread_timer_remaining_ticks_null(void *p1, void *p2, void *p3) in thread_timer_remaining_ticks_null() argument
179 ARG_UNUSED(p2); in thread_timer_remaining_ticks_null()
[all …]
/Zephyr-latest/scripts/coccinelle/
Dreturnvar.cocci43 position p1, p2;
48 return ret@p2;
52 p2 << r1.p2;
58 + p2[0].line)
62 p2 << r1.p2;
67 cocci.print_sec("return " + C + " here", p2)
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c28 static void kobject_access_grant_user_part(void *p1, void *p2, void *p3) in kobject_access_grant_user_part() argument
137 static void syscall_invalid_kobject_user_part(void *p1, void *p2, void *p3) in syscall_invalid_kobject_user_part() argument
171 static void thread_without_kobject_permission_user_part(void *p1, void *p2, in thread_without_kobject_permission_user_part() argument
202 static void kobject_revoke_access_user_part(void *p1, void *p2, void *p3) in kobject_revoke_access_user_part() argument
249 static void kobject_grant_access_child_entry(void *p1, void *p2, void *p3) in kobject_grant_access_child_entry() argument
255 static void kobject_grant_access_extra_entry(void *p1, void *p2, void *p3) in kobject_grant_access_extra_entry() argument
293 static void grant_access_kobj_invalid_child(void *p1, void *p2, void *p3) in grant_access_kobj_invalid_child() argument
330 static void release_from_user_child(void *p1, void *p2, void *p3) in release_from_user_child() argument
382 static void access_all_grant_child_give(void *p1, void *p2, void *p3) in access_all_grant_child_give() argument
387 static void access_all_grant_child_take(void *p1, void *p2, void *p3) in access_all_grant_child_take() argument
[all …]
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c38 static void tThread_entry_lock_forever(void *p1, void *p2, void *p3) in tThread_entry_lock_forever() argument
45 static void tThread_entry_lock_no_wait(void *p1, void *p2, void *p3) in tThread_entry_lock_no_wait() argument
51 static void tThread_entry_lock_timeout_fail(void *p1, void *p2, void *p3) in tThread_entry_lock_timeout_fail() argument
58 static void tThread_entry_lock_timeout_pass(void *p1, void *p2, void *p3) in tThread_entry_lock_timeout_pass() argument
114 static void tThread_T1_priority_inheritance(void *p1, void *p2, void *p3) in tThread_T1_priority_inheritance() argument
123 int priority_origin = k_thread_priority_get((k_tid_t)p2); in tThread_T1_priority_inheritance()
128 int priority = k_thread_priority_get((k_tid_t)p2); in tThread_T1_priority_inheritance()
137 priority = k_thread_priority_get((k_tid_t)p2); in tThread_T1_priority_inheritance()
162 static void tThread_T2_priority_inheritance(void *p1, void *p2, void *p3) in tThread_T2_priority_inheritance() argument
164 ARG_UNUSED(p2); in tThread_T2_priority_inheritance()
[all …]
/Zephyr-latest/tests/benchmarks/footprints/src/
Dsystem_thread.c22 void test_thread_entry(void *p, void *p1, void *p2) in test_thread_entry() argument
29 void thread_swap(void *p1, void *p2, void *p3) in thread_swap() argument
34 void thread_suspend(void *p1, void *p2, void *p3) in thread_suspend() argument
39 void thread_yield0(void *p1, void *p2, void *p3) in thread_yield0() argument
51 void thread_yield1(void *p1, void *p2, void *p3) in thread_yield1() argument
Duserspace.c53 void test_drop_to_user_mode_1(void *p1, void *p2, void *p3) in test_drop_to_user_mode_1() argument
60 void drop_to_user_mode_thread(void *p1, void *p2, void *p3) in drop_to_user_mode_thread() argument
85 void syscall_overhead_user_thread(void *p1, void *p2, void *p3) in syscall_overhead_user_thread() argument
100 void validation_overhead_user_thread(void *p1, void *p2, void *p3) in validation_overhead_user_thread() argument
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dthread_switch_yield.c28 static void alt_thread_entry(void *p1, void *p2, void *p3) in alt_thread_entry() argument
32 ARG_UNUSED(p2); in alt_thread_entry()
33 ARG_UNUSED(p2); in alt_thread_entry()
50 static void start_thread_entry(void *p1, void *p2, void *p3) in start_thread_entry() argument
57 ARG_UNUSED(p2); in start_thread_entry()
58 ARG_UNUSED(p2); in start_thread_entry()
/Zephyr-latest/samples/userspace/shared_mem/src/
Dmain.h23 void enc(void *p1, void *p2, void *p3);
24 void pt(void *p1, void *p2, void *p3);
25 void ct(void *p1, void *p2, void *p3);
/Zephyr-latest/tests/kernel/mutex/sys_mutex/src/
Dmain.c103 void thread_05(void *p1, void *p2, void *p3) in thread_05() argument
106 ARG_UNUSED(p2); in thread_05()
129 void thread_06(void *p1, void *p2, void *p3) in thread_06() argument
132 ARG_UNUSED(p2); in thread_06()
164 void thread_07(void *p1, void *p2, void *p3) in thread_07() argument
167 ARG_UNUSED(p2); in thread_07()
197 void thread_08(void *p1, void *p2, void *p3) in thread_08() argument
200 ARG_UNUSED(p2); in thread_08()
224 void thread_09(void *p1, void *p2, void *p3) in thread_09() argument
227 ARG_UNUSED(p2); in thread_09()
[all …]
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/
Dmain.c58 void condvar_wait_task(void *p1, void *p2, void *p3) in condvar_wait_task() argument
91 void condvar_wake_task(void *p1, void *p2, void *p3) in condvar_wake_task() argument
100 void condvar_wake_multiple(void *p1, void *p2, void *p3) in condvar_wake_multiple() argument
110 void condvar_wait_wake_task(void *p1, void *p2, void *p3) in condvar_wait_wake_task() argument
320 void condvar_multiple_wait_wake_task(void *p1, void *p2, void *p3) in condvar_multiple_wait_wake_task() argument
324 int idx = *(int *)p2; in condvar_multiple_wait_wake_task()
338 void condvar_multiple_wake_task(void *p1, void *p2, void *p3) in condvar_multiple_wake_task() argument
342 int idx = *(int *)p2; in condvar_multiple_wake_task()
394 static void cond_init_null(void *p1, void *p2, void *p3) in cond_init_null() argument
397 ARG_UNUSED(p2); in cond_init_null()
[all …]
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_essential_thread.c24 static void thread_entry(void *p1, void *p2, void *p3) in thread_entry() argument
27 ARG_UNUSED(p2); in thread_entry()
74 static void abort_thread_entry(void *p1, void *p2, void *p3) in abort_thread_entry() argument
77 ARG_UNUSED(p2); in abort_thread_entry()
Dtest_threads_spawn.c17 static void thread_entry_params(void *p1, void *p2, void *p3) in thread_entry_params() argument
21 zassert_equal(POINTER_TO_INT(p2), tp2); in thread_entry_params()
25 static void thread_entry_priority(void *p1, void *p2, void *p3) in thread_entry_priority() argument
31 static void thread_entry_delay(void *p1, void *p2, void *p3) in thread_entry_delay() argument
161 static void user_start_thread(void *p1, void *p2, void *p3) in user_start_thread() argument
Dtest_threads_cancel_abort.c16 static void thread_entry(void *p1, void *p2, void *p3) in thread_entry() argument
23 static void thread_entry_abort(void *p1, void *p2, void *p3) in thread_entry_abort() argument
111 static void delayed_thread_entry(void *p1, void *p2, void *p3) in delayed_thread_entry() argument
114 ARG_UNUSED(p2); in delayed_thread_entry()
178 static void entry_abort_isr(void *p1, void *p2, void *p3) in entry_abort_isr() argument
232 static void entry_aborted_thread(void *p1, void *p2, void *p3) in entry_aborted_thread() argument
/Zephyr-latest/tests/lib/newlib/thread_safety/src/
Dlocks.c82 static void retargetable_lock_mutex_thread_acq(void *p1, void *p2, void *p3) in retargetable_lock_mutex_thread_acq() argument
95 static void retargetable_lock_mutex_thread_rel(void *p1, void *p2, void *p3) in retargetable_lock_mutex_thread_rel() argument
149 static void sinit_lock_thread_acq(void *p1, void *p2, void *p3) in sinit_lock_thread_acq() argument
166 static void sinit_lock_thread_rel(void *p1, void *p2, void *p3) in sinit_lock_thread_rel() argument
219 static void sfp_lock_thread_acq(void *p1, void *p2, void *p3) in sfp_lock_thread_acq() argument
236 static void sfp_lock_thread_rel(void *p1, void *p2, void *p3) in sfp_lock_thread_rel() argument
289 static void malloc_lock_thread_lock(void *p1, void *p2, void *p3) in malloc_lock_thread_lock() argument
306 static void malloc_lock_thread_unlock(void *p1, void *p2, void *p3) in malloc_lock_thread_unlock() argument
359 static void env_lock_thread_lock(void *p1, void *p2, void *p3) in env_lock_thread_lock() argument
376 static void env_lock_thread_unlock(void *p1, void *p2, void *p3) in env_lock_thread_unlock() argument
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_b.c36 static void processor_thread(void *p1, void *p2, void *p3) in processor_thread() argument
41 ARG_UNUSED(p2); in processor_thread()
77 void app_b_entry(void *p1, void *p2, void *p3) in app_b_entry() argument
/Zephyr-latest/samples/userspace/syscall_perf/src/
Dthread_def.h16 void supervisor_thread_function(void *p1, void *p2, void *p3);
20 void user_thread_function(void *p1, void *p2, void *p3);
/Zephyr-latest/arch/x86/core/ia32/
Dthread.c36 void *p2; member
77 void *p1, void *p2, void *p3) in arch_new_thread() argument
102 initial_frame->p2 = p2; in arch_new_thread()
/Zephyr-latest/tests/kernel/fatal/exception/src/
Dmain.c79 void entry_cpu_exception(void *p1, void *p2, void *p3) in entry_cpu_exception() argument
104 void entry_cpu_exception_extend(void *p1, void *p2, void *p3) in entry_cpu_exception_extend() argument
137 void entry_oops(void *p1, void *p2, void *p3) in entry_oops() argument
146 void entry_panic(void *p1, void *p2, void *p3) in entry_panic() argument
155 void entry_zephyr_assert(void *p1, void *p2, void *p3) in entry_zephyr_assert() argument
163 void entry_arbitrary_reason(void *p1, void *p2, void *p3) in entry_arbitrary_reason() argument
172 void entry_arbitrary_reason_negative(void *p1, void *p2, void *p3) in entry_arbitrary_reason_negative() argument
233 void stack_sentinel_timer(void *p1, void *p2, void *p3) in stack_sentinel_timer() argument
248 void stack_sentinel_swap(void *p1, void *p2, void *p3) in stack_sentinel_swap() argument
258 void stack_hw_overflow(void *p1, void *p2, void *p3) in stack_hw_overflow() argument
[all …]

12345678910>>...16