Lines Matching refs:_addr
47 # define XCHG_M_R(_addr,_lval) \ argument
51 : /*in*/ "m"(_addr) \
54 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
58 : /*in*/ "m"(_addr) \
63 # define XCHG_M_R(_addr,_lval) \ argument
70 : /*out*/ [global]"+m"(_addr), [local]"+d"(_lval) \
76 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
77 XCHG_M_R(_addr,_lval)
80 # define XCHG_M_R(_addr,_lval) \ argument
88 : /*in*/ "r"(&_addr), "r"(_lval) \
92 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
93 XCHG_M_R(_addr,_lval)
98 # define XCHG_M_R(_addr,_lval) \ argument
101 while ((tmp = *(int*)(& _addr)), \
102 ! __sync_bool_compare_and_swap((int*)&_addr, tmp, _lval)) \
109 # define XCHG_M_R(_addr,_lval) \ argument
110 do { int tmp = *(int*)(& _addr); \
111 *(int*)(& _addr) = (_lval); \
115 # define XCHG_M_R_with_redundant_LOCK(_addr,_lval) \ argument
116 XCHG_M_R(_addr,_lval)