Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 59) sorted by relevance

123

/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c144 .u.long_mode = 1, in main()
150 .u.shared_info.gfn = SHINFO_REGION_GPA / PAGE_SIZE, in main()
156 .u.gpa = SHINFO_REGION_GPA + 0x40, in main()
162 .u.gpa = PVTIME_ADDR, in main()
169 .u.gpa = RUNSTATE_ADDR, in main()
207 rst.u.runstate.state = uc.args[1]; in main()
212 memset(&rst.u, 0, sizeof(rst.u)); in main()
213 rst.u.runstate.state = (uint64_t)-1; in main()
214 rst.u.runstate.time_blocked = in main()
216 rst.u.runstate.time_offline = in main()
[all …]
Dxen_vmcall_test.c116 ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
117 ASSERT_EQ(run->xen.u.hcall.longmode, 1); in main()
118 ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE); in main()
119 ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
120 ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
121 ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
122 ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4)); in main()
123 ASSERT_EQ(run->xen.u.hcall.params[4], ARGVALUE(5)); in main()
124 ASSERT_EQ(run->xen.u.hcall.params[5], ARGVALUE(6)); in main()
125 run->xen.u.hcall.result = RETVALUE; in main()
/tools/testing/selftests/proc/
Dfd-001-lookup.c57 unsigned int u; in test_lookup() local
87 for (u = INT_MAX - 1024; u <= (unsigned int)INT_MAX + 1024; u++) { in test_lookup()
88 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
91 for (u = UINT_MAX - 1024; u != 0; u++) { in test_lookup()
92 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
Dfd-003-kthread.c134 unsigned int u; in test_lookup() local
145 for (u = INT_MAX - 1024; u < (unsigned int)INT_MAX + 1024; u++) { in test_lookup()
146 snprintf(buf, sizeof(buf), "%u", u); in test_lookup()
149 for (u = UINT_MAX - 1024; u != 0; u++) { in test_lookup()
150 snprintf(buf, sizeof(buf), "%u", u); in test_lookup()
/tools/usb/usbip/libsrc/
Dnames.c300 unsigned int u; in parse() local
346 u = strtoul(cp, &cp, 16); in parse()
353 if (new_class(cp, u)) in parse()
355 linectr, u, cp); in parse()
356 dbg("line %5u class %02x %s", linectr, u, cp); in parse()
358 lastclass = u; in parse()
372 u = strtoul(cp, &cp, 16); in parse()
379 if (new_vendor(cp, u)) in parse()
381 linectr, u, cp); in parse()
382 dbg("line %5u vendor %04x %s", linectr, u, cp); in parse()
[all …]
/tools/lib/perf/Documentation/examples/
Dsampling.c87 union u64_swap u; in main() local
94 u.val64 = *array; in main()
95 pid = u.val32[0]; in main()
96 tid = u.val32[1]; in main()
99 u.val64 = *array; in main()
100 cpu = u.val32[0]; in main()
/tools/testing/selftests/rcutorture/bin/
Dfunctions.sh178 elif echo $u | grep -q x86-64
181 elif echo $u | grep -q "Intel 80386"
184 elif echo $u | grep -q aarch64
192 echo file $1 output: $u
Dconfiginit.sh27 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh
28 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
29 grep '^grep' < $T/u.sh > $T/upd.sh
/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.h60 static inline void intel_pt_log_at(const char *msg, uint64_t u) in intel_pt_log_at() argument
62 intel_pt_log("%s at " x64_fmt "\n", msg, u); in intel_pt_log_at()
65 static inline void intel_pt_log_to(const char *msg, uint64_t u) in intel_pt_log_to() argument
67 intel_pt_log("%s to " x64_fmt "\n", msg, u); in intel_pt_log_to()
/tools/perf/tests/shell/
Dpipe_test.sh45 if ! perf record -e task-clock:u -o - ${file} | perf report -i - --task | grep test.file; then
50 if ! perf record -e task-clock:u -o - ${file} | perf inject -b | perf report -i - | grep noploop; t…
55 perf record -e task-clock:u -o - ${file} | perf inject -b -o ${data}
61 perf record -e task-clock:u -o ${data} ${file}
/tools/usb/
Dtestusb.c133 } u; in testdev_ffs_ifnum() local
136 if (fread(u.buf, 1, 1, fd) != 1) in testdev_ffs_ifnum()
138 if (fread(u.buf + 1, (unsigned char)u.buf[0] - 1, 1, fd) != 1) in testdev_ffs_ifnum()
141 if (u.intf.bLength == sizeof u.intf in testdev_ffs_ifnum()
142 && u.intf.bDescriptorType == USB_DT_INTERFACE in testdev_ffs_ifnum()
143 && u.intf.bNumEndpoints == 2 in testdev_ffs_ifnum()
144 && u.intf.bInterfaceClass == USB_CLASS_VENDOR_SPEC in testdev_ffs_ifnum()
145 && u.intf.bInterfaceSubClass == 0 in testdev_ffs_ifnum()
146 && u.intf.bInterfaceProtocol == 0) in testdev_ffs_ifnum()
147 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c151 md.u.index = bpf_htonl(123); in _erspan_set_tunnel()
157 md.u.md2.dir = direction; in _erspan_set_tunnel()
158 md.u.md2.hwid = hwid & 0xf; in _erspan_set_tunnel()
159 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in _erspan_set_tunnel()
198 index = bpf_ntohl(md.u.index); in _erspan_get_tunnel()
204 md.u.md2.dir, in _erspan_get_tunnel()
205 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in _erspan_get_tunnel()
206 bpf_ntohl(md.u.md2.timestamp)); in _erspan_get_tunnel()
235 md.u.index = bpf_htonl(123); in _ip4ip6erspan_set_tunnel()
242 md.u.md2.dir = direction; in _ip4ip6erspan_set_tunnel()
[all …]
Dbtf_dump_test_case_syntax.c154 union union_empty u; member
212 struct struct_in_array (*u)[2]; member
/tools/perf/scripts/perl/
Dwakeup-latency.pl71 printf("avg_wakeup_latency (ns): %u\n",
76 printf("min_wakeup_latency (ns): %u\n", $min_wakeup_latency);
77 printf("max_wakeup_latency (ns): %u\n", $max_wakeup_latency);
Dcheck-perf-trace.pl55 printf("call_site=%p, ptr=%p, bytes_req=%u, bytes_alloc=%u, ".
/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c184 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
328 iocb_in->u.c.flags |= IOCB_FLAG_RESFD; in main()
329 iocb_in->u.c.resfd = evfd; in main()
342 iocb_out->u.c.flags |= IOCB_FLAG_RESFD; in main()
343 iocb_out->u.c.resfd = evfd; in main()
/tools/perf/util/
Devsel.c2143 union u64_swap u; in perf_evsel__parse_id_sample() local
2154 u.val64 = *array; in perf_evsel__parse_id_sample()
2157 u.val64 = bswap_64(u.val64); in perf_evsel__parse_id_sample()
2158 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2161 sample->cpu = u.val32[0]; in perf_evsel__parse_id_sample()
2181 u.val64 = *array; in perf_evsel__parse_id_sample()
2184 u.val64 = bswap_64(u.val64); in perf_evsel__parse_id_sample()
2185 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2186 u.val32[1] = bswap_32(u.val32[1]); in perf_evsel__parse_id_sample()
2189 sample->pid = u.val32[0]; in perf_evsel__parse_id_sample()
[all …]
/tools/perf/tests/attr/
Dtest-record-branch-filter-u3 args = --no-bpf-event -j u kill >/dev/null 2>&1
/tools/lib/perf/Documentation/
Dlibperf-sampling.txt194 87 union u64_swap u;
201 94 u.val64 = *array;
202 95 pid = u.val32[0];
203 96 tid = u.val32[1];
206 99 u.val64 = *array;
207 100 cpu = u.val32[0];
/tools/include/uapi/linux/
Derspan.h49 } u; member
/tools/vm/
Dslabinfo-gnuplot.sh94 plot "$file" $range u 2$xtic title 'SIZE' with boxes,\
95 '' $range u 3 title 'LOSS' with boxes
/tools/testing/selftests/sigaltstack/
Dsas.c43 void my_usr1(int sig, siginfo_t *si, void *u) in my_usr1() argument
80 void my_usr2(int sig, siginfo_t *si, void *u) in my_usr2() argument
/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c189 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
336 iobuf[i].iocb[j]->u.c.flags |= IOCB_FLAG_RESFD; in main()
337 iobuf[i].iocb[j]->u.c.resfd = evfd; in main()
/tools/testing/selftests/net/
Dipsec.c849 } u; in xfrm_state_pack_algo() member
867 strncpy(alg.u.alg.alg_name, desc->a_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
868 if (xfrm_fill_key(desc->a_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo()
869 sizeof(alg.buf), &alg.u.alg.alg_key_len)) in xfrm_state_pack_algo()
878 strncpy(alg.u.alg.alg_name, desc->c_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
879 if (xfrm_fill_key(desc->c_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo()
880 sizeof(alg.buf), &alg.u.alg.alg_key_len)) in xfrm_state_pack_algo()
890 alg.u.aead.alg_icv_len = desc->icv_len; in xfrm_state_pack_algo()
891 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
892 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo()
[all …]
/tools/power/cpupower/po/
Dde.po158 msgid "Monitor \"%s\" (%d states) - Might overflow after %u s\n"
159 msgstr "Wächter \"%s\" (%d Zustände) - Könnte nach %u s überlaufen\n"
574 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
577 " -u FREQ, --max FREQ neue maximale Taktfrequenz, die der Regler\n"
667 "the -f/--freq parameter cannot be combined with -d/--min, -u/--max or\n"
671 "-u/--max\n"
677 "At least one parameter out of -f/--freq, -d/--min, -u/--max, and\n"
680 "Mindestens ein Parameter aus -f/--freq, -d/--min, -u/--max und\n"
822 msgid "CPU %u: No idle states\n"
823 msgstr "CPU %u: Keine Ruhezustände\n"
[all …]

123