Go to the source code of this file.
Defines | |
#define | acquire_lock(lock, val) ({ (lock) = (val); }) |
#define | acquire_lock_no_ien(lock, val) ({ (lock) = (val); }) |
#define | release_lock(lock, ien) ({ (lock) = 0; }) |
#define | release_lock_no_ien(lock) ({ (lock) = 0; }) |
#define | atomic_add(var, val) ({ int t = (var); (var) += (val); t; }) |
#define | atomic_sub(var, val) ({ int t = (var); (var) -= (val); t; }) |
#define | atomic_or(var, val) ({ int t = (var); (var) |= (val); t; }) |
#define | atomic_addi(var, val) ({ int t = (var); (var) += (val); t; }) |
#define | atomic_subi(var, val) ({ int t = (var); (var) -= (val); t; }) |
#define | atomic_srl(var, val) ({ int t = (var); (var) >>= (val); t; }) |
#define | atomic_sll(var, val) ({ int t = (var); (var) <<= (val); t; }) |
#define | atomic_set(var, val) ({ int t = (var); (var) = (val); t; }) |
#define | atomic_seti(var, val) ({ int t = (var); (var) = (val); t; }) |
|
Definition at line 14 of file atomic.h. Referenced by search_blocked_list(), search_ready_list(), select_thread(), sem_unblock_someone(), sem_Vn(), serial_out(), steal_thread(), sym_register(), thr_lookup(), thread_table_add(), thread_table_remove(), and trt_load(). |
|
Definition at line 15 of file atomic.h. Referenced by schedule_me(). |
|
Definition at line 19 of file atomic.h. Referenced by sem_Vn(), sem_Vn_priv(), thr_create(), and trt_init(). |
|
Definition at line 22 of file atomic.h. Referenced by search_blocked_list(), select_thread(), sem_tryP(), sem_V(), and trt_init(). |
|
|
|
|
|
Definition at line 27 of file atomic.h. Referenced by sem_reset(). |
|
Definition at line 25 of file atomic.h. Referenced by steal_thread(). |
|
Definition at line 24 of file atomic.h. Referenced by scale_spin_counts(). |
|
Definition at line 20 of file atomic.h. Referenced by sem_Pn_nb(). |
|
Definition at line 23 of file atomic.h. Referenced by search_blocked_list(), sem_P(), sem_tryP(), and thr_resume(). |
|
Definition at line 16 of file atomic.h. Referenced by add_to_ready_list(), context_switch(), search_blocked_list(), search_ready_list(), select_thread(), sem_unblock_someone(), sem_Vn(), serial_out(), steal_thread(), sym_register(), thr_lookup(), thr_resume(), thread_table_add(), thread_table_remove(), and trt_load(). |
|
Definition at line 17 of file atomic.h. Referenced by select_thread(). |