Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 96) sorted by relevance

1234

/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c15 struct seq_file *seq = ctx->meta->seq; in dump_ipv6_route() local
33 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); in dump_ipv6_route()
36 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_src.addr, in dump_ipv6_route()
39 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 00 "); in dump_ipv6_route()
43 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
45 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 "); in dump_ipv6_route()
50 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x %8s\n", rt->fib6_metric, in dump_ipv6_route()
53 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x\n", rt->fib6_metric, in dump_ipv6_route()
Dbpf_iter_task.c12 struct seq_file *seq = ctx->meta->seq; in dump_task() local
17 BPF_SEQ_PRINTF(seq, "%s\n", info); in dump_task()
22 BPF_SEQ_PRINTF(seq, " tgid gid\n"); in dump_task()
24 BPF_SEQ_PRINTF(seq, "%8d %8d\n", task->tgid, task->pid); in dump_task()
Dbpf_iter_bpf_map.c12 struct seq_file *seq = ctx->meta->seq; in dump_bpf_map() local
17 BPF_SEQ_PRINTF(seq, " %%%%%% END %%%%%%\n"); in dump_bpf_map()
22 BPF_SEQ_PRINTF(seq, " id refcnt usercnt locked_vm\n"); in dump_bpf_map()
24 BPF_SEQ_PRINTF(seq, "%8u %8ld %8ld %10lu\n", map->id, map->refcnt.counter, in dump_bpf_map()
Dbpf_iter_tcp4.c75 static int dump_tcp_sock(struct seq_file *seq, struct tcp_sock *tp, in dump_tcp_sock() argument
124 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_tcp_sock()
126 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d ", in dump_tcp_sock()
135 BPF_SEQ_PRINTF(seq, "%pK %lu %lu %u %u %d\n", in dump_tcp_sock()
148 static int dump_tw_sock(struct seq_file *seq, struct tcp_timewait_sock *ttw, in dump_tw_sock() argument
162 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_tw_sock()
165 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_tw_sock()
173 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
185 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_req_sock()
189 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_req_sock()
[all …]
Dbpf_iter_task_stack.c16 struct seq_file *seq = ctx->meta->seq; in dump_task_stack() local
28 BPF_SEQ_PRINTF(seq, "pid: %8u num_entries: %8u\n", task->pid, in dump_task_stack()
32 BPF_SEQ_PRINTF(seq, "[<0>] %pB\n", (void *)entries[i]); in dump_task_stack()
34 BPF_SEQ_PRINTF(seq, "\n"); in dump_task_stack()
Dbpf_iter_netlink.c18 struct seq_file *seq = ctx->meta->seq; in dump_netlink() local
29 BPF_SEQ_PRINTF(seq, "sk Eth Pid Groups " in dump_netlink()
34 BPF_SEQ_PRINTF(seq, "%pK %-3d ", s, s->sk_protocol); in dump_netlink()
44 BPF_SEQ_PRINTF(seq, "%-10u %08x %-8d %-8d %-5d %-8d ", in dump_netlink()
61 BPF_SEQ_PRINTF(seq, "%-8u %-8lu\n", s->sk_drops.counter, ino); in dump_netlink()
Dbpf_iter_tcp6.c75 static int dump_tcp6_sock(struct seq_file *seq, struct tcp6_sock *tp, in dump_tcp6_sock() argument
124 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_tcp6_sock()
130 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d ", in dump_tcp6_sock()
139 BPF_SEQ_PRINTF(seq, "%pK %lu %lu %u %u %d\n", in dump_tcp6_sock()
153 static int dump_tw_sock(struct seq_file *seq, struct tcp_timewait_sock *ttw, in dump_tw_sock() argument
167 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_tw_sock()
174 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_tw_sock()
182 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
197 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_req_sock()
205 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_req_sock()
[all …]
Dbpf_iter_task_btf.c19 struct seq_file *seq = ctx->meta->seq; in dump_task_struct() local
29 BPF_SEQ_PRINTF(seq, "Raw BTF task\n"); in dump_task_struct()
31 ret = bpf_seq_printf_btf(seq, &ptr, sizeof(ptr), 0); in dump_task_struct()
Dtest_ringbuf.c11 int seq; member
37 long seq = 0; variable
59 sample->seq = seq++; in test_ringbuf()
62 if (sample->seq & 1) { in test_ringbuf()
Dbpf_iter_task_file.c15 struct seq_file *seq = ctx->meta->seq; in dump_task_file() local
25 BPF_SEQ_PRINTF(seq, " tgid gid fd file\n"); in dump_task_file()
31 BPF_SEQ_PRINTF(seq, "%8d %8d %8d %lx\n", task->tgid, task->pid, fd, in dump_task_file()
Dbpf_iter_test_kern_common.h12 struct seq_file *seq = ctx->meta->seq; in dump_task() local
17 bpf_seq_write(seq, &c, sizeof(c)); in dump_task()
Dbpf_iter_test_kern3.c11 struct seq_file *seq = ctx->meta->seq; in dump_task() local
16 bpf_seq_write(seq, &tgid, sizeof(tgid)); in dump_task()
Dbpf_iter_udp4.c28 struct seq_file *seq = ctx->meta->seq; in dump_udp4() local
41 BPF_SEQ_PRINTF(seq, in dump_udp4()
58 BPF_SEQ_PRINTF(seq, "%5d: %08X:%04X %08X:%04X ", in dump_udp4()
61 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %u\n", in dump_udp4()
Dbpf_iter_bpf_hash_map.c46 struct seq_file *seq = ctx->meta->seq; in dump_bpf_hash_map() local
104 BPF_SEQ_PRINTF(seq, "map dump starts\n"); in dump_bpf_hash_map()
107 BPF_SEQ_PRINTF(seq, "map dump ends\n"); in dump_bpf_hash_map()
111 BPF_SEQ_PRINTF(seq, "%d: (%x %d %x) (%llx)\n", map->id, in dump_bpf_hash_map()
Dbpf_iter_udp6.c35 struct seq_file *seq = ctx->meta->seq; in dump_udp6() local
49 BPF_SEQ_PRINTF(seq, IPV6_SEQ_DGRAM_HEADER); in dump_udp6()
62 BPF_SEQ_PRINTF(seq, "%5d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_udp6()
69 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %u\n", in dump_udp6()
/tools/testing/selftests/firmware/
Dfw_filesystem.sh217 for i in $(seq 0 3); do
246 for i in $(seq 0 3); do
261 for i in $(seq 0 3); do
445 for i in $(seq 1 5); do
449 for i in $(seq 1 5); do
453 for i in $(seq 1 5); do
457 for i in $(seq 1 5); do
461 for i in $(seq 1 5); do
475 for i in $(seq 1 5); do
479 for i in $(seq 1 5); do
[all …]
/tools/perf/
Dbuiltin-lock.c366 struct lock_seq_stat *seq; in get_seq() local
368 list_for_each_entry(seq, &ts->seq_list, list) { in get_seq()
369 if (seq->addr == addr) in get_seq()
370 return seq; in get_seq()
373 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq()
374 if (!seq) { in get_seq()
378 seq->state = SEQ_STATE_UNINITIALIZED; in get_seq()
379 seq->addr = addr; in get_seq()
381 list_add(&seq->list, &ts->seq_list); in get_seq()
382 return seq; in get_seq()
[all …]
/tools/testing/selftests/cpufreq/
Dspecial-tests.sh50 for i in `seq 0 100`; do
66 for I in `seq 1000`
78 for I in `seq 8`
93 for i in `seq 1 5000`
101 for j in `seq 1 5000`
/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist-mod.tc15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
25 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
36 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
46 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
Dtrigger-hist.tc15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
45 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh94 }' > $T.seq
98 if test -s $T.seq
100 print_warning $title `cat $T.seq`
107 print_warning HOTPLUG FAILURES $title `cat $T.seq`
112 if test -s $T.seq
114 print_warning $title `cat $T.seq`
/tools/testing/selftests/zram/
Dzram_lib.sh51 for i in $(seq $dev_start $dev_makeswap); do
55 for i in $(seq $dev_start $dev_mounted); do
59 for i in $(seq $dev_start $dev_end); do
65 for i in $(seq $dev_start $dev_end); do
87 for i in $(seq $dev_start $dev_end); do
204 for i in $(seq $dev_start $dev_end); do
227 for i in $(seq $dev_start $dev_end); do
260 for i in $(seq $dev_start $dev_end); do
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c168 static void trace_print_header(int seq, int prefix) in trace_print_header() argument
170 printf("%*s[%d]: ", prefix, "", seq); in trace_print_header()
235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) in trace_print_entry() argument
239 trace_print_header(seq, *prefix); in trace_print_entry()
243 trace_print_header(seq, *prefix); in trace_print_entry()
247 trace_print_header(seq, *prefix); in trace_print_entry()
251 trace_print_header(seq, *prefix); in trace_print_entry()
259 trace_print_header(seq, *prefix); in trace_print_entry()
263 trace_print_header(seq, *prefix); in trace_print_entry()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-tseq.txt16 *#include <trace-seq.h>*
81 #include <trace-seq.h>
83 struct trace_seq seq;
84 trace_seq_init(&seq);
96 trace_seq_reset(&seq);
99 if (trace_seq_puts(&seq, str) != strlen(str)) {
102 if (trace_seq_putc(&seq, ':') != 1) {
105 if (trace_seq_printf(&seq, " trace sequence: %d", 1) <= 0) {
108 foo_seq_print( &seq, " %d\n", 2);
110 trace_seq_terminate(&seq);
[all …]
/tools/testing/selftests/net/
Dipsec.c269 static int veth_add(int sock, uint32_t seq, const char *peera, int ns_a, in veth_add() argument
285 req.nh.nlmsg_seq = seq; in veth_add()
319 static int ip4_addr_set(int sock, uint32_t seq, const char *intf, in ip4_addr_set() argument
333 req.nh.nlmsg_seq = seq; in ip4_addr_set()
361 static int link_set_up(int sock, uint32_t seq, const char *intf) in link_set_up() argument
373 req.nh.nlmsg_seq = seq; in link_set_up()
387 static int ip4_route_set(int sock, uint32_t seq, const char *intf, in ip4_route_set() argument
401 req.nh.nlmsg_seq = seq; in ip4_route_set()
926 static int xfrm_state_add(int xfrm_sock, uint32_t seq, uint32_t spi, in xfrm_state_add() argument
940 req.nh.nlmsg_seq = seq; in xfrm_state_add()
[all …]

1234