Lines Matching defs:ptr

46 #define pl_inc(ptr) (                                                         \  argument
91 #define pl_dec(ptr) ( \ argument
134 #define pl_inc_noret(ptr) ({ \ argument
164 #define pl_dec_noret(ptr) ({ \ argument
196 #define pl_add(ptr, x) ({ \ argument
228 #define pl_sub(ptr, x) ({ \ argument
260 #define pl_and(ptr, x) ({ \ argument
292 #define pl_or(ptr, x) ({ \ argument
324 #define pl_xor(ptr, x) ({ \ argument
357 #define pl_bts(ptr, bit) ( \ argument
399 #define pl_xadd(ptr, x) ( \ argument
440 #define pl_xchg(ptr, x) ( \ argument
482 #define pl_cmpxchg(ptr, old, new) ( \ argument
547 #define pl_inc_noret(ptr) ({ __sync_add_and_fetch((ptr), 1); }) argument
548 #define pl_dec_noret(ptr) ({ __sync_sub_and_fetch((ptr), 1); }) argument
549 #define pl_inc(ptr) ({ __sync_add_and_fetch((ptr), 1); }) argument
550 #define pl_dec(ptr) ({ __sync_sub_and_fetch((ptr), 1); }) argument
551 #define pl_add(ptr, x) ({ __sync_add_and_fetch((ptr), (x)); }) argument
552 #define pl_and(ptr, x) ({ __sync_and_and_fetch((ptr), (x)); }) argument
553 #define pl_or(ptr, x) ({ __sync_or_and_fetch((ptr), (x)); }) argument
554 #define pl_xor(ptr, x) ({ __sync_xor_and_fetch((ptr), (x)); }) argument
555 #define pl_sub(ptr, x) ({ __sync_sub_and_fetch((ptr), (x)); }) argument
556 #define pl_bts(ptr, bit) ({ typeof(*(ptr)) __pl_t = (1u << (bit)); \ argument
559 #define pl_xadd(ptr, x) ({ __sync_fetch_and_add((ptr), (x)); }) argument
560 #define pl_cmpxchg(ptr, o, n) ({ __sync_val_compare_and_swap((ptr), (o), (n)); }) argument
561 #define pl_xchg(ptr, x) ({ typeof(*(ptr)) __pl_t; \ argument