Defines | Typedefs
xccmem.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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_ASSERT(cond, msg)   ({char msg[(cond)?1:(-1)]; 0;})

Typedefs

typedef int xcc_DItype __attribute__ ((mode(DI)))

Define Documentation

#define aabar ( )    xcc_aabar()

Definition at line 1102 of file xccmem.h.

#define albar ( )    xcc_albar()

Definition at line 1101 of file xccmem.h.

#define asbar ( )    xcc_asbar()

Definition at line 1100 of file xccmem.h.

#define atomic_read_char (   loc)    xcc_atomic_read_char(&(loc))

Definition at line 1019 of file xccmem.h.

#define atomic_read_double (   loc)    xcc_atomic_read_double(&(loc))

Definition at line 1025 of file xccmem.h.

#define atomic_read_float (   loc)    xcc_atomic_read_float(&(loc))

Definition at line 1024 of file xccmem.h.

#define atomic_read_int (   loc)    xcc_atomic_read_int(&(loc))

Definition at line 1021 of file xccmem.h.

#define atomic_read_long (   loc)    xcc_atomic_read_long(&(loc))

Definition at line 1022 of file xccmem.h.

#define atomic_read_long_long (   loc)    xcc_atomic_read_long_long(&(loc))

Definition at line 1023 of file xccmem.h.

#define atomic_read_ptr (   loc)    xcc_atomic_read_ptr(&(loc))

Definition at line 1026 of file xccmem.h.

#define atomic_read_short (   loc)    xcc_atomic_read_short(&(loc))

Definition at line 1020 of file xccmem.h.

#define atomic_read_volatile_char (   loc)    atomic_read_char(loc)

Definition at line 1028 of file xccmem.h.

#define atomic_read_volatile_double (   loc)    atomic_read_double(loc)

Definition at line 1034 of file xccmem.h.

#define atomic_read_volatile_float (   loc)    atomic_read_float(loc)

Definition at line 1033 of file xccmem.h.

#define atomic_read_volatile_int (   loc)    atomic_read_int(loc)

Definition at line 1030 of file xccmem.h.

#define atomic_read_volatile_long (   loc)    atomic_read_long(loc)

Definition at line 1031 of file xccmem.h.

Definition at line 1032 of file xccmem.h.

#define atomic_read_volatile_ptr (   loc)    atomic_read_ptr(loc)

Definition at line 1035 of file xccmem.h.

#define atomic_read_volatile_short (   loc)    atomic_read_short(loc)

Definition at line 1029 of file xccmem.h.

#define atomic_swap (   loc,
  v 
)    xcc_atomic_swap(&(loc),(v))

Definition at line 1083 of file xccmem.h.

#define atomic_swap_char (   loc,
  v 
)    xcc_atomic_swap_char(&(loc),(v))

Definition at line 1074 of file xccmem.h.

#define atomic_swap_double (   loc,
  v 
)    xcc_atomic_swap_double(&(loc),(v))

Definition at line 1080 of file xccmem.h.

#define atomic_swap_float (   loc,
  v 
)    xcc_atomic_swap_float(&(loc),(v))

Definition at line 1079 of file xccmem.h.

#define atomic_swap_int (   loc,
  v 
)    xcc_atomic_swap_int(&(loc),(v))

Definition at line 1076 of file xccmem.h.

#define atomic_swap_long (   loc,
  v 
)    xcc_atomic_swap_long(&(loc),(v))

Definition at line 1077 of file xccmem.h.

#define atomic_swap_long_long (   loc,
  v 
)    xcc_atomic_swap_long_long(&(loc),(v))

Definition at line 1078 of file xccmem.h.

#define atomic_swap_ptr (   loc,
  v 
)    xcc_atomic_swap_ptr(&(loc),(v))

Definition at line 1081 of file xccmem.h.

#define atomic_swap_short (   loc,
  v 
)    xcc_atomic_swap_short(&(loc),(v))

Definition at line 1075 of file xccmem.h.

#define atomic_write_char (   loc,
  v 
)    xcc_atomic_write_char(&(loc),(v))

Definition at line 1046 of file xccmem.h.

#define atomic_write_double (   loc,
  v 
)    xcc_atomic_write_double(&(loc),(v))

Definition at line 1052 of file xccmem.h.

#define atomic_write_float (   loc,
  v 
)    xcc_atomic_write_float(&(loc),(v))

Definition at line 1051 of file xccmem.h.

#define atomic_write_int (   loc,
  v 
)    xcc_atomic_write_int(&(loc),(v))

Definition at line 1048 of file xccmem.h.

#define atomic_write_long (   loc,
  v 
)    xcc_atomic_write_long(&(loc),(v))

Definition at line 1049 of file xccmem.h.

#define atomic_write_long_long (   loc,
  v 
)    xcc_atomic_write_long_long(&(loc),(v))

Definition at line 1050 of file xccmem.h.

#define atomic_write_ptr (   loc,
  v 
)    xcc_atomic_write_ptr(&(loc),(v))

Definition at line 1053 of file xccmem.h.

#define atomic_write_short (   loc,
  v 
)    xcc_atomic_write_short(&(loc),(v))

Definition at line 1047 of file xccmem.h.

#define atomic_write_volatile_char (   loc,
  v 
)    atomic_write_char((loc), (v))

Definition at line 1055 of file xccmem.h.

#define atomic_write_volatile_double (   loc,
  v 
)    atomic_write_double((loc), (v))

Definition at line 1062 of file xccmem.h.

#define atomic_write_volatile_float (   loc,
  v 
)    atomic_write_float((loc), (v))

Definition at line 1061 of file xccmem.h.

#define atomic_write_volatile_int (   loc,
  v 
)    atomic_write_int((loc), (v))

Definition at line 1057 of file xccmem.h.

#define atomic_write_volatile_long (   loc,
  v 
)    atomic_write_long((loc), (v))

Definition at line 1058 of file xccmem.h.

#define atomic_write_volatile_long_long (   loc,
  v 
)    atomic_write_long_long((loc), (v))

Definition at line 1059 of file xccmem.h.

#define atomic_write_volatile_ptr (   loc,
  v 
)    atomic_write_ptr((loc), (v))

Definition at line 1063 of file xccmem.h.

#define atomic_write_volatile_short (   loc,
  v 
)    atomic_write_short((loc), (v))

Definition at line 1056 of file xccmem.h.

#define cas_char (   loc,
  ov,
  nv 
)    xcc_cas_char(&(loc),(ov),(nv))

Definition at line 1085 of file xccmem.h.

#define cas_double (   loc,
  ov,
  nv 
)    xcc_cas_double(&(loc),(ov),(nv))

Definition at line 1091 of file xccmem.h.

#define cas_float (   loc,
  ov,
  nv 
)    xcc_cas_float(&(loc),(ov),(nv))

Definition at line 1090 of file xccmem.h.

#define cas_int (   loc,
  ov,
  nv 
)    xcc_cas_int(&(loc),(ov),(nv))

Definition at line 1087 of file xccmem.h.

#define cas_long (   loc,
  ov,
  nv 
)    xcc_cas_long(&(loc),(ov),(nv))

Definition at line 1088 of file xccmem.h.

#define cas_long_long (   loc,
  ov,
  nv 
)    xcc_cas_long_long(&(loc),(ov),(nv))

Definition at line 1089 of file xccmem.h.

#define cas_ptr (   loc,
  ov,
  nv 
)    xcc_cas_ptr(&(loc),(ov),(nv))

Definition at line 1092 of file xccmem.h.

#define cas_short (   loc,
  ov,
  nv 
)    xcc_cas_short(&(loc),(ov),(nv))

Definition at line 1086 of file xccmem.h.

#define finish_access_before_read ( )    xcc_finish_access_before_read()

Definition at line 1115 of file xccmem.h.

#define finish_access_before_unlock ( )    xcc_finish_access_before_unlock()

Definition at line 1114 of file xccmem.h.

#define finish_access_before_write ( )    xcc_finish_access_before_write()

Definition at line 1116 of file xccmem.h.

#define finish_read_before_read ( )    xcc_finish_read_before_read()

Definition at line 1118 of file xccmem.h.

#define finish_read_before_unlock ( )    xcc_finish_read_before_unlock()

Definition at line 1117 of file xccmem.h.

#define finish_read_before_write ( )    xcc_finish_read_before_write()

Definition at line 1119 of file xccmem.h.

#define finish_write_before_read ( )    xcc_finish_write_before_read()

Definition at line 1121 of file xccmem.h.

#define finish_write_before_unlock ( )    xcc_finish_write_before_unlock()

Definition at line 1120 of file xccmem.h.

#define finish_write_before_write ( )    xcc_finish_write_before_write()

Definition at line 1122 of file xccmem.h.

#define FORCE_TYPE (   TP,
 
)    ({ union { TP x1; typeof(x) x2; } _u ; _u.x2 = (x); _u.x1; })

Definition at line 38 of file xccmem.h.

#define labar ( )    xcc_labar()

Definition at line 1099 of file xccmem.h.

#define llbar ( )    xcc_llbar()

Definition at line 1098 of file xccmem.h.

#define LOCK_INITIALIZER   xcc_LOCK_INITIALIZER

Definition at line 1124 of file xccmem.h.

#define lock_t   xcc_lock_t

Definition at line 1125 of file xccmem.h.

#define lsbar ( )    xcc_lsbar()

Definition at line 1097 of file xccmem.h.

#define read_volatile_char (   loc)    atomic_read_char(loc)

Definition at line 1037 of file xccmem.h.

#define read_volatile_double (   loc)    atomic_read_double(loc)

Definition at line 1043 of file xccmem.h.

#define read_volatile_float (   loc)    atomic_read_float(loc)

Definition at line 1042 of file xccmem.h.

#define read_volatile_int (   loc)    atomic_read_int(loc)

Definition at line 1039 of file xccmem.h.

#define read_volatile_long (   loc)    atomic_read_long(loc)

Definition at line 1040 of file xccmem.h.

#define read_volatile_long_long (   loc)    atomic_read_long_long(loc)

Definition at line 1041 of file xccmem.h.

#define read_volatile_ptr (   loc)    atomic_read_ptr(loc)

Definition at line 1044 of file xccmem.h.

#define read_volatile_short (   loc)    atomic_read_short(loc)

Definition at line 1038 of file xccmem.h.

#define release_lock (   loc)    xcc_release_lock(&(loc))

Definition at line 1128 of file xccmem.h.

#define release_rlock (   loc)    xcc_release_rlock(&(loc))

Definition at line 1134 of file xccmem.h.

#define release_wlock (   loc)    xcc_release_wlock(&(loc))

Definition at line 1137 of file xccmem.h.

#define RWLOCK_INITIALIZER   xcc_RWLOCK_INITIALIZER

Definition at line 1130 of file xccmem.h.

#define sabar ( )    xcc_sabar()

Definition at line 1096 of file xccmem.h.

#define slbar ( )    xcc_slbar()

Definition at line 1095 of file xccmem.h.

#define spin_lock (   loc)    xcc_spin_lock(&(loc))

Definition at line 1127 of file xccmem.h.

#define spin_rlock (   loc)    xcc_spin_rlock(&(loc))

Definition at line 1133 of file xccmem.h.

#define spin_wlock (   loc)    xcc_spin_wlock(&(loc))

Definition at line 1136 of file xccmem.h.

#define ssbar ( )    xcc_ssbar()

Definition at line 1094 of file xccmem.h.

#define start_access_after_lock ( )    xcc_start_access_after_lock()

Definition at line 1104 of file xccmem.h.

#define start_access_after_read ( )    xcc_start_access_after_read()

Definition at line 1105 of file xccmem.h.

#define start_access_after_write ( )    xcc_start_access_after_write()

Definition at line 1106 of file xccmem.h.

#define start_read_after_lock ( )    xcc_start_read_after_lock()

Definition at line 1107 of file xccmem.h.

#define start_read_after_read ( )    xcc_start_read_after_read()

Definition at line 1108 of file xccmem.h.

#define start_read_after_write ( )    xcc_start_read_after_write()

Definition at line 1109 of file xccmem.h.

#define start_write_after_lock ( )    xcc_start_write_after_lock()

Definition at line 1110 of file xccmem.h.

#define start_write_after_read ( )    xcc_start_write_after_read()

Definition at line 1111 of file xccmem.h.

#define start_write_after_write ( )    xcc_start_write_after_write()

Definition at line 1112 of file xccmem.h.

#define try_lock (   loc)    xcc_try_lock(&(loc))

Definition at line 1126 of file xccmem.h.

#define try_rlock (   loc)    xcc_try_rlock(&(loc))

Definition at line 1132 of file xccmem.h.

#define try_wlock (   loc)    xcc_try_wlock(&(loc))

Definition at line 1135 of file xccmem.h.

#define write_volatile_char (   loc,
  v 
)    atomic_write_char((loc), (v))

Definition at line 1065 of file xccmem.h.

#define write_volatile_double (   loc,
  v 
)    atomic_write_double((loc), (v))

Definition at line 1071 of file xccmem.h.

#define write_volatile_float (   loc,
  v 
)    atomic_write_float((loc), (v))

Definition at line 1070 of file xccmem.h.

#define write_volatile_int (   loc,
  v 
)    atomic_write_int((loc), (v))

Definition at line 1067 of file xccmem.h.

#define write_volatile_long (   loc,
  v 
)    atomic_write_long((loc), (v))

Definition at line 1068 of file xccmem.h.

#define write_volatile_long_long (   loc,
  v 
)    atomic_write_long_long((loc), (v))

Definition at line 1069 of file xccmem.h.

#define write_volatile_ptr (   loc,
  v 
)    atomic_write_ptr((loc), (v))

Definition at line 1072 of file xccmem.h.

#define write_volatile_short (   loc,
  v 
)    atomic_write_short((loc), (v))

Definition at line 1066 of file xccmem.h.

#define XCC_ASSERT (   cond,
  msg 
)    ({char msg[(cond)?1:(-1)]; 0;})

Definition at line 24 of file xccmem.h.


Typedef Documentation

typedef float xcc_DFtype __attribute__((mode(DF)))

Definition at line 30 of file xccmem.h.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Sep 3 2015 10:36:20