|
#define | aabar() xcc_aabar() |
|
#define | albar() xcc_albar() |
|
#define | asbar() xcc_asbar() |
|
#define | atomic_read_char(loc) xcc_atomic_read_char(&(loc)) |
|
#define | atomic_read_double(loc) xcc_atomic_read_double(&(loc)) |
|
#define | atomic_read_float(loc) xcc_atomic_read_float(&(loc)) |
|
#define | atomic_read_int(loc) xcc_atomic_read_int(&(loc)) |
|
#define | atomic_read_long(loc) xcc_atomic_read_long(&(loc)) |
|
#define | atomic_read_long_long(loc) xcc_atomic_read_long_long(&(loc)) |
|
#define | atomic_read_ptr(loc) xcc_atomic_read_ptr(&(loc)) |
|
#define | atomic_read_short(loc) xcc_atomic_read_short(&(loc)) |
|
#define | atomic_read_volatile_char(loc) atomic_read_char(loc) |
|
#define | atomic_read_volatile_double(loc) atomic_read_double(loc) |
|
#define | atomic_read_volatile_float(loc) atomic_read_float(loc) |
|
#define | atomic_read_volatile_int(loc) atomic_read_int(loc) |
|
#define | atomic_read_volatile_long(loc) atomic_read_long(loc) |
|
#define | atomic_read_volatile_long_long(loc) atomic_read_long_long(loc) |
|
#define | atomic_read_volatile_ptr(loc) atomic_read_ptr(loc) |
|
#define | atomic_read_volatile_short(loc) atomic_read_short(loc) |
|
#define | atomic_swap(loc, v) xcc_atomic_swap(&(loc),(v)) |
|
#define | atomic_swap_char(loc, v) xcc_atomic_swap_char(&(loc),(v)) |
|
#define | atomic_swap_double(loc, v) xcc_atomic_swap_double(&(loc),(v)) |
|
#define | atomic_swap_float(loc, v) xcc_atomic_swap_float(&(loc),(v)) |
|
#define | atomic_swap_int(loc, v) xcc_atomic_swap_int(&(loc),(v)) |
|
#define | atomic_swap_long(loc, v) xcc_atomic_swap_long(&(loc),(v)) |
|
#define | atomic_swap_long_long(loc, v) xcc_atomic_swap_long_long(&(loc),(v)) |
|
#define | atomic_swap_ptr(loc, v) xcc_atomic_swap_ptr(&(loc),(v)) |
|
#define | atomic_swap_short(loc, v) xcc_atomic_swap_short(&(loc),(v)) |
|
#define | atomic_write_char(loc, v) xcc_atomic_write_char(&(loc),(v)) |
|
#define | atomic_write_double(loc, v) xcc_atomic_write_double(&(loc),(v)) |
|
#define | atomic_write_float(loc, v) xcc_atomic_write_float(&(loc),(v)) |
|
#define | atomic_write_int(loc, v) xcc_atomic_write_int(&(loc),(v)) |
|
#define | atomic_write_long(loc, v) xcc_atomic_write_long(&(loc),(v)) |
|
#define | atomic_write_long_long(loc, v) xcc_atomic_write_long_long(&(loc),(v)) |
|
#define | atomic_write_ptr(loc, v) xcc_atomic_write_ptr(&(loc),(v)) |
|
#define | atomic_write_short(loc, v) xcc_atomic_write_short(&(loc),(v)) |
|
#define | atomic_write_volatile_char(loc, v) atomic_write_char((loc), (v)) |
|
#define | atomic_write_volatile_double(loc, v) atomic_write_double((loc), (v)) |
|
#define | atomic_write_volatile_float(loc, v) atomic_write_float((loc), (v)) |
|
#define | atomic_write_volatile_int(loc, v) atomic_write_int((loc), (v)) |
|
#define | atomic_write_volatile_long(loc, v) atomic_write_long((loc), (v)) |
|
#define | atomic_write_volatile_long_long(loc, v) atomic_write_long_long((loc), (v)) |
|
#define | atomic_write_volatile_ptr(loc, v) atomic_write_ptr((loc), (v)) |
|
#define | atomic_write_volatile_short(loc, v) atomic_write_short((loc), (v)) |
|
#define | cas_char(loc, ov, nv) xcc_cas_char(&(loc),(ov),(nv)) |
|
#define | cas_double(loc, ov, nv) xcc_cas_double(&(loc),(ov),(nv)) |
|
#define | cas_float(loc, ov, nv) xcc_cas_float(&(loc),(ov),(nv)) |
|
#define | cas_int(loc, ov, nv) xcc_cas_int(&(loc),(ov),(nv)) |
|
#define | cas_long(loc, ov, nv) xcc_cas_long(&(loc),(ov),(nv)) |
|
#define | cas_long_long(loc, ov, nv) xcc_cas_long_long(&(loc),(ov),(nv)) |
|
#define | cas_ptr(loc, ov, nv) xcc_cas_ptr(&(loc),(ov),(nv)) |
|
#define | cas_short(loc, ov, nv) xcc_cas_short(&(loc),(ov),(nv)) |
|
#define | finish_access_before_read() xcc_finish_access_before_read() |
|
#define | finish_access_before_unlock() xcc_finish_access_before_unlock() |
|
#define | finish_access_before_write() xcc_finish_access_before_write() |
|
#define | finish_read_before_read() xcc_finish_read_before_read() |
|
#define | finish_read_before_unlock() xcc_finish_read_before_unlock() |
|
#define | finish_read_before_write() xcc_finish_read_before_write() |
|
#define | finish_write_before_read() xcc_finish_write_before_read() |
|
#define | finish_write_before_unlock() xcc_finish_write_before_unlock() |
|
#define | finish_write_before_write() xcc_finish_write_before_write() |
|
#define | FORCE_TYPE(TP, x) ({ union { TP x1; typeof(x) x2; } _u ; _u.x2 = (x); _u.x1; }) |
|
#define | labar() xcc_labar() |
|
#define | llbar() xcc_llbar() |
|
#define | LOCK_INITIALIZER xcc_LOCK_INITIALIZER |
|
#define | lock_t xcc_lock_t |
|
#define | lsbar() xcc_lsbar() |
|
#define | read_volatile_char(loc) atomic_read_char(loc) |
|
#define | read_volatile_double(loc) atomic_read_double(loc) |
|
#define | read_volatile_float(loc) atomic_read_float(loc) |
|
#define | read_volatile_int(loc) atomic_read_int(loc) |
|
#define | read_volatile_long(loc) atomic_read_long(loc) |
|
#define | read_volatile_long_long(loc) atomic_read_long_long(loc) |
|
#define | read_volatile_ptr(loc) atomic_read_ptr(loc) |
|
#define | read_volatile_short(loc) atomic_read_short(loc) |
|
#define | release_lock(loc) xcc_release_lock(&(loc)) |
|
#define | release_rlock(loc) xcc_release_rlock(&(loc)) |
|
#define | release_wlock(loc) xcc_release_wlock(&(loc)) |
|
#define | RWLOCK_INITIALIZER xcc_RWLOCK_INITIALIZER |
|
#define | sabar() xcc_sabar() |
|
#define | slbar() xcc_slbar() |
|
#define | spin_lock(loc) xcc_spin_lock(&(loc)) |
|
#define | spin_rlock(loc) xcc_spin_rlock(&(loc)) |
|
#define | spin_wlock(loc) xcc_spin_wlock(&(loc)) |
|
#define | ssbar() xcc_ssbar() |
|
#define | start_access_after_lock() xcc_start_access_after_lock() |
|
#define | start_access_after_read() xcc_start_access_after_read() |
|
#define | start_access_after_write() xcc_start_access_after_write() |
|
#define | start_read_after_lock() xcc_start_read_after_lock() |
|
#define | start_read_after_read() xcc_start_read_after_read() |
|
#define | start_read_after_write() xcc_start_read_after_write() |
|
#define | start_write_after_lock() xcc_start_write_after_lock() |
|
#define | start_write_after_read() xcc_start_write_after_read() |
|
#define | start_write_after_write() xcc_start_write_after_write() |
|
#define | try_lock(loc) xcc_try_lock(&(loc)) |
|
#define | try_rlock(loc) xcc_try_rlock(&(loc)) |
|
#define | try_wlock(loc) xcc_try_wlock(&(loc)) |
|
#define | write_volatile_char(loc, v) atomic_write_char((loc), (v)) |
|
#define | write_volatile_double(loc, v) atomic_write_double((loc), (v)) |
|
#define | write_volatile_float(loc, v) atomic_write_float((loc), (v)) |
|
#define | write_volatile_int(loc, v) atomic_write_int((loc), (v)) |
|
#define | write_volatile_long(loc, v) atomic_write_long((loc), (v)) |
|
#define | write_volatile_long_long(loc, v) atomic_write_long_long((loc), (v)) |
|
#define | write_volatile_ptr(loc, v) atomic_write_ptr((loc), (v)) |
|
#define | write_volatile_short(loc, v) atomic_write_short((loc), (v)) |
|
#define | xcc_aabar() xcc_defaultbar_VOID() |
|
#define | xcc_albar() xcc_defaultbar_VOID() |
|
#define | xcc_asbar() xcc_defaultbar_VOID() |
|
#define | XCC_ASSERT(cond, msg) ({char msg[(cond)?1:(-1)]; 0;}) |
|
#define | xcc_atomic_read_char(loc) (*(volatile char *)(loc)) |
|
#define | xcc_atomic_read_double(loc) (*(volatile double *)(loc)) |
|
#define | xcc_atomic_read_float(loc) (*(volatile float *)(loc)) |
|
#define | xcc_atomic_read_int(loc) (*(volatile int *)(loc)) |
|
#define | xcc_atomic_read_long(loc) (*(volatile long *)(loc)) |
|
#define | xcc_atomic_read_long_long(loc) (*(volatile long long *)(loc)) |
|
#define | xcc_atomic_read_ptr(loc) (*(void * volatile *)(loc)) |
|
#define | xcc_atomic_read_short(loc) (*(volatile short *)(loc)) |
|
#define | xcc_atomic_swap(loc, v) |
|
#define | xcc_atomic_swap_char(loc, v) |
|
#define | xcc_atomic_swap_DF(loc, v) __xcc_atomic_swap_DF((loc),(v)) |
|
#define | xcc_atomic_swap_DI(loc, v) __xcc_atomic_swap_DI((loc),(v)) |
|
#define | xcc_atomic_swap_double(loc, v) |
|
#define | xcc_atomic_swap_float(loc, v) |
|
#define | xcc_atomic_swap_HI(loc, v) __xcc_atomic_swap_HI((loc),(v)) |
|
#define | xcc_atomic_swap_int(loc, v) |
|
#define | xcc_atomic_swap_long(loc, v) |
|
#define | xcc_atomic_swap_long_long(loc, v) |
|
#define | xcc_atomic_swap_ptr(loc, v) |
|
#define | xcc_atomic_swap_QI(loc, v) __xcc_atomic_swap_QI((loc),(v)) |
|
#define | xcc_atomic_swap_SF(loc, v) __xcc_atomic_swap_SF((loc),(v)) |
|
#define | xcc_atomic_swap_short(loc, v) |
|
#define | xcc_atomic_swap_SI(loc, v) __xcc_atomic_swap_SI((loc),(v)) |
|
#define | xcc_atomic_write_char(loc, v) do{*(volatile char *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_double(loc, v) do{*(volatile double *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_float(loc, v) do{*(volatile float *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_int(loc, v) do{*(volatile int *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_long(loc, v) do{*(volatile long *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_long_long(loc, v) do{*(volatile long long *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_ptr(loc, v) do{*(void * volatile *)(loc)=(v);}while(0) |
|
#define | xcc_atomic_write_short(loc, v) do{*(volatile short *)(loc)=(v);}while(0) |
|
#define | xcc_cas_char(loc, ov, nv) |
|
#define | xcc_cas_DF(loc, ov, nv) __xcc_cas_DF((loc),(ov),(nv)) |
|
#define | xcc_cas_DI(loc, ov, nv) __xcc_cas_DI((loc),(ov),(nv)) |
|
#define | xcc_cas_double(loc, ov, nv) |
|
#define | xcc_cas_float(loc, ov, nv) |
|
#define | xcc_cas_HI(loc, ov, nv) __xcc_cas_HI((loc),(ov),(nv)) |
|
#define | xcc_cas_int(loc, ov, nv) |
|
#define | xcc_cas_long(loc, ov, nv) |
|
#define | xcc_cas_long_long(loc, ov, nv) |
|
#define | xcc_cas_ptr(loc, ov, nv) |
|
#define | xcc_cas_QI(loc, ov, nv) __xcc_cas_QI((loc),(ov),(nv)) |
|
#define | xcc_cas_SF(loc, ov, nv) __xcc_cas_SF((loc),(ov),(nv)) |
|
#define | xcc_cas_short(loc, ov, nv) |
|
#define | xcc_cas_SI(loc, ov, nv) __xcc_cas_SI((loc),(ov),(nv)) |
|
#define | XCC_CHAR_TYPE_SIZE 1 |
|
#define | xcc_defaultbar_VOID() xcc_nnbar_VOID() |
|
#define | XCC_DOUBLE_TYPE_SIZE 8 |
|
#define | xcc_finish_access_before_read() xcc_albar() |
|
#define | xcc_finish_access_before_unlock() xcc_asbar() |
|
#define | xcc_finish_access_before_write() xcc_asbar() |
|
#define | xcc_finish_read_before_read() xcc_llbar() |
|
#define | xcc_finish_read_before_unlock() xcc_lsbar() |
|
#define | xcc_finish_read_before_write() xcc_lsbar() |
|
#define | xcc_finish_write_before_read() xcc_slbar() |
|
#define | xcc_finish_write_before_unlock() xcc_ssbar() |
|
#define | xcc_finish_write_before_write() xcc_ssbar() |
|
#define | XCC_FLOAT_TYPE_SIZE 4 |
|
#define | XCC_INT_TYPE_SIZE 4 |
|
#define | xcc_labar() xcc_defaultbar_VOID() |
|
#define | xcc_llbar() xcc_defaultbar_VOID() |
|
#define | xcc_LOCK_INITIALIZER 0 |
|
#define | xcc_lock_t int |
|
#define | XCC_LONG_LONG_TYPE_SIZE 8 |
|
#define | XCC_LONG_TYPE_SIZE 4 |
|
#define | xcc_lsbar() xcc_defaultbar_VOID() |
|
#define | xcc_nnbar_VOID() __asm__ __volatile__("":::"memory") |
|
#define | XCC_PTR_TYPE_SIZE 4 |
|
#define | xcc_rawcas_int(loc, ov, nv) |
|
#define | xcc_release_lock(loc) xcc_atomic_write_int((loc),0) |
|
#define | xcc_release_rlock(loc) __xcc_release_rlock(loc) |
|
#define | xcc_release_wlock(loc) xcc_atomic_write_int((loc),0) |
|
#define | xcc_RWLOCK_INITIALIZER 0 |
|
#define | xcc_rwlock_t int |
|
#define | xcc_sabar() xcc_defaultbar_VOID() |
|
#define | XCC_SHORT_TYPE_SIZE 2 |
|
#define | xcc_slbar() xcc_defaultbar_VOID() |
|
#define | xcc_spin_lock(loc) __xcc_spin_lock(loc) |
|
#define | xcc_spin_rlock(loc) __xcc_spin_rlock(loc) |
|
#define | xcc_spin_wlock(loc) __xcc_spin_wlock(loc) |
|
#define | xcc_ssbar() xcc_defaultbar_VOID() |
|
#define | xcc_start_access_after_lock() xcc_aabar() |
|
#define | xcc_start_access_after_read() xcc_labar() |
|
#define | xcc_start_access_after_write() xcc_sabar() |
|
#define | xcc_start_read_after_lock() xcc_albar() |
|
#define | xcc_start_read_after_read() xcc_llbar() |
|
#define | xcc_start_read_after_write() xcc_slbar() |
|
#define | xcc_start_write_after_lock() xcc_asbar() |
|
#define | xcc_start_write_after_read() xcc_lsbar() |
|
#define | xcc_start_write_after_write() xcc_ssbar() |
|
#define | xcc_try_lock(loc) xcc_cas_int((loc),0,1) |
|
#define | xcc_try_rlock(loc) __xcc_try_rlock(loc) |
|
#define | xcc_try_wlock(loc) xcc_cas_int((loc),0,-1) |
|