Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/kvm/x86/
A Dxen_shinfo_test.c414 .u.shared_info.hva = 0 in juggle_shinfo_state()
480 .u.long_mode = 1, in main()
527 .u.gpa = PVTIME_ADDR, in main()
581 .u.timer.expires_ns = 0 in main()
589 .u.evtchn.flags = 0, in main()
604 inj.u.evtchn.flags = 0; in main()
660 memset(&rst.u, 0, sizeof(rst.u)); in main()
666 rst.u.runstate.time_runnable = -rst.u.runstate.time_blocked - in main()
675 memset(&rst.u, 0, sizeof(rst.u)); in main()
1076 lm.u.long_mode = 0; in main()
[all …]
A Dxen_vmcall_test.c113 TEST_ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
114 TEST_ASSERT_EQ(run->xen.u.hcall.longmode, 1); in main()
115 TEST_ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE); in main()
116 TEST_ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
117 TEST_ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
118 TEST_ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
119 TEST_ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4)); in main()
120 TEST_ASSERT_EQ(run->xen.u.hcall.params[4], ARGVALUE(5)); in main()
121 TEST_ASSERT_EQ(run->xen.u.hcall.params[5], ARGVALUE(6)); in main()
122 run->xen.u.hcall.result = RETVALUE; in main()
/tools/perf/tests/shell/
A Dpipe_test.sh42 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task}
49 if ! perf record -g -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task}
56 perf record -g -e task-clock:u -o - ${prog} > ${data}
73 …if ! perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt}| perf report -i - | grep…
80 …if ! perf record -g -e task-clock:u -o - ${prog} | perf inject ${inject_opt} | perf report -i - | …
87 perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt} -o ${data}
94 perf record -e task-clock:u -o ${data} ${prog}
101 perf record -e task-clock:u -o - ${prog} > ${data}
108 perf record -e task-clock:u -o - ${prog} > ${data}
A Dtest_intel_pt.sh160 u = s"[0-9]+"s
163 mmapping = "idx"u": mmapping fd"u
164 set_output = "idx"u": set output fd"u"->"u
165 perf_event_open = "sys_perf_event_open: pid"d"cpu"d"group_fd"d"flags"x"="u
418 perf_record_no_bpf -o "${tmpfile}" -e intel_pt//u "${jitdump_workload}"
465 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/branch=0/u uname
488 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/cyc/u uname
496 perf_record_no_decode -o "${perfdatafile}" -e intel_pt//u uname
608 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/notnt/u uname
660 -e intel_pt/aux-action=start-paused/u \
[all …]
A Damd-ibs-swfilt.sh21 perf record -B -e ibs_op//u -o /dev/null true 2> /dev/null
28 perf record -B -e ibs_op/swfilt/u -o /dev/null true
42 perf record -B -e ibs_fetch/swfilt/u -o /dev/null true
57 kernel_sample=$(perf record -e ibs_op/swfilt/u -o- true | perf script -i- -F misc | grep -c ^K)
A Dtest_brstack.sh13 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then
40 …perf record -o "$TMPDIR/perf.data" --branch-filter any,save_type,u -- ${TESTPROG} > "$TMPDIR/recor…
/tools/testing/selftests/proc/
A 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()
A 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/testing/selftests/rcutorture/bin/
A Dfunctions.sh181 elif echo $u | grep -q x86-64
184 elif echo $u | grep -q "Intel 80386"
187 elif echo $u | grep -q aarch64
190 elif echo $u | grep -q 'IBM S/390'
198 echo file $1 output: $u
A Dconfiginit.sh26 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh
27 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
28 grep '^grep' < $T/u.sh > $T/upd.sh
/tools/usb/usbip/libsrc/
A Dnames.c300 unsigned int u; in parse() local
353 if (new_class(cp, u)) in parse()
355 linectr, u, cp); in parse()
358 lastclass = u; in parse()
379 if (new_vendor(cp, u)) in parse()
381 linectr, u, cp); in parse()
383 lastvendor = u; in parse()
410 lastclass, u, cp); in parse()
411 lastsubclass = u; in parse()
438 u)) in parse()
[all …]
/tools/testing/selftests/hid/
A Dhid_common.h147 ev.u.create.rd_data = rdesc; in uhid_create()
148 ev.u.create.rd_size = rdesc_size; in uhid_create()
149 ev.u.create.bus = bus; in uhid_create()
150 ev.u.create.vendor = vid; in uhid_create()
151 ev.u.create.product = pid; in uhid_create()
152 ev.u.create.version = 0; in uhid_create()
153 ev.u.create.country = 0; in uhid_create()
214 ev.u.output.data, in uhid_event()
223 answer.u.get_report_reply.id = ev.u.get_report.id; in uhid_event()
224 answer.u.get_report_reply.err = ev.u.get_report.rnum == 1 ? 0 : -EIO; in uhid_event()
[all …]
/tools/lib/perf/Documentation/examples/
A 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/perf/util/intel-pt-decoder/
A Dintel-pt-log.h61 static inline void intel_pt_log_at(const char *msg, uint64_t u) in intel_pt_log_at() argument
63 intel_pt_log("%s at " x64_fmt "\n", msg, u); in intel_pt_log_at()
66 static inline void intel_pt_log_to(const char *msg, uint64_t u) in intel_pt_log_to() argument
68 intel_pt_log("%s to " x64_fmt "\n", msg, u); in intel_pt_log_to()
/tools/usb/
A Dtestusb.c139 } u; in testdev_ffs_ifnum() local
142 if (fread(u.buf, 1, 1, fd) != 1) in testdev_ffs_ifnum()
144 if (fread(u.buf + 1, (unsigned char)u.buf[0] - 1, 1, fd) != 1) in testdev_ffs_ifnum()
147 if (u.intf.bLength == sizeof u.intf in testdev_ffs_ifnum()
148 && u.intf.bDescriptorType == USB_DT_INTERFACE in testdev_ffs_ifnum()
149 && u.intf.bNumEndpoints == 2 in testdev_ffs_ifnum()
150 && u.intf.bInterfaceClass == USB_CLASS_VENDOR_SPEC in testdev_ffs_ifnum()
151 && u.intf.bInterfaceSubClass == 0 in testdev_ffs_ifnum()
152 && u.intf.bInterfaceProtocol == 0) in testdev_ffs_ifnum()
153 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
/tools/testing/selftests/net/
A Dfq_band_pktlimit.sh34 ./cmsg_sender -6 -p u -d "${DELAY}" -n 20 fdaa::2 8000
37 ./cmsg_sender -6 -p u -d "${DELAY}" -n 20 fdaa::2 8000
40 ./cmsg_sender -6 -p u -d "${DELAY}" -n 20 -P 7 fdaa::2 8000
A Dcmsg_ip.sh53 for p in u U i r; do
85 for p in u U i r; do
139 for p in u U i r; do
172 for p in u U i r; do
/tools/testing/selftests/bpf/progs/
A Dset_global_vars.c50 } u; member
96 a = struct1[2].struct2[1][2].u.var_u8[2]; in test_set_globals()
102 a = struct1[2].struct2[1][2].u.mat[5][3]; in test_set_globals()
103 a = struct11[7][5].struct2[0][1].u.mat[3][0]; in test_set_globals()
A Dtest_tunnel_kern.c182 md.u.index = bpf_htonl(123); in erspan_set_tunnel()
188 BPF_CORE_WRITE_BITFIELD(&md.u.md2, dir, direction); in erspan_set_tunnel()
225 index = bpf_ntohl(md.u.index); in erspan_get_tunnel()
229 BPF_CORE_READ_BITFIELD(&md.u.md2, dir), in erspan_get_tunnel()
231 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in erspan_get_tunnel()
232 bpf_ntohl(md.u.md2.timestamp)); in erspan_get_tunnel()
261 md.u.index = bpf_htonl(123); in ip4ip6erspan_set_tunnel()
306 index = bpf_ntohl(md.u.index); in ip4ip6erspan_get_tunnel()
310 BPF_CORE_READ_BITFIELD(&md.u.md2, dir), in ip4ip6erspan_get_tunnel()
312 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in ip4ip6erspan_get_tunnel()
[all …]
/tools/net/sunrpc/xdrgen/templates/C/union/encoder/
A Dbasic.j26 if (!xdrgen_encode_{{ type }}(xdr, &ptr->u.{{ name }}))
8 if (!xdrgen_encode_{{ type }}(xdr, ptr->u.{{ name }}))
/tools/perf/scripts/perl/
A 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);
A Dcheck-perf-trace.pl55 printf("call_site=%p, ptr=%p, bytes_req=%u, bytes_alloc=%u, ".
/tools/testing/selftests/net/netfilter/
A Daudit_logread.c25 } u; member
53 .nlmsg_len = NLMSG_SPACE(sizeof(msg.u.s)), in audit_send()
58 .u.s = { in audit_send()
108 strtok(rep.u.data, " "); in readlog()
/tools/include/linux/
A Dbitfield.h166 ____MAKE_OP(le##size,u##size,cpu_to_le##size,le##size##_to_cpu) \
167 ____MAKE_OP(be##size,u##size,cpu_to_be##size,be##size##_to_cpu) \
168 ____MAKE_OP(u##size,u##size,,)
/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c202 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
346 iocb_in->u.c.flags |= IOCB_FLAG_RESFD; in main()
347 iocb_in->u.c.resfd = evfd; in main()
360 iocb_out->u.c.flags |= IOCB_FLAG_RESFD; in main()
361 iocb_out->u.c.resfd = evfd; in main()

Completed in 28 milliseconds

1234