/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/rseq/ |
D | rseq-skip.h | 9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 15 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 22 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 28 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 36 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 44 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 52 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 60 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-x86.h | 47 #define rseq_smp_store_release(p, v) \ argument 116 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 181 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 250 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 355 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 426 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 434 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 510 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 624 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release() 654 #define rseq_smp_store_release(p, v) \ argument [all …]
|
D | rseq-arm.h | 76 #define rseq_smp_store_release(p, v) \ argument 151 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 291 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 344 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 420 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 497 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 581 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 704 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-s390.h | 25 #define rseq_smp_store_release(p, v) \ argument 138 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 205 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 276 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 328 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 401 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 409 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 487 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 603 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-arm64.h | 58 #define rseq_smp_store_release(p, v) \ argument 208 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 265 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 327 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 374 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 437 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 500 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 568 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 632 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-mips.h | 57 #define rseq_smp_store_release(p, v) \ argument 158 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 284 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 334 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 403 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 473 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 547 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 662 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
D | rseq-ppc.h | 33 #define rseq_smp_store_release(p, v) \ argument 213 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 277 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 350 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 405 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 478 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 553 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() 632 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() 711 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release()
|
/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 63 struct vm_gic v; in vm_gic_create() local 71 static void vm_gic_destroy(struct vm_gic *v) in vm_gic_destroy() 83 static void subtest_dist_rdist(struct vm_gic *v) in subtest_dist_rdist() 148 static void subtest_redist_regions(struct vm_gic *v) in subtest_redist_regions() 254 struct vm_gic v; in test_vgic_then_vcpus() local 275 struct vm_gic v; in test_vcpus_then_vgic() local 291 struct vm_gic v; in test_new_redist_regions() local 343 struct vm_gic v; in test_typer_accesses() local 423 struct vm_gic v; in test_last_bit_redist_regions() local 472 struct vm_gic v; in test_last_bit_single_rdist() local [all …]
|
/tools/lib/subcmd/ |
D | parse-options.h | 118 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + … argument 124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument 125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument 126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… argument 127 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument 131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument 132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument 133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument 134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument 135 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… argument [all …]
|
/tools/perf/util/arm-spe-decoder/ |
D | arm-spe-pkt-decoder.h | 71 #define SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(v) ((v) & GENMASK_ULL(55, 0)) argument 72 #define SPE_ADDR_PKT_ADDR_GET_BYTE_6(v) (((v) & GENMASK_ULL(55, 48)) >> 48) argument 74 #define SPE_ADDR_PKT_GET_NS(v) (((v) & BIT_ULL(63)) >> 63) argument 75 #define SPE_ADDR_PKT_GET_EL(v) (((v) & GENMASK_ULL(62, 61)) >> 61) argument 76 #define SPE_ADDR_PKT_GET_CH(v) (((v) & BIT_ULL(62)) >> 62) argument 77 #define SPE_ADDR_PKT_GET_PAT(v) (((v) & GENMASK_ULL(59, 56)) >> 56) argument 116 #define SPE_OP_PKT_IS_OTHER_SVE_OP(v) (((v) & (BIT(7) | BIT(3) | BIT(0))) == 0x8) argument 120 #define SPE_OP_PKT_LDST_SUBCLASS_GET(v) ((v) & GENMASK_ULL(7, 1)) argument 126 #define SPE_OP_PKT_IS_LDST_ATOMIC(v) (((v) & (GENMASK_ULL(7, 5) | BIT(1))) == 0x2) argument 133 #define SPE_OP_PKT_IS_LDST_SVE(v) (((v) & (BIT(3) | BIT(1))) == 0x8) argument [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | hashmap.c | 56 void *oldv, *v = (void *)(long)(1024 + i); in test_hashmap_generic() local 95 long v = (long)entry->value; in test_hashmap_generic() local 108 void *oldv, *v = (void *)(long)(256 + i); in test_hashmap_generic() local 143 long v = (long)entry->value; in test_hashmap_generic() local 166 void *oldv, *v; in test_hashmap_generic() local 202 void *oldv, *v; in test_hashmap_generic() local
|
D | btf_write.c | 11 const struct btf_enum *v; in test_btf_write() local
|
/tools/testing/selftests/bpf/progs/ |
D | test_global_func15.c | 6 __noinline int foo(unsigned int *v) in foo() 17 unsigned int v = 1; in test_cls() local
|
D | test_global_func_args.c | 8 int v; member 63 const int v = foo(index++, 0); in test_cls() local 82 struct S v, *p = &v; in test_cls() local
|
/tools/testing/selftests/kvm/x86_64/ |
D | debug_regs.c | 71 #define CAST_TO_RIP(v) ((unsigned long long)&(v)) argument 72 #define SET_RIP(v) do { \ argument 77 #define MOVE_RIP(v) SET_RIP(regs.rip + (v)); argument
|
/tools/include/linux/ |
D | rcu.h | 22 #define rcu_assign_pointer(p, v) do { (p) = (v); } while (0) argument 23 #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) argument
|
/tools/testing/selftests/bpf/map_tests/ |
D | htab_map_batch_ops.c | 17 value *v = NULL; in map_batch_update() local 44 value *v = NULL; in map_batch_verify() local
|
/tools/include/asm/ |
D | barrier.h | 51 # define smp_store_release(p, v) \ argument
|
/tools/arch/ia64/include/asm/ |
D | barrier.h | 46 #define smp_store_release(p, v) \ argument
|
/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 138 const struct btf_enum *v = btf_enum(t); in fprintf_btf_type_raw() local 168 const struct btf_var_secinfo *v = btf_var_secinfos(t); in fprintf_btf_type_raw() local
|
/tools/arch/powerpc/include/asm/ |
D | barrier.h | 33 #define smp_store_release(p, v) \ argument
|
/tools/arch/sparc/include/asm/ |
D | barrier_64.h | 43 #define smp_store_release(p, v) \ argument
|
/tools/arch/s390/include/asm/ |
D | barrier.h | 31 #define smp_store_release(p, v) \ argument
|