Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 69) sorted by relevance

123

/tools/arch/x86/include/asm/
Datomic.h26 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()
Dbarrier.h33 #define smp_store_release(p, v) \ argument
/tools/include/asm-generic/
Datomic-gcc.h23 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/
Drseq-skip.h9 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()
Drseq-x86.h47 #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 …]
Drseq-arm.h76 #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()
Drseq-s390.h25 #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()
Drseq-mips.h57 #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()
Drseq-arm64.h58 #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()
Drseq-ppc.h33 #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/lib/subcmd/
Dparse-options.h118 #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/testing/selftests/bpf/prog_tests/
Dhashmap.c57 void *oldv, *v = (void *)(long)(1024 + i); in test_hashmap_generic() local
96 long v = (long)entry->value; in test_hashmap_generic() local
109 void *oldv, *v = (void *)(long)(256 + i); in test_hashmap_generic() local
144 long v = (long)entry->value; in test_hashmap_generic() local
167 void *oldv, *v; in test_hashmap_generic() local
203 void *oldv, *v; in test_hashmap_generic() local
Dbtf_write.c12 const struct btf_enum *v; in test_btf_write() local
/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c56 #define CAST_TO_RIP(v) ((unsigned long long)&(v)) argument
57 #define SET_RIP(v) do { \ argument
62 #define MOVE_RIP(v) SET_RIP(regs.rip + (v)); argument
/tools/include/linux/
Drcu.h22 #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/
Dhtab_map_batch_ops.c17 value *v = NULL; in map_batch_update() local
44 value *v = NULL; in map_batch_verify() local
/tools/include/asm/
Dbarrier.h51 # define smp_store_release(p, v) \ argument
/tools/arch/ia64/include/asm/
Dbarrier.h46 #define smp_store_release(p, v) \ argument
/tools/arch/powerpc/include/asm/
Dbarrier.h33 #define smp_store_release(p, v) \ argument
/tools/arch/s390/include/asm/
Dbarrier.h31 #define smp_store_release(p, v) \ argument
/tools/arch/sparc/include/asm/
Dbarrier_64.h43 #define smp_store_release(p, v) \ argument
/tools/testing/radix-tree/linux/
Drcupdate.h10 #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) argument
/tools/arch/arm64/include/asm/
Dbarrier.h27 #define smp_store_release(p, v) \ argument
/tools/bpf/bpftool/
Dbtf.c121 __u32 v = *(__u32 *)(t + 1); in dump_btf_type() local
209 const struct btf_enum *v = (const void *)(t + 1); in dump_btf_type() local
288 const struct btf_var *v = (const void *)(t + 1); in dump_btf_type() local
302 const struct btf_var_secinfo *v = (const void *)(t+1); in dump_btf_type() local
/tools/perf/util/
Dparse-sublevel-options.c14 int v = 1; in parse_one_sublevel_option() local

123