Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 70) sorted by relevance

123

/tools/lib/subcmd/
Dparse-options.h114 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + argument
119 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument
120 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument
121 …ine OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = … argument
122 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument
124 .value = check_vtype(v, bool *), .help = (h), \
126 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument
127 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument
128 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument
129 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument
[all …]
/tools/include/asm-generic/
Datomic-gcc.h22 static inline int atomic_read(const atomic_t *v) in atomic_read() argument
24 return ACCESS_ONCE((v)->counter); in atomic_read()
34 static inline void atomic_set(atomic_t *v, int i) in atomic_set() argument
36 v->counter = i; in atomic_set()
45 static inline void atomic_inc(atomic_t *v) in atomic_inc() argument
47 __sync_add_and_fetch(&v->counter, 1); in atomic_inc()
58 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() argument
60 return __sync_sub_and_fetch(&v->counter, 1) == 0; in atomic_dec_and_test()
/tools/arch/x86/include/asm/
Datomic.h23 static inline int atomic_read(const atomic_t *v) in atomic_read() argument
25 return ACCESS_ONCE((v)->counter); in atomic_read()
35 static inline void atomic_set(atomic_t *v, int i) in atomic_set() argument
37 v->counter = i; in atomic_set()
46 static inline void atomic_inc(atomic_t *v) in atomic_inc() argument
49 : "+m" (v->counter)); in atomic_inc()
60 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() argument
62 GEN_UNARY_RMWcc(LOCK_PREFIX "decl", v->counter, "%0", "e"); in atomic_dec_and_test()
/tools/usb/usbip/libsrc/
Dnames.c103 struct vendor *v; in names_vendor() local
105 v = vendors[hashnum(vendorid)]; in names_vendor()
106 for (; v; v = v->next) in names_vendor()
107 if (v->vendorid == vendorid) in names_vendor()
108 return v->name; in names_vendor()
208 struct vendor *v; in new_vendor() local
211 v = vendors[h]; in new_vendor()
212 for (; v; v = v->next) in new_vendor()
213 if (v->vendorid == vendorid) in new_vendor()
215 v = my_malloc(sizeof(struct vendor) + strlen(name)); in new_vendor()
[all …]
/tools/testing/selftests/zram/
Dzram01.sh70 local v=$((100 * $total_size / $used_mem))
72 if [ "$v" -lt 100 ]; then
73 echo "FAIL compression ratio: 0.$v:1"
79 echo "zram compression ratio: $(echo "scale=2; $v / 100 " | bc):1: OK"
/tools/perf/util/
Ddebug.c179 int v = 1; in perf_debug_option() local
198 v = atoi(vstr); in perf_debug_option()
203 v = (v < 0) || (v > 10) ? 0 : v; in perf_debug_option()
206 *var->ptr = v; in perf_debug_option()
Dalias.c8 static int alias_lookup_cb(const char *k, const char *v, in alias_lookup_cb() argument
12 if (!v) in alias_lookup_cb()
14 alias_val = strdup(v); in alias_lookup_cb()
DPERF-VERSION-GEN37 VN=$(expr "$VN" : v*'\(.*\)')
/tools/lib/traceevent/
Dplugin_mac80211.c44 unsigned long long v; in print_string() local
45 if (pevent_read_number_field(f, data, &v)) { in print_string()
49 offset = v & 0xffff; in print_string()
50 length = v >> 16; in print_string()
/tools/lib/lockdep/uinclude/linux/
Dcompiler.h8 #define RCU_INIT_POINTER(p, v) p=(v) argument
/tools/virtio/ringtest/
Dmain.c35 unsigned long long v = 1; in notify() local
39 r = write(fd, &v, sizeof v); in notify()
40 assert(r == sizeof v); in notify()
46 unsigned long long v = 1; in wait_for_notify() local
50 r = read(fd, &v, sizeof v); in wait_for_notify()
51 assert(r == sizeof v); in wait_for_notify()
/tools/perf/util/intel-pt-decoder/
Dx86-opcode-map.txt16 # mnemonics that begin with lowercase 'v' accept a VEX or EVEX prefix
27 # (v): this opcode requires VEX prefix.
464 # Note: Remove (v), because vzeroall and vzeroupper becomes emms without VEX.
629 0c: vpermilps Vx,Hx,Wx (66),(v)
630 0d: vpermilpd Vx,Hx,Wx (66),(v)
631 0e: vtestps Vx,Wx (66),(v)
632 0f: vtestpd Vx,Wx (66),(v)
637 13: vcvtph2ps Vx,Wx (66),(v) | vpmovusdw Wx,Vd (F3),(ev)
640 16: vpermps Vqq,Hqq,Wqq (66),(v) | vpermps/d Vqq,Hqq,Wqq (66),(evo)
642 18: vbroadcastss Vx,Wd (66),(v)
[all …]
/tools/objtool/arch/x86/insn/
Dx86-opcode-map.txt16 # mnemonics that begin with lowercase 'v' accept a VEX or EVEX prefix
27 # (v): this opcode requires VEX prefix.
464 # Note: Remove (v), because vzeroall and vzeroupper becomes emms without VEX.
629 0c: vpermilps Vx,Hx,Wx (66),(v)
630 0d: vpermilpd Vx,Hx,Wx (66),(v)
631 0e: vtestps Vx,Wx (66),(v)
632 0f: vtestpd Vx,Wx (66),(v)
637 13: vcvtph2ps Vx,Wx (66),(v) | vpmovusdw Wx,Vd (F3),(ev)
640 16: vpermps Vqq,Hqq,Wqq (66),(v) | vpermps/d Vqq,Hqq,Wqq (66),(evo)
642 18: vbroadcastss Vx,Wd (66),(v)
[all …]
/tools/testing/selftests/watchdog/
Dwatchdog-test.c17 const char v = 'V'; variable
39 int ret = write(fd, &v, 1); in term()
100 ret = write(fd, &v, 1); in main()
/tools/power/cpupower/utils/
Dversion-gen.sh17 v[0-9]*)
33 VN=$(expr "$VN" : v*'\(.*\)')
/tools/testing/selftests/powerpc/
Dreg.h15 #define mtspr(rn, v) asm volatile("mtspr " _str(rn) ",%0" : \ argument
16 : "r" ((unsigned long)(v)) \
/tools/perf/scripts/python/
Dsyscall-counts.py62 for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \
Dsyscall-counts-by-pid.py73 key = lambda(k, v): (v, k), reverse = True):
Dsctop.py73 for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \
Dfailed-syscalls-by-pid.py77 …for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse =…
Devent_analyzing_sample.py189 print ' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())])
/tools/perf/tests/
Dattr.c143 char v[] = "-vvvvv"; in run_dir() local
144 int vcnt = min(verbose, (int) sizeof(v) - 1); in run_dir()
151 d, d, perf, vcnt, v); in run_dir()
/tools/perf/Documentation/
Dperf-buildid-cache.txt32 not the user's. Use the -v option to see where the file is created.
38 the same addresses. Use the -v option to see if a copy of kcore is
60 -v::
/tools/virtio/
Dvirtio_test.c48 unsigned long long v = 1; in vq_notify() local
50 r = write(info->kick, &v, sizeof v); in vq_notify()
51 assert(r == sizeof v); in vq_notify()
/tools/testing/selftests/ftrace/test.d/
Dfunctions19 grep -v ^# events/*/*/trigger |

123