Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/kernel/include/
Dkswap.h186 static inline int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
217 static ALWAYS_INLINE int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
/Zephyr-Core-3.5.0/kernel/
Dsched.c883 return z_swap(&sched_spinlock, key); in z_pend_curr()
994 z_swap(lock, key); in z_reschedule()
1423 z_swap(&sched_spinlock, key); in z_impl_k_yield()
1465 (void)z_swap(&sched_spinlock, key); in z_tick_sleep()
1813 z_swap(&sched_spinlock, key); in z_thread_abort()
1820 z_swap(&sched_spinlock, key); in z_thread_abort()
1858 ret = z_swap(&sched_spinlock, key); in z_impl_k_thread_join()
/Zephyr-Core-3.5.0/doc/kernel/services/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`.
286 The kernel then implements a portable :c:func:`z_swap` implementation on top