Home
last modified time | relevance | path

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

/Zephyr-latest/kernel/include/
Dkswap.h184 static inline int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
215 static ALWAYS_INLINE int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap() function
/Zephyr-latest/kernel/
Dsched.c431 z_swap(&_sched_spinlock, key); in z_thread_halt()
441 z_swap(&_sched_spinlock, key); in z_thread_halt()
467 z_swap(&_sched_spinlock, key); in z_impl_k_thread_suspend()
639 return z_swap(&_sched_spinlock, key); in z_pend_curr()
742 z_swap(lock, key); in z_reschedule()
1059 z_swap(&_sched_spinlock, key); in z_impl_k_yield()
1099 (void)z_swap(&_sched_spinlock, key); in z_tick_sleep()
1372 ret = z_swap(&_sched_spinlock, key); in z_impl_k_thread_join()
/Zephyr-latest/doc/kernel/services/smp/
Dsmp.rst150 application code runs, and finally calls :c:func:`z_swap` to transfer
309 The traditional Zephyr context switch primitive has been :c:func:`z_swap`.
329 The kernel then implements a portable :c:func:`z_swap` implementation on top