Home
last modified time | relevance | path

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

123

/tools/testing/selftests/proc/
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()
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()
/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/testing/selftests/rcutorture/bin/
Dfunctions.sh145 elif echo $u | grep -q x86-64
148 elif echo $u | grep -q "Intel 80386"
151 elif echo $u | grep -q aarch64
159 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/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/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/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 …]
/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.c2007 union u64_swap u; in perf_evsel__parse_id_sample() local
2018 u.val64 = *array; in perf_evsel__parse_id_sample()
2021 u.val64 = bswap_64(u.val64); in perf_evsel__parse_id_sample()
2022 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2025 sample->cpu = u.val32[0]; in perf_evsel__parse_id_sample()
2045 u.val64 = *array; in perf_evsel__parse_id_sample()
2048 u.val64 = bswap_64(u.val64); in perf_evsel__parse_id_sample()
2049 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2050 u.val32[1] = bswap_32(u.val32[1]); in perf_evsel__parse_id_sample()
2053 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/testing/selftests/rcutorture/configs/rcu/
DCFLIST11 SRCU-u
/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/testing/selftests/sigaltstack/
Dsas.c37 void my_usr1(int sig, siginfo_t *si, void *u) in my_usr1() argument
74 void my_usr2(int sig, siginfo_t *si, void *u) in my_usr2() argument
/tools/vm/
Dslabinfo-gnuplot.sh94 plot "$file" $range u 2$xtic title 'SIZE' with boxes,\
95 '' $range u 3 title 'LOSS' with boxes
/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.c846 } u; in xfrm_state_pack_algo() member
864 strncpy(alg.u.alg.alg_name, desc->a_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
865 if (xfrm_fill_key(desc->a_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo()
866 sizeof(alg.buf), &alg.u.alg.alg_key_len)) in xfrm_state_pack_algo()
875 strncpy(alg.u.alg.alg_name, desc->c_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
876 if (xfrm_fill_key(desc->c_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo()
877 sizeof(alg.buf), &alg.u.alg.alg_key_len)) in xfrm_state_pack_algo()
887 alg.u.aead.alg_icv_len = desc->icv_len; in xfrm_state_pack_algo()
888 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
889 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo()
[all …]
/tools/perf/Documentation/
Dperf-intel-pt.txt63 perf record -e intel_pt//u ls
103 perf record -e intel_pt//u ls
247 u userspace
255 'p' is also not relevant to Intel PT. So only options 'u' and 'k' are
332 $ perf record -e intel_pt/psb_period=15/u uname
384 $ perf record -e intel_pt/mtc_period=15/u uname
430 $ perf record -e intel_pt/cyc,cyc_thresh=15/u uname
485 -e intel_pt//u
491 perf record --aux-sample -e '{intel_pt//u,branch-misses:u}'
496 perf record -e intel_pt//u -e branch-misses/aux-sample-size=8192/u
[all …]
Dperf-stat.txt82 inst_retired:any_p:u:c=1:i'. More than one event can be passed to the
216 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
217 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
443 83723.452481 task-clock:u (msec) # 1.004 CPUs utilized
444 0 context-switches:u # 0.000 K/sec
445 0 cpu-migrations:u # 0.000 K/sec
446 3,228,188 page-faults:u # 0.039 M/sec
447 229,570,665,834 cycles:u # 2.742 GHz
448 313,163,853,778 instructions:u # 1.36 insn per cycle
449 69,704,684,856 branches:u # 832.559 M/sec
[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 …]
/tools/perf/tests/shell/
Dtest_arm_coresight.sh35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \

123