Lines Matching refs:_addr
54 # define XCHG_M_R(_addr,_lval) \ argument
58 : /*in*/ "m"(_addr) \
61 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
65 : /*in*/ "m"(_addr) \
70 # define XCHG_M_R(_addr,_lval) \ argument
77 : /*out*/ [global]"+m"(_addr), [local]"+d"(_lval) \
83 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
84 XCHG_M_R(_addr,_lval)
87 # define XCHG_M_R(_addr,_lval) \ argument
95 : /*in*/ "r"(&_addr), "r"(_lval) \
99 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
100 XCHG_M_R(_addr,_lval)
105 # define XCHG_M_R(_addr,_lval) \ argument
108 while ((tmp = *(int*)(& _addr)), \
109 ! __sync_bool_compare_and_swap((int*)&_addr, tmp, _lval)) \
116 # define XCHG_M_R(_addr,_lval) \ argument
117 do { int tmp = *(int*)(& _addr); \
118 *(int*)(& _addr) = (_lval); \
122 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
123 XCHG_M_R(_addr,_lval)