/tools/testing/selftests/futex/include/ |
D | atomic.h | 23 } atomic_t; typedef 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() 48 atomic_inc(atomic_t *addr) in atomic_inc() 60 atomic_dec(atomic_t *addr) in atomic_dec() 73 atomic_set(atomic_t *addr, int newval) in atomic_set()
|
/tools/arch/x86/include/asm/ |
D | atomic.h | 26 static inline int atomic_read(const atomic_t *v) in atomic_read() 38 static inline void atomic_set(atomic_t *v, int i) in atomic_set() 49 static inline void atomic_inc(atomic_t *v) in atomic_inc() 63 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() 68 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
|
/tools/include/asm-generic/ |
D | atomic-gcc.h | 23 static inline int atomic_read(const atomic_t *v) in atomic_read() 35 static inline void atomic_set(atomic_t *v, int i) in atomic_set() 46 static inline void atomic_inc(atomic_t *v) in atomic_inc() 59 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() 67 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg()
|
/tools/testing/selftests/bpf/progs/ |
D | netif_receive_skb.c | 163 TEST_BTF_C(str, atomic_t, 0, {.counter = (int)1,}); in BPF_PROG() 164 TEST_BTF(str, atomic_t, BTF_F_NONAME, "{1,}", {.counter = 1,}); in BPF_PROG() 166 TEST_BTF(str, atomic_t, 0, "(atomic_t){}", {.counter = 0,}); in BPF_PROG() 167 TEST_BTF(str, atomic_t, BTF_F_NONAME, "{}", {.counter = 0,}); in BPF_PROG() 168 TEST_BTF(str, atomic_t, BTF_F_ZERO, "(atomic_t){.counter = (int)0,}", in BPF_PROG() 170 TEST_BTF(str, atomic_t, BTF_F_NONAME|BTF_F_ZERO, in BPF_PROG()
|
D | kfree_skb.c | 34 } atomic_t; typedef 36 atomic_t refs;
|
D | map_ptr_kern.c | 89 } atomic_t; typedef 93 atomic_t count;
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dump.c | 457 TEST_BTF_DUMP_DATA_C(btf, d, NULL, str, atomic_t, BTF_F_COMPACT, in test_btf_dump_typedef_data() 459 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_COMPACT | BTF_F_NONAME, in test_btf_dump_typedef_data() 461 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, 0, in test_btf_dump_typedef_data() 467 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_COMPACT, "(atomic_t){}", in test_btf_dump_typedef_data() 469 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_COMPACT | BTF_F_NONAME, in test_btf_dump_typedef_data() 471 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, 0, in test_btf_dump_typedef_data() 475 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_COMPACT | BTF_F_ZERO, in test_btf_dump_typedef_data() 478 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, in test_btf_dump_typedef_data() 481 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_ZERO, in test_btf_dump_typedef_data() 488 TEST_BTF_DUMP_DATA_OVER(btf, d, NULL, str, atomic_t, sizeof(atomic_t)-1, in test_btf_dump_typedef_data()
|
/tools/include/linux/ |
D | lockdep.h | 58 #define atomic_t unsigned long macro
|
D | types.h | 69 } atomic_t; typedef
|
D | refcount.h | 53 atomic_t refs;
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/ |
D | types.h | 100 } atomic_t; typedef
|
/tools/testing/selftests/kvm/ |
D | rseq_test.c | 46 static atomic_t seq_cnt;
|
D | dirty_log_test.c | 149 static atomic_t vcpu_sync_stop_requested;
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 36 atomic_t waiters_blocked = ATOMIC_INITIALIZER; 37 atomic_t waiters_woken = ATOMIC_INITIALIZER;
|
D | futex_requeue_pi_signal_restart.c | 36 atomic_t requeued = ATOMIC_INITIALIZER;
|
/tools/perf/bench/ |
D | synthesize.c | 50 static atomic_t event_count;
|
/tools/memory-model/Documentation/ |
D | simple.txt | 190 Documentation/atomic_t.txt
|