Home
last modified time | relevance | path

Searched refs:z_swap (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-2.7.6/kernel/include/
Dkswap.h165 static inline int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
191 static ALWAYS_INLINE int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
/Zephyr-Core-2.7.6/kernel/
Dsched.c755 return z_swap(&sched_spinlock, key); in z_pend_curr()
866 z_swap(lock, key); in z_reschedule()
1250 z_swap(&sched_spinlock, key); in z_impl_k_yield()
1297 (void)z_swap(&sched_spinlock, key); in z_tick_sleep()
1590 z_swap(&sched_spinlock, key); in z_thread_abort()
1597 z_swap(&sched_spinlock, key); in z_thread_abort()
1634 ret = z_swap(&sched_spinlock, key); in z_impl_k_thread_join()
/Zephyr-Core-2.7.6/doc/reference/kernel/smp/
Dsmp.rst150 application code runs, and finally calls :c:func:`z_swap` to transfer
266 The traditional Zephyr context switch primitive has been :c:func:`z_swap`.
287 The kernel then implements a portable :c:func:`z_swap` implementation on top