Lines Matching full:v

25 atomic_read(const atomic_t *v)  in atomic_read()  argument
27 instrument_atomic_read(v, sizeof(*v)); in atomic_read()
28 return arch_atomic_read(v); in atomic_read()
32 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire() argument
34 instrument_atomic_read(v, sizeof(*v)); in atomic_read_acquire()
35 return arch_atomic_read_acquire(v); in atomic_read_acquire()
39 atomic_set(atomic_t *v, int i) in atomic_set() argument
41 instrument_atomic_write(v, sizeof(*v)); in atomic_set()
42 arch_atomic_set(v, i); in atomic_set()
46 atomic_set_release(atomic_t *v, int i) in atomic_set_release() argument
49 instrument_atomic_write(v, sizeof(*v)); in atomic_set_release()
50 arch_atomic_set_release(v, i); in atomic_set_release()
54 atomic_add(int i, atomic_t *v) in atomic_add() argument
56 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add()
57 arch_atomic_add(i, v); in atomic_add()
61 atomic_add_return(int i, atomic_t *v) in atomic_add_return() argument
64 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_return()
65 return arch_atomic_add_return(i, v); in atomic_add_return()
69 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire() argument
71 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_return_acquire()
72 return arch_atomic_add_return_acquire(i, v); in atomic_add_return_acquire()
76 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release() argument
79 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_return_release()
80 return arch_atomic_add_return_release(i, v); in atomic_add_return_release()
84 atomic_add_return_relaxed(int i, atomic_t *v) in atomic_add_return_relaxed() argument
86 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_return_relaxed()
87 return arch_atomic_add_return_relaxed(i, v); in atomic_add_return_relaxed()
91 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add() argument
94 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_add()
95 return arch_atomic_fetch_add(i, v); in atomic_fetch_add()
99 atomic_fetch_add_acquire(int i, atomic_t *v) in atomic_fetch_add_acquire() argument
101 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_add_acquire()
102 return arch_atomic_fetch_add_acquire(i, v); in atomic_fetch_add_acquire()
106 atomic_fetch_add_release(int i, atomic_t *v) in atomic_fetch_add_release() argument
109 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_add_release()
110 return arch_atomic_fetch_add_release(i, v); in atomic_fetch_add_release()
114 atomic_fetch_add_relaxed(int i, atomic_t *v) in atomic_fetch_add_relaxed() argument
116 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_add_relaxed()
117 return arch_atomic_fetch_add_relaxed(i, v); in atomic_fetch_add_relaxed()
121 atomic_sub(int i, atomic_t *v) in atomic_sub() argument
123 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub()
124 arch_atomic_sub(i, v); in atomic_sub()
128 atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() argument
131 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub_return()
132 return arch_atomic_sub_return(i, v); in atomic_sub_return()
136 atomic_sub_return_acquire(int i, atomic_t *v) in atomic_sub_return_acquire() argument
138 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub_return_acquire()
139 return arch_atomic_sub_return_acquire(i, v); in atomic_sub_return_acquire()
143 atomic_sub_return_release(int i, atomic_t *v) in atomic_sub_return_release() argument
146 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub_return_release()
147 return arch_atomic_sub_return_release(i, v); in atomic_sub_return_release()
151 atomic_sub_return_relaxed(int i, atomic_t *v) in atomic_sub_return_relaxed() argument
153 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub_return_relaxed()
154 return arch_atomic_sub_return_relaxed(i, v); in atomic_sub_return_relaxed()
158 atomic_fetch_sub(int i, atomic_t *v) in atomic_fetch_sub() argument
161 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_sub()
162 return arch_atomic_fetch_sub(i, v); in atomic_fetch_sub()
166 atomic_fetch_sub_acquire(int i, atomic_t *v) in atomic_fetch_sub_acquire() argument
168 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_sub_acquire()
169 return arch_atomic_fetch_sub_acquire(i, v); in atomic_fetch_sub_acquire()
173 atomic_fetch_sub_release(int i, atomic_t *v) in atomic_fetch_sub_release() argument
176 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_sub_release()
177 return arch_atomic_fetch_sub_release(i, v); in atomic_fetch_sub_release()
181 atomic_fetch_sub_relaxed(int i, atomic_t *v) in atomic_fetch_sub_relaxed() argument
183 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_sub_relaxed()
184 return arch_atomic_fetch_sub_relaxed(i, v); in atomic_fetch_sub_relaxed()
188 atomic_inc(atomic_t *v) in atomic_inc() argument
190 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc()
191 arch_atomic_inc(v); in atomic_inc()
195 atomic_inc_return(atomic_t *v) in atomic_inc_return() argument
198 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_return()
199 return arch_atomic_inc_return(v); in atomic_inc_return()
203 atomic_inc_return_acquire(atomic_t *v) in atomic_inc_return_acquire() argument
205 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_return_acquire()
206 return arch_atomic_inc_return_acquire(v); in atomic_inc_return_acquire()
210 atomic_inc_return_release(atomic_t *v) in atomic_inc_return_release() argument
213 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_return_release()
214 return arch_atomic_inc_return_release(v); in atomic_inc_return_release()
218 atomic_inc_return_relaxed(atomic_t *v) in atomic_inc_return_relaxed() argument
220 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_return_relaxed()
221 return arch_atomic_inc_return_relaxed(v); in atomic_inc_return_relaxed()
225 atomic_fetch_inc(atomic_t *v) in atomic_fetch_inc() argument
228 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_inc()
229 return arch_atomic_fetch_inc(v); in atomic_fetch_inc()
233 atomic_fetch_inc_acquire(atomic_t *v) in atomic_fetch_inc_acquire() argument
235 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_inc_acquire()
236 return arch_atomic_fetch_inc_acquire(v); in atomic_fetch_inc_acquire()
240 atomic_fetch_inc_release(atomic_t *v) in atomic_fetch_inc_release() argument
243 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_inc_release()
244 return arch_atomic_fetch_inc_release(v); in atomic_fetch_inc_release()
248 atomic_fetch_inc_relaxed(atomic_t *v) in atomic_fetch_inc_relaxed() argument
250 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_inc_relaxed()
251 return arch_atomic_fetch_inc_relaxed(v); in atomic_fetch_inc_relaxed()
255 atomic_dec(atomic_t *v) in atomic_dec() argument
257 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec()
258 arch_atomic_dec(v); in atomic_dec()
262 atomic_dec_return(atomic_t *v) in atomic_dec_return() argument
265 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_return()
266 return arch_atomic_dec_return(v); in atomic_dec_return()
270 atomic_dec_return_acquire(atomic_t *v) in atomic_dec_return_acquire() argument
272 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_return_acquire()
273 return arch_atomic_dec_return_acquire(v); in atomic_dec_return_acquire()
277 atomic_dec_return_release(atomic_t *v) in atomic_dec_return_release() argument
280 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_return_release()
281 return arch_atomic_dec_return_release(v); in atomic_dec_return_release()
285 atomic_dec_return_relaxed(atomic_t *v) in atomic_dec_return_relaxed() argument
287 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_return_relaxed()
288 return arch_atomic_dec_return_relaxed(v); in atomic_dec_return_relaxed()
292 atomic_fetch_dec(atomic_t *v) in atomic_fetch_dec() argument
295 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_dec()
296 return arch_atomic_fetch_dec(v); in atomic_fetch_dec()
300 atomic_fetch_dec_acquire(atomic_t *v) in atomic_fetch_dec_acquire() argument
302 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_dec_acquire()
303 return arch_atomic_fetch_dec_acquire(v); in atomic_fetch_dec_acquire()
307 atomic_fetch_dec_release(atomic_t *v) in atomic_fetch_dec_release() argument
310 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_dec_release()
311 return arch_atomic_fetch_dec_release(v); in atomic_fetch_dec_release()
315 atomic_fetch_dec_relaxed(atomic_t *v) in atomic_fetch_dec_relaxed() argument
317 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_dec_relaxed()
318 return arch_atomic_fetch_dec_relaxed(v); in atomic_fetch_dec_relaxed()
322 atomic_and(int i, atomic_t *v) in atomic_and() argument
324 instrument_atomic_read_write(v, sizeof(*v)); in atomic_and()
325 arch_atomic_and(i, v); in atomic_and()
329 atomic_fetch_and(int i, atomic_t *v) in atomic_fetch_and() argument
332 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_and()
333 return arch_atomic_fetch_and(i, v); in atomic_fetch_and()
337 atomic_fetch_and_acquire(int i, atomic_t *v) in atomic_fetch_and_acquire() argument
339 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_and_acquire()
340 return arch_atomic_fetch_and_acquire(i, v); in atomic_fetch_and_acquire()
344 atomic_fetch_and_release(int i, atomic_t *v) in atomic_fetch_and_release() argument
347 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_and_release()
348 return arch_atomic_fetch_and_release(i, v); in atomic_fetch_and_release()
352 atomic_fetch_and_relaxed(int i, atomic_t *v) in atomic_fetch_and_relaxed() argument
354 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_and_relaxed()
355 return arch_atomic_fetch_and_relaxed(i, v); in atomic_fetch_and_relaxed()
359 atomic_andnot(int i, atomic_t *v) in atomic_andnot() argument
361 instrument_atomic_read_write(v, sizeof(*v)); in atomic_andnot()
362 arch_atomic_andnot(i, v); in atomic_andnot()
366 atomic_fetch_andnot(int i, atomic_t *v) in atomic_fetch_andnot() argument
369 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_andnot()
370 return arch_atomic_fetch_andnot(i, v); in atomic_fetch_andnot()
374 atomic_fetch_andnot_acquire(int i, atomic_t *v) in atomic_fetch_andnot_acquire() argument
376 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_andnot_acquire()
377 return arch_atomic_fetch_andnot_acquire(i, v); in atomic_fetch_andnot_acquire()
381 atomic_fetch_andnot_release(int i, atomic_t *v) in atomic_fetch_andnot_release() argument
384 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_andnot_release()
385 return arch_atomic_fetch_andnot_release(i, v); in atomic_fetch_andnot_release()
389 atomic_fetch_andnot_relaxed(int i, atomic_t *v) in atomic_fetch_andnot_relaxed() argument
391 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_andnot_relaxed()
392 return arch_atomic_fetch_andnot_relaxed(i, v); in atomic_fetch_andnot_relaxed()
396 atomic_or(int i, atomic_t *v) in atomic_or() argument
398 instrument_atomic_read_write(v, sizeof(*v)); in atomic_or()
399 arch_atomic_or(i, v); in atomic_or()
403 atomic_fetch_or(int i, atomic_t *v) in atomic_fetch_or() argument
406 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_or()
407 return arch_atomic_fetch_or(i, v); in atomic_fetch_or()
411 atomic_fetch_or_acquire(int i, atomic_t *v) in atomic_fetch_or_acquire() argument
413 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_or_acquire()
414 return arch_atomic_fetch_or_acquire(i, v); in atomic_fetch_or_acquire()
418 atomic_fetch_or_release(int i, atomic_t *v) in atomic_fetch_or_release() argument
421 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_or_release()
422 return arch_atomic_fetch_or_release(i, v); in atomic_fetch_or_release()
426 atomic_fetch_or_relaxed(int i, atomic_t *v) in atomic_fetch_or_relaxed() argument
428 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_or_relaxed()
429 return arch_atomic_fetch_or_relaxed(i, v); in atomic_fetch_or_relaxed()
433 atomic_xor(int i, atomic_t *v) in atomic_xor() argument
435 instrument_atomic_read_write(v, sizeof(*v)); in atomic_xor()
436 arch_atomic_xor(i, v); in atomic_xor()
440 atomic_fetch_xor(int i, atomic_t *v) in atomic_fetch_xor() argument
443 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_xor()
444 return arch_atomic_fetch_xor(i, v); in atomic_fetch_xor()
448 atomic_fetch_xor_acquire(int i, atomic_t *v) in atomic_fetch_xor_acquire() argument
450 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_xor_acquire()
451 return arch_atomic_fetch_xor_acquire(i, v); in atomic_fetch_xor_acquire()
455 atomic_fetch_xor_release(int i, atomic_t *v) in atomic_fetch_xor_release() argument
458 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_xor_release()
459 return arch_atomic_fetch_xor_release(i, v); in atomic_fetch_xor_release()
463 atomic_fetch_xor_relaxed(int i, atomic_t *v) in atomic_fetch_xor_relaxed() argument
465 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_xor_relaxed()
466 return arch_atomic_fetch_xor_relaxed(i, v); in atomic_fetch_xor_relaxed()
470 atomic_xchg(atomic_t *v, int i) in atomic_xchg() argument
473 instrument_atomic_read_write(v, sizeof(*v)); in atomic_xchg()
474 return arch_atomic_xchg(v, i); in atomic_xchg()
478 atomic_xchg_acquire(atomic_t *v, int i) in atomic_xchg_acquire() argument
480 instrument_atomic_read_write(v, sizeof(*v)); in atomic_xchg_acquire()
481 return arch_atomic_xchg_acquire(v, i); in atomic_xchg_acquire()
485 atomic_xchg_release(atomic_t *v, int i) in atomic_xchg_release() argument
488 instrument_atomic_read_write(v, sizeof(*v)); in atomic_xchg_release()
489 return arch_atomic_xchg_release(v, i); in atomic_xchg_release()
493 atomic_xchg_relaxed(atomic_t *v, int i) in atomic_xchg_relaxed() argument
495 instrument_atomic_read_write(v, sizeof(*v)); in atomic_xchg_relaxed()
496 return arch_atomic_xchg_relaxed(v, i); in atomic_xchg_relaxed()
500 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument
503 instrument_atomic_read_write(v, sizeof(*v)); in atomic_cmpxchg()
504 return arch_atomic_cmpxchg(v, old, new); in atomic_cmpxchg()
508 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() argument
510 instrument_atomic_read_write(v, sizeof(*v)); in atomic_cmpxchg_acquire()
511 return arch_atomic_cmpxchg_acquire(v, old, new); in atomic_cmpxchg_acquire()
515 atomic_cmpxchg_release(atomic_t *v, int old, int new) in atomic_cmpxchg_release() argument
518 instrument_atomic_read_write(v, sizeof(*v)); in atomic_cmpxchg_release()
519 return arch_atomic_cmpxchg_release(v, old, new); in atomic_cmpxchg_release()
523 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() argument
525 instrument_atomic_read_write(v, sizeof(*v)); in atomic_cmpxchg_relaxed()
526 return arch_atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg_relaxed()
530 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() argument
533 instrument_atomic_read_write(v, sizeof(*v)); in atomic_try_cmpxchg()
535 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()
539 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() argument
541 instrument_atomic_read_write(v, sizeof(*v)); in atomic_try_cmpxchg_acquire()
543 return arch_atomic_try_cmpxchg_acquire(v, old, new); in atomic_try_cmpxchg_acquire()
547 atomic_try_cmpxchg_release(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_release() argument
550 instrument_atomic_read_write(v, sizeof(*v)); in atomic_try_cmpxchg_release()
552 return arch_atomic_try_cmpxchg_release(v, old, new); in atomic_try_cmpxchg_release()
556 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() argument
558 instrument_atomic_read_write(v, sizeof(*v)); in atomic_try_cmpxchg_relaxed()
560 return arch_atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg_relaxed()
564 atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() argument
567 instrument_atomic_read_write(v, sizeof(*v)); in atomic_sub_and_test()
568 return arch_atomic_sub_and_test(i, v); in atomic_sub_and_test()
572 atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() argument
575 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_and_test()
576 return arch_atomic_dec_and_test(v); in atomic_dec_and_test()
580 atomic_inc_and_test(atomic_t *v) in atomic_inc_and_test() argument
583 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_and_test()
584 return arch_atomic_inc_and_test(v); in atomic_inc_and_test()
588 atomic_add_negative(int i, atomic_t *v) in atomic_add_negative() argument
591 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_negative()
592 return arch_atomic_add_negative(i, v); in atomic_add_negative()
596 atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() argument
599 instrument_atomic_read_write(v, sizeof(*v)); in atomic_fetch_add_unless()
600 return arch_atomic_fetch_add_unless(v, a, u); in atomic_fetch_add_unless()
604 atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() argument
607 instrument_atomic_read_write(v, sizeof(*v)); in atomic_add_unless()
608 return arch_atomic_add_unless(v, a, u); in atomic_add_unless()
612 atomic_inc_not_zero(atomic_t *v) in atomic_inc_not_zero() argument
615 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_not_zero()
616 return arch_atomic_inc_not_zero(v); in atomic_inc_not_zero()
620 atomic_inc_unless_negative(atomic_t *v) in atomic_inc_unless_negative() argument
623 instrument_atomic_read_write(v, sizeof(*v)); in atomic_inc_unless_negative()
624 return arch_atomic_inc_unless_negative(v); in atomic_inc_unless_negative()
628 atomic_dec_unless_positive(atomic_t *v) in atomic_dec_unless_positive() argument
631 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_unless_positive()
632 return arch_atomic_dec_unless_positive(v); in atomic_dec_unless_positive()
636 atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() argument
639 instrument_atomic_read_write(v, sizeof(*v)); in atomic_dec_if_positive()
640 return arch_atomic_dec_if_positive(v); in atomic_dec_if_positive()
644 atomic64_read(const atomic64_t *v) in atomic64_read() argument
646 instrument_atomic_read(v, sizeof(*v)); in atomic64_read()
647 return arch_atomic64_read(v); in atomic64_read()
651 atomic64_read_acquire(const atomic64_t *v) in atomic64_read_acquire() argument
653 instrument_atomic_read(v, sizeof(*v)); in atomic64_read_acquire()
654 return arch_atomic64_read_acquire(v); in atomic64_read_acquire()
658 atomic64_set(atomic64_t *v, s64 i) in atomic64_set() argument
660 instrument_atomic_write(v, sizeof(*v)); in atomic64_set()
661 arch_atomic64_set(v, i); in atomic64_set()
665 atomic64_set_release(atomic64_t *v, s64 i) in atomic64_set_release() argument
668 instrument_atomic_write(v, sizeof(*v)); in atomic64_set_release()
669 arch_atomic64_set_release(v, i); in atomic64_set_release()
673 atomic64_add(s64 i, atomic64_t *v) in atomic64_add() argument
675 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add()
676 arch_atomic64_add(i, v); in atomic64_add()
680 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return() argument
683 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_return()
684 return arch_atomic64_add_return(i, v); in atomic64_add_return()
688 atomic64_add_return_acquire(s64 i, atomic64_t *v) in atomic64_add_return_acquire() argument
690 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_return_acquire()
691 return arch_atomic64_add_return_acquire(i, v); in atomic64_add_return_acquire()
695 atomic64_add_return_release(s64 i, atomic64_t *v) in atomic64_add_return_release() argument
698 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_return_release()
699 return arch_atomic64_add_return_release(i, v); in atomic64_add_return_release()
703 atomic64_add_return_relaxed(s64 i, atomic64_t *v) in atomic64_add_return_relaxed() argument
705 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_return_relaxed()
706 return arch_atomic64_add_return_relaxed(i, v); in atomic64_add_return_relaxed()
710 atomic64_fetch_add(s64 i, atomic64_t *v) in atomic64_fetch_add() argument
713 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_add()
714 return arch_atomic64_fetch_add(i, v); in atomic64_fetch_add()
718 atomic64_fetch_add_acquire(s64 i, atomic64_t *v) in atomic64_fetch_add_acquire() argument
720 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_add_acquire()
721 return arch_atomic64_fetch_add_acquire(i, v); in atomic64_fetch_add_acquire()
725 atomic64_fetch_add_release(s64 i, atomic64_t *v) in atomic64_fetch_add_release() argument
728 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_add_release()
729 return arch_atomic64_fetch_add_release(i, v); in atomic64_fetch_add_release()
733 atomic64_fetch_add_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_add_relaxed() argument
735 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_add_relaxed()
736 return arch_atomic64_fetch_add_relaxed(i, v); in atomic64_fetch_add_relaxed()
740 atomic64_sub(s64 i, atomic64_t *v) in atomic64_sub() argument
742 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub()
743 arch_atomic64_sub(i, v); in atomic64_sub()
747 atomic64_sub_return(s64 i, atomic64_t *v) in atomic64_sub_return() argument
750 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub_return()
751 return arch_atomic64_sub_return(i, v); in atomic64_sub_return()
755 atomic64_sub_return_acquire(s64 i, atomic64_t *v) in atomic64_sub_return_acquire() argument
757 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub_return_acquire()
758 return arch_atomic64_sub_return_acquire(i, v); in atomic64_sub_return_acquire()
762 atomic64_sub_return_release(s64 i, atomic64_t *v) in atomic64_sub_return_release() argument
765 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub_return_release()
766 return arch_atomic64_sub_return_release(i, v); in atomic64_sub_return_release()
770 atomic64_sub_return_relaxed(s64 i, atomic64_t *v) in atomic64_sub_return_relaxed() argument
772 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub_return_relaxed()
773 return arch_atomic64_sub_return_relaxed(i, v); in atomic64_sub_return_relaxed()
777 atomic64_fetch_sub(s64 i, atomic64_t *v) in atomic64_fetch_sub() argument
780 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_sub()
781 return arch_atomic64_fetch_sub(i, v); in atomic64_fetch_sub()
785 atomic64_fetch_sub_acquire(s64 i, atomic64_t *v) in atomic64_fetch_sub_acquire() argument
787 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_sub_acquire()
788 return arch_atomic64_fetch_sub_acquire(i, v); in atomic64_fetch_sub_acquire()
792 atomic64_fetch_sub_release(s64 i, atomic64_t *v) in atomic64_fetch_sub_release() argument
795 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_sub_release()
796 return arch_atomic64_fetch_sub_release(i, v); in atomic64_fetch_sub_release()
800 atomic64_fetch_sub_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_sub_relaxed() argument
802 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_sub_relaxed()
803 return arch_atomic64_fetch_sub_relaxed(i, v); in atomic64_fetch_sub_relaxed()
807 atomic64_inc(atomic64_t *v) in atomic64_inc() argument
809 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc()
810 arch_atomic64_inc(v); in atomic64_inc()
814 atomic64_inc_return(atomic64_t *v) in atomic64_inc_return() argument
817 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_return()
818 return arch_atomic64_inc_return(v); in atomic64_inc_return()
822 atomic64_inc_return_acquire(atomic64_t *v) in atomic64_inc_return_acquire() argument
824 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_return_acquire()
825 return arch_atomic64_inc_return_acquire(v); in atomic64_inc_return_acquire()
829 atomic64_inc_return_release(atomic64_t *v) in atomic64_inc_return_release() argument
832 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_return_release()
833 return arch_atomic64_inc_return_release(v); in atomic64_inc_return_release()
837 atomic64_inc_return_relaxed(atomic64_t *v) in atomic64_inc_return_relaxed() argument
839 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_return_relaxed()
840 return arch_atomic64_inc_return_relaxed(v); in atomic64_inc_return_relaxed()
844 atomic64_fetch_inc(atomic64_t *v) in atomic64_fetch_inc() argument
847 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_inc()
848 return arch_atomic64_fetch_inc(v); in atomic64_fetch_inc()
852 atomic64_fetch_inc_acquire(atomic64_t *v) in atomic64_fetch_inc_acquire() argument
854 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_inc_acquire()
855 return arch_atomic64_fetch_inc_acquire(v); in atomic64_fetch_inc_acquire()
859 atomic64_fetch_inc_release(atomic64_t *v) in atomic64_fetch_inc_release() argument
862 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_inc_release()
863 return arch_atomic64_fetch_inc_release(v); in atomic64_fetch_inc_release()
867 atomic64_fetch_inc_relaxed(atomic64_t *v) in atomic64_fetch_inc_relaxed() argument
869 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_inc_relaxed()
870 return arch_atomic64_fetch_inc_relaxed(v); in atomic64_fetch_inc_relaxed()
874 atomic64_dec(atomic64_t *v) in atomic64_dec() argument
876 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec()
877 arch_atomic64_dec(v); in atomic64_dec()
881 atomic64_dec_return(atomic64_t *v) in atomic64_dec_return() argument
884 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_return()
885 return arch_atomic64_dec_return(v); in atomic64_dec_return()
889 atomic64_dec_return_acquire(atomic64_t *v) in atomic64_dec_return_acquire() argument
891 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_return_acquire()
892 return arch_atomic64_dec_return_acquire(v); in atomic64_dec_return_acquire()
896 atomic64_dec_return_release(atomic64_t *v) in atomic64_dec_return_release() argument
899 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_return_release()
900 return arch_atomic64_dec_return_release(v); in atomic64_dec_return_release()
904 atomic64_dec_return_relaxed(atomic64_t *v) in atomic64_dec_return_relaxed() argument
906 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_return_relaxed()
907 return arch_atomic64_dec_return_relaxed(v); in atomic64_dec_return_relaxed()
911 atomic64_fetch_dec(atomic64_t *v) in atomic64_fetch_dec() argument
914 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_dec()
915 return arch_atomic64_fetch_dec(v); in atomic64_fetch_dec()
919 atomic64_fetch_dec_acquire(atomic64_t *v) in atomic64_fetch_dec_acquire() argument
921 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_dec_acquire()
922 return arch_atomic64_fetch_dec_acquire(v); in atomic64_fetch_dec_acquire()
926 atomic64_fetch_dec_release(atomic64_t *v) in atomic64_fetch_dec_release() argument
929 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_dec_release()
930 return arch_atomic64_fetch_dec_release(v); in atomic64_fetch_dec_release()
934 atomic64_fetch_dec_relaxed(atomic64_t *v) in atomic64_fetch_dec_relaxed() argument
936 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_dec_relaxed()
937 return arch_atomic64_fetch_dec_relaxed(v); in atomic64_fetch_dec_relaxed()
941 atomic64_and(s64 i, atomic64_t *v) in atomic64_and() argument
943 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_and()
944 arch_atomic64_and(i, v); in atomic64_and()
948 atomic64_fetch_and(s64 i, atomic64_t *v) in atomic64_fetch_and() argument
951 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_and()
952 return arch_atomic64_fetch_and(i, v); in atomic64_fetch_and()
956 atomic64_fetch_and_acquire(s64 i, atomic64_t *v) in atomic64_fetch_and_acquire() argument
958 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_and_acquire()
959 return arch_atomic64_fetch_and_acquire(i, v); in atomic64_fetch_and_acquire()
963 atomic64_fetch_and_release(s64 i, atomic64_t *v) in atomic64_fetch_and_release() argument
966 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_and_release()
967 return arch_atomic64_fetch_and_release(i, v); in atomic64_fetch_and_release()
971 atomic64_fetch_and_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_and_relaxed() argument
973 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_and_relaxed()
974 return arch_atomic64_fetch_and_relaxed(i, v); in atomic64_fetch_and_relaxed()
978 atomic64_andnot(s64 i, atomic64_t *v) in atomic64_andnot() argument
980 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_andnot()
981 arch_atomic64_andnot(i, v); in atomic64_andnot()
985 atomic64_fetch_andnot(s64 i, atomic64_t *v) in atomic64_fetch_andnot() argument
988 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_andnot()
989 return arch_atomic64_fetch_andnot(i, v); in atomic64_fetch_andnot()
993 atomic64_fetch_andnot_acquire(s64 i, atomic64_t *v) in atomic64_fetch_andnot_acquire() argument
995 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_andnot_acquire()
996 return arch_atomic64_fetch_andnot_acquire(i, v); in atomic64_fetch_andnot_acquire()
1000 atomic64_fetch_andnot_release(s64 i, atomic64_t *v) in atomic64_fetch_andnot_release() argument
1003 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_andnot_release()
1004 return arch_atomic64_fetch_andnot_release(i, v); in atomic64_fetch_andnot_release()
1008 atomic64_fetch_andnot_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_andnot_relaxed() argument
1010 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_andnot_relaxed()
1011 return arch_atomic64_fetch_andnot_relaxed(i, v); in atomic64_fetch_andnot_relaxed()
1015 atomic64_or(s64 i, atomic64_t *v) in atomic64_or() argument
1017 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_or()
1018 arch_atomic64_or(i, v); in atomic64_or()
1022 atomic64_fetch_or(s64 i, atomic64_t *v) in atomic64_fetch_or() argument
1025 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_or()
1026 return arch_atomic64_fetch_or(i, v); in atomic64_fetch_or()
1030 atomic64_fetch_or_acquire(s64 i, atomic64_t *v) in atomic64_fetch_or_acquire() argument
1032 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_or_acquire()
1033 return arch_atomic64_fetch_or_acquire(i, v); in atomic64_fetch_or_acquire()
1037 atomic64_fetch_or_release(s64 i, atomic64_t *v) in atomic64_fetch_or_release() argument
1040 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_or_release()
1041 return arch_atomic64_fetch_or_release(i, v); in atomic64_fetch_or_release()
1045 atomic64_fetch_or_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_or_relaxed() argument
1047 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_or_relaxed()
1048 return arch_atomic64_fetch_or_relaxed(i, v); in atomic64_fetch_or_relaxed()
1052 atomic64_xor(s64 i, atomic64_t *v) in atomic64_xor() argument
1054 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_xor()
1055 arch_atomic64_xor(i, v); in atomic64_xor()
1059 atomic64_fetch_xor(s64 i, atomic64_t *v) in atomic64_fetch_xor() argument
1062 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_xor()
1063 return arch_atomic64_fetch_xor(i, v); in atomic64_fetch_xor()
1067 atomic64_fetch_xor_acquire(s64 i, atomic64_t *v) in atomic64_fetch_xor_acquire() argument
1069 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_xor_acquire()
1070 return arch_atomic64_fetch_xor_acquire(i, v); in atomic64_fetch_xor_acquire()
1074 atomic64_fetch_xor_release(s64 i, atomic64_t *v) in atomic64_fetch_xor_release() argument
1077 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_xor_release()
1078 return arch_atomic64_fetch_xor_release(i, v); in atomic64_fetch_xor_release()
1082 atomic64_fetch_xor_relaxed(s64 i, atomic64_t *v) in atomic64_fetch_xor_relaxed() argument
1084 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_xor_relaxed()
1085 return arch_atomic64_fetch_xor_relaxed(i, v); in atomic64_fetch_xor_relaxed()
1089 atomic64_xchg(atomic64_t *v, s64 i) in atomic64_xchg() argument
1092 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_xchg()
1093 return arch_atomic64_xchg(v, i); in atomic64_xchg()
1097 atomic64_xchg_acquire(atomic64_t *v, s64 i) in atomic64_xchg_acquire() argument
1099 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_xchg_acquire()
1100 return arch_atomic64_xchg_acquire(v, i); in atomic64_xchg_acquire()
1104 atomic64_xchg_release(atomic64_t *v, s64 i) in atomic64_xchg_release() argument
1107 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_xchg_release()
1108 return arch_atomic64_xchg_release(v, i); in atomic64_xchg_release()
1112 atomic64_xchg_relaxed(atomic64_t *v, s64 i) in atomic64_xchg_relaxed() argument
1114 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_xchg_relaxed()
1115 return arch_atomic64_xchg_relaxed(v, i); in atomic64_xchg_relaxed()
1119 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg() argument
1122 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_cmpxchg()
1123 return arch_atomic64_cmpxchg(v, old, new); in atomic64_cmpxchg()
1127 atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_acquire() argument
1129 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_cmpxchg_acquire()
1130 return arch_atomic64_cmpxchg_acquire(v, old, new); in atomic64_cmpxchg_acquire()
1134 atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_release() argument
1137 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_cmpxchg_release()
1138 return arch_atomic64_cmpxchg_release(v, old, new); in atomic64_cmpxchg_release()
1142 atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_relaxed() argument
1144 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_cmpxchg_relaxed()
1145 return arch_atomic64_cmpxchg_relaxed(v, old, new); in atomic64_cmpxchg_relaxed()
1149 atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg() argument
1152 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_try_cmpxchg()
1154 return arch_atomic64_try_cmpxchg(v, old, new); in atomic64_try_cmpxchg()
1158 atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_acquire() argument
1160 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_try_cmpxchg_acquire()
1162 return arch_atomic64_try_cmpxchg_acquire(v, old, new); in atomic64_try_cmpxchg_acquire()
1166 atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_release() argument
1169 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_try_cmpxchg_release()
1171 return arch_atomic64_try_cmpxchg_release(v, old, new); in atomic64_try_cmpxchg_release()
1175 atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_relaxed() argument
1177 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_try_cmpxchg_relaxed()
1179 return arch_atomic64_try_cmpxchg_relaxed(v, old, new); in atomic64_try_cmpxchg_relaxed()
1183 atomic64_sub_and_test(s64 i, atomic64_t *v) in atomic64_sub_and_test() argument
1186 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_sub_and_test()
1187 return arch_atomic64_sub_and_test(i, v); in atomic64_sub_and_test()
1191 atomic64_dec_and_test(atomic64_t *v) in atomic64_dec_and_test() argument
1194 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_and_test()
1195 return arch_atomic64_dec_and_test(v); in atomic64_dec_and_test()
1199 atomic64_inc_and_test(atomic64_t *v) in atomic64_inc_and_test() argument
1202 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_and_test()
1203 return arch_atomic64_inc_and_test(v); in atomic64_inc_and_test()
1207 atomic64_add_negative(s64 i, atomic64_t *v) in atomic64_add_negative() argument
1210 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_negative()
1211 return arch_atomic64_add_negative(i, v); in atomic64_add_negative()
1215 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_fetch_add_unless() argument
1218 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_fetch_add_unless()
1219 return arch_atomic64_fetch_add_unless(v, a, u); in atomic64_fetch_add_unless()
1223 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() argument
1226 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_add_unless()
1227 return arch_atomic64_add_unless(v, a, u); in atomic64_add_unless()
1231 atomic64_inc_not_zero(atomic64_t *v) in atomic64_inc_not_zero() argument
1234 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_not_zero()
1235 return arch_atomic64_inc_not_zero(v); in atomic64_inc_not_zero()
1239 atomic64_inc_unless_negative(atomic64_t *v) in atomic64_inc_unless_negative() argument
1242 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_inc_unless_negative()
1243 return arch_atomic64_inc_unless_negative(v); in atomic64_inc_unless_negative()
1247 atomic64_dec_unless_positive(atomic64_t *v) in atomic64_dec_unless_positive() argument
1250 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_unless_positive()
1251 return arch_atomic64_dec_unless_positive(v); in atomic64_dec_unless_positive()
1255 atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() argument
1258 instrument_atomic_read_write(v, sizeof(*v)); in atomic64_dec_if_positive()
1259 return arch_atomic64_dec_if_positive(v); in atomic64_dec_if_positive()
1263 atomic_long_read(const atomic_long_t *v) in atomic_long_read() argument
1265 instrument_atomic_read(v, sizeof(*v)); in atomic_long_read()
1266 return arch_atomic_long_read(v); in atomic_long_read()
1270 atomic_long_read_acquire(const atomic_long_t *v) in atomic_long_read_acquire() argument
1272 instrument_atomic_read(v, sizeof(*v)); in atomic_long_read_acquire()
1273 return arch_atomic_long_read_acquire(v); in atomic_long_read_acquire()
1277 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() argument
1279 instrument_atomic_write(v, sizeof(*v)); in atomic_long_set()
1280 arch_atomic_long_set(v, i); in atomic_long_set()
1284 atomic_long_set_release(atomic_long_t *v, long i) in atomic_long_set_release() argument
1287 instrument_atomic_write(v, sizeof(*v)); in atomic_long_set_release()
1288 arch_atomic_long_set_release(v, i); in atomic_long_set_release()
1292 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() argument
1294 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add()
1295 arch_atomic_long_add(i, v); in atomic_long_add()
1299 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() argument
1302 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_return()
1303 return arch_atomic_long_add_return(i, v); in atomic_long_add_return()
1307 atomic_long_add_return_acquire(long i, atomic_long_t *v) in atomic_long_add_return_acquire() argument
1309 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_return_acquire()
1310 return arch_atomic_long_add_return_acquire(i, v); in atomic_long_add_return_acquire()
1314 atomic_long_add_return_release(long i, atomic_long_t *v) in atomic_long_add_return_release() argument
1317 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_return_release()
1318 return arch_atomic_long_add_return_release(i, v); in atomic_long_add_return_release()
1322 atomic_long_add_return_relaxed(long i, atomic_long_t *v) in atomic_long_add_return_relaxed() argument
1324 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_return_relaxed()
1325 return arch_atomic_long_add_return_relaxed(i, v); in atomic_long_add_return_relaxed()
1329 atomic_long_fetch_add(long i, atomic_long_t *v) in atomic_long_fetch_add() argument
1332 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_add()
1333 return arch_atomic_long_fetch_add(i, v); in atomic_long_fetch_add()
1337 atomic_long_fetch_add_acquire(long i, atomic_long_t *v) in atomic_long_fetch_add_acquire() argument
1339 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_add_acquire()
1340 return arch_atomic_long_fetch_add_acquire(i, v); in atomic_long_fetch_add_acquire()
1344 atomic_long_fetch_add_release(long i, atomic_long_t *v) in atomic_long_fetch_add_release() argument
1347 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_add_release()
1348 return arch_atomic_long_fetch_add_release(i, v); in atomic_long_fetch_add_release()
1352 atomic_long_fetch_add_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_add_relaxed() argument
1354 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_add_relaxed()
1355 return arch_atomic_long_fetch_add_relaxed(i, v); in atomic_long_fetch_add_relaxed()
1359 atomic_long_sub(long i, atomic_long_t *v) in atomic_long_sub() argument
1361 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub()
1362 arch_atomic_long_sub(i, v); in atomic_long_sub()
1366 atomic_long_sub_return(long i, atomic_long_t *v) in atomic_long_sub_return() argument
1369 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub_return()
1370 return arch_atomic_long_sub_return(i, v); in atomic_long_sub_return()
1374 atomic_long_sub_return_acquire(long i, atomic_long_t *v) in atomic_long_sub_return_acquire() argument
1376 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub_return_acquire()
1377 return arch_atomic_long_sub_return_acquire(i, v); in atomic_long_sub_return_acquire()
1381 atomic_long_sub_return_release(long i, atomic_long_t *v) in atomic_long_sub_return_release() argument
1384 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub_return_release()
1385 return arch_atomic_long_sub_return_release(i, v); in atomic_long_sub_return_release()
1389 atomic_long_sub_return_relaxed(long i, atomic_long_t *v) in atomic_long_sub_return_relaxed() argument
1391 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub_return_relaxed()
1392 return arch_atomic_long_sub_return_relaxed(i, v); in atomic_long_sub_return_relaxed()
1396 atomic_long_fetch_sub(long i, atomic_long_t *v) in atomic_long_fetch_sub() argument
1399 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_sub()
1400 return arch_atomic_long_fetch_sub(i, v); in atomic_long_fetch_sub()
1404 atomic_long_fetch_sub_acquire(long i, atomic_long_t *v) in atomic_long_fetch_sub_acquire() argument
1406 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_sub_acquire()
1407 return arch_atomic_long_fetch_sub_acquire(i, v); in atomic_long_fetch_sub_acquire()
1411 atomic_long_fetch_sub_release(long i, atomic_long_t *v) in atomic_long_fetch_sub_release() argument
1414 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_sub_release()
1415 return arch_atomic_long_fetch_sub_release(i, v); in atomic_long_fetch_sub_release()
1419 atomic_long_fetch_sub_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_sub_relaxed() argument
1421 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_sub_relaxed()
1422 return arch_atomic_long_fetch_sub_relaxed(i, v); in atomic_long_fetch_sub_relaxed()
1426 atomic_long_inc(atomic_long_t *v) in atomic_long_inc() argument
1428 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc()
1429 arch_atomic_long_inc(v); in atomic_long_inc()
1433 atomic_long_inc_return(atomic_long_t *v) in atomic_long_inc_return() argument
1436 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_return()
1437 return arch_atomic_long_inc_return(v); in atomic_long_inc_return()
1441 atomic_long_inc_return_acquire(atomic_long_t *v) in atomic_long_inc_return_acquire() argument
1443 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_return_acquire()
1444 return arch_atomic_long_inc_return_acquire(v); in atomic_long_inc_return_acquire()
1448 atomic_long_inc_return_release(atomic_long_t *v) in atomic_long_inc_return_release() argument
1451 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_return_release()
1452 return arch_atomic_long_inc_return_release(v); in atomic_long_inc_return_release()
1456 atomic_long_inc_return_relaxed(atomic_long_t *v) in atomic_long_inc_return_relaxed() argument
1458 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_return_relaxed()
1459 return arch_atomic_long_inc_return_relaxed(v); in atomic_long_inc_return_relaxed()
1463 atomic_long_fetch_inc(atomic_long_t *v) in atomic_long_fetch_inc() argument
1466 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_inc()
1467 return arch_atomic_long_fetch_inc(v); in atomic_long_fetch_inc()
1471 atomic_long_fetch_inc_acquire(atomic_long_t *v) in atomic_long_fetch_inc_acquire() argument
1473 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_inc_acquire()
1474 return arch_atomic_long_fetch_inc_acquire(v); in atomic_long_fetch_inc_acquire()
1478 atomic_long_fetch_inc_release(atomic_long_t *v) in atomic_long_fetch_inc_release() argument
1481 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_inc_release()
1482 return arch_atomic_long_fetch_inc_release(v); in atomic_long_fetch_inc_release()
1486 atomic_long_fetch_inc_relaxed(atomic_long_t *v) in atomic_long_fetch_inc_relaxed() argument
1488 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_inc_relaxed()
1489 return arch_atomic_long_fetch_inc_relaxed(v); in atomic_long_fetch_inc_relaxed()
1493 atomic_long_dec(atomic_long_t *v) in atomic_long_dec() argument
1495 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec()
1496 arch_atomic_long_dec(v); in atomic_long_dec()
1500 atomic_long_dec_return(atomic_long_t *v) in atomic_long_dec_return() argument
1503 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_return()
1504 return arch_atomic_long_dec_return(v); in atomic_long_dec_return()
1508 atomic_long_dec_return_acquire(atomic_long_t *v) in atomic_long_dec_return_acquire() argument
1510 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_return_acquire()
1511 return arch_atomic_long_dec_return_acquire(v); in atomic_long_dec_return_acquire()
1515 atomic_long_dec_return_release(atomic_long_t *v) in atomic_long_dec_return_release() argument
1518 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_return_release()
1519 return arch_atomic_long_dec_return_release(v); in atomic_long_dec_return_release()
1523 atomic_long_dec_return_relaxed(atomic_long_t *v) in atomic_long_dec_return_relaxed() argument
1525 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_return_relaxed()
1526 return arch_atomic_long_dec_return_relaxed(v); in atomic_long_dec_return_relaxed()
1530 atomic_long_fetch_dec(atomic_long_t *v) in atomic_long_fetch_dec() argument
1533 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_dec()
1534 return arch_atomic_long_fetch_dec(v); in atomic_long_fetch_dec()
1538 atomic_long_fetch_dec_acquire(atomic_long_t *v) in atomic_long_fetch_dec_acquire() argument
1540 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_dec_acquire()
1541 return arch_atomic_long_fetch_dec_acquire(v); in atomic_long_fetch_dec_acquire()
1545 atomic_long_fetch_dec_release(atomic_long_t *v) in atomic_long_fetch_dec_release() argument
1548 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_dec_release()
1549 return arch_atomic_long_fetch_dec_release(v); in atomic_long_fetch_dec_release()
1553 atomic_long_fetch_dec_relaxed(atomic_long_t *v) in atomic_long_fetch_dec_relaxed() argument
1555 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_dec_relaxed()
1556 return arch_atomic_long_fetch_dec_relaxed(v); in atomic_long_fetch_dec_relaxed()
1560 atomic_long_and(long i, atomic_long_t *v) in atomic_long_and() argument
1562 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_and()
1563 arch_atomic_long_and(i, v); in atomic_long_and()
1567 atomic_long_fetch_and(long i, atomic_long_t *v) in atomic_long_fetch_and() argument
1570 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_and()
1571 return arch_atomic_long_fetch_and(i, v); in atomic_long_fetch_and()
1575 atomic_long_fetch_and_acquire(long i, atomic_long_t *v) in atomic_long_fetch_and_acquire() argument
1577 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_and_acquire()
1578 return arch_atomic_long_fetch_and_acquire(i, v); in atomic_long_fetch_and_acquire()
1582 atomic_long_fetch_and_release(long i, atomic_long_t *v) in atomic_long_fetch_and_release() argument
1585 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_and_release()
1586 return arch_atomic_long_fetch_and_release(i, v); in atomic_long_fetch_and_release()
1590 atomic_long_fetch_and_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_and_relaxed() argument
1592 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_and_relaxed()
1593 return arch_atomic_long_fetch_and_relaxed(i, v); in atomic_long_fetch_and_relaxed()
1597 atomic_long_andnot(long i, atomic_long_t *v) in atomic_long_andnot() argument
1599 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_andnot()
1600 arch_atomic_long_andnot(i, v); in atomic_long_andnot()
1604 atomic_long_fetch_andnot(long i, atomic_long_t *v) in atomic_long_fetch_andnot() argument
1607 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_andnot()
1608 return arch_atomic_long_fetch_andnot(i, v); in atomic_long_fetch_andnot()
1612 atomic_long_fetch_andnot_acquire(long i, atomic_long_t *v) in atomic_long_fetch_andnot_acquire() argument
1614 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_andnot_acquire()
1615 return arch_atomic_long_fetch_andnot_acquire(i, v); in atomic_long_fetch_andnot_acquire()
1619 atomic_long_fetch_andnot_release(long i, atomic_long_t *v) in atomic_long_fetch_andnot_release() argument
1622 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_andnot_release()
1623 return arch_atomic_long_fetch_andnot_release(i, v); in atomic_long_fetch_andnot_release()
1627 atomic_long_fetch_andnot_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_andnot_relaxed() argument
1629 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_andnot_relaxed()
1630 return arch_atomic_long_fetch_andnot_relaxed(i, v); in atomic_long_fetch_andnot_relaxed()
1634 atomic_long_or(long i, atomic_long_t *v) in atomic_long_or() argument
1636 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_or()
1637 arch_atomic_long_or(i, v); in atomic_long_or()
1641 atomic_long_fetch_or(long i, atomic_long_t *v) in atomic_long_fetch_or() argument
1644 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_or()
1645 return arch_atomic_long_fetch_or(i, v); in atomic_long_fetch_or()
1649 atomic_long_fetch_or_acquire(long i, atomic_long_t *v) in atomic_long_fetch_or_acquire() argument
1651 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_or_acquire()
1652 return arch_atomic_long_fetch_or_acquire(i, v); in atomic_long_fetch_or_acquire()
1656 atomic_long_fetch_or_release(long i, atomic_long_t *v) in atomic_long_fetch_or_release() argument
1659 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_or_release()
1660 return arch_atomic_long_fetch_or_release(i, v); in atomic_long_fetch_or_release()
1664 atomic_long_fetch_or_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_or_relaxed() argument
1666 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_or_relaxed()
1667 return arch_atomic_long_fetch_or_relaxed(i, v); in atomic_long_fetch_or_relaxed()
1671 atomic_long_xor(long i, atomic_long_t *v) in atomic_long_xor() argument
1673 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_xor()
1674 arch_atomic_long_xor(i, v); in atomic_long_xor()
1678 atomic_long_fetch_xor(long i, atomic_long_t *v) in atomic_long_fetch_xor() argument
1681 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_xor()
1682 return arch_atomic_long_fetch_xor(i, v); in atomic_long_fetch_xor()
1686 atomic_long_fetch_xor_acquire(long i, atomic_long_t *v) in atomic_long_fetch_xor_acquire() argument
1688 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_xor_acquire()
1689 return arch_atomic_long_fetch_xor_acquire(i, v); in atomic_long_fetch_xor_acquire()
1693 atomic_long_fetch_xor_release(long i, atomic_long_t *v) in atomic_long_fetch_xor_release() argument
1696 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_xor_release()
1697 return arch_atomic_long_fetch_xor_release(i, v); in atomic_long_fetch_xor_release()
1701 atomic_long_fetch_xor_relaxed(long i, atomic_long_t *v) in atomic_long_fetch_xor_relaxed() argument
1703 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_xor_relaxed()
1704 return arch_atomic_long_fetch_xor_relaxed(i, v); in atomic_long_fetch_xor_relaxed()
1708 atomic_long_xchg(atomic_long_t *v, long i) in atomic_long_xchg() argument
1711 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_xchg()
1712 return arch_atomic_long_xchg(v, i); in atomic_long_xchg()
1716 atomic_long_xchg_acquire(atomic_long_t *v, long i) in atomic_long_xchg_acquire() argument
1718 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_xchg_acquire()
1719 return arch_atomic_long_xchg_acquire(v, i); in atomic_long_xchg_acquire()
1723 atomic_long_xchg_release(atomic_long_t *v, long i) in atomic_long_xchg_release() argument
1726 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_xchg_release()
1727 return arch_atomic_long_xchg_release(v, i); in atomic_long_xchg_release()
1731 atomic_long_xchg_relaxed(atomic_long_t *v, long i) in atomic_long_xchg_relaxed() argument
1733 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_xchg_relaxed()
1734 return arch_atomic_long_xchg_relaxed(v, i); in atomic_long_xchg_relaxed()
1738 atomic_long_cmpxchg(atomic_long_t *v, long old, long new) in atomic_long_cmpxchg() argument
1741 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_cmpxchg()
1742 return arch_atomic_long_cmpxchg(v, old, new); in atomic_long_cmpxchg()
1746 atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new) in atomic_long_cmpxchg_acquire() argument
1748 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_cmpxchg_acquire()
1749 return arch_atomic_long_cmpxchg_acquire(v, old, new); in atomic_long_cmpxchg_acquire()
1753 atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new) in atomic_long_cmpxchg_release() argument
1756 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_cmpxchg_release()
1757 return arch_atomic_long_cmpxchg_release(v, old, new); in atomic_long_cmpxchg_release()
1761 atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new) in atomic_long_cmpxchg_relaxed() argument
1763 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_cmpxchg_relaxed()
1764 return arch_atomic_long_cmpxchg_relaxed(v, old, new); in atomic_long_cmpxchg_relaxed()
1768 atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg() argument
1771 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_try_cmpxchg()
1773 return arch_atomic_long_try_cmpxchg(v, old, new); in atomic_long_try_cmpxchg()
1777 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() argument
1779 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_try_cmpxchg_acquire()
1781 return arch_atomic_long_try_cmpxchg_acquire(v, old, new); in atomic_long_try_cmpxchg_acquire()
1785 atomic_long_try_cmpxchg_release(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_release() argument
1788 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_try_cmpxchg_release()
1790 return arch_atomic_long_try_cmpxchg_release(v, old, new); in atomic_long_try_cmpxchg_release()
1794 atomic_long_try_cmpxchg_relaxed(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_relaxed() argument
1796 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_try_cmpxchg_relaxed()
1798 return arch_atomic_long_try_cmpxchg_relaxed(v, old, new); in atomic_long_try_cmpxchg_relaxed()
1802 atomic_long_sub_and_test(long i, atomic_long_t *v) in atomic_long_sub_and_test() argument
1805 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_sub_and_test()
1806 return arch_atomic_long_sub_and_test(i, v); in atomic_long_sub_and_test()
1810 atomic_long_dec_and_test(atomic_long_t *v) in atomic_long_dec_and_test() argument
1813 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_and_test()
1814 return arch_atomic_long_dec_and_test(v); in atomic_long_dec_and_test()
1818 atomic_long_inc_and_test(atomic_long_t *v) in atomic_long_inc_and_test() argument
1821 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_and_test()
1822 return arch_atomic_long_inc_and_test(v); in atomic_long_inc_and_test()
1826 atomic_long_add_negative(long i, atomic_long_t *v) in atomic_long_add_negative() argument
1829 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_negative()
1830 return arch_atomic_long_add_negative(i, v); in atomic_long_add_negative()
1834 atomic_long_fetch_add_unless(atomic_long_t *v, long a, long u) in atomic_long_fetch_add_unless() argument
1837 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_fetch_add_unless()
1838 return arch_atomic_long_fetch_add_unless(v, a, u); in atomic_long_fetch_add_unless()
1842 atomic_long_add_unless(atomic_long_t *v, long a, long u) in atomic_long_add_unless() argument
1845 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_add_unless()
1846 return arch_atomic_long_add_unless(v, a, u); in atomic_long_add_unless()
1850 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() argument
1853 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_not_zero()
1854 return arch_atomic_long_inc_not_zero(v); in atomic_long_inc_not_zero()
1858 atomic_long_inc_unless_negative(atomic_long_t *v) in atomic_long_inc_unless_negative() argument
1861 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_inc_unless_negative()
1862 return arch_atomic_long_inc_unless_negative(v); in atomic_long_inc_unless_negative()
1866 atomic_long_dec_unless_positive(atomic_long_t *v) in atomic_long_dec_unless_positive() argument
1869 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_unless_positive()
1870 return arch_atomic_long_dec_unless_positive(v); in atomic_long_dec_unless_positive()
1874 atomic_long_dec_if_positive(atomic_long_t *v) in atomic_long_dec_if_positive() argument
1877 instrument_atomic_read_write(v, sizeof(*v)); in atomic_long_dec_if_positive()
1878 return arch_atomic_long_dec_if_positive(v); in atomic_long_dec_if_positive()