/linux-master/kernel/cgroup/ |
H A D | debug.c | 40 static int current_css_set_read(struct seq_file *seq, void *v) argument 42 struct kernfs_open_file *of = seq->private; 55 seq_printf(seq, "css_set %pK %d", cset, refcnt); 57 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); 58 seq_puts(seq, "\n"); 67 seq_printf(seq, "%2d: %-4s\t- %p[%d]\n", ss->id, ss->name, 87 static int current_css_set_cg_links_read(struct seq_file *seq, void *v) argument 104 seq_printf(seq, "Root %d group %s\n", 114 static int cgroup_css_links_read(struct seq_file *seq, void *v) argument 116 struct cgroup_subsys_state *css = seq_css(seq); 203 cgroup_subsys_states_read(struct seq_file *seq, void *v) argument 236 cgroup_masks_read_one(struct seq_file *seq, const char *name, u16 mask) argument 255 cgroup_masks_read(struct seq_file *seq, void *v) argument [all...] |
/linux-master/kernel/trace/ |
H A D | trace_seq.c | 28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) 35 if (unlikely(!s->seq.size)) 54 ret = seq_buf_print_seq(m, &s->seq); 80 unsigned int save_len = s->seq.len; 89 seq_buf_vprintf(&s->seq, fmt, ap); 93 if (unlikely(seq_buf_has_overflowed(&s->seq))) { 94 s->seq.len = save_len; 111 unsigned int save_len = s->seq.len; 118 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); 120 if (unlikely(seq_buf_has_overflowed(&s->seq))) { [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge_debugfs.c | 8 static void *mlx5_esw_bridge_debugfs_start(struct seq_file *seq, loff_t *pos); 9 static void *mlx5_esw_bridge_debugfs_next(struct seq_file *seq, void *v, loff_t *pos); 10 static void mlx5_esw_bridge_debugfs_stop(struct seq_file *seq, void *v); 11 static int mlx5_esw_bridge_debugfs_show(struct seq_file *seq, void *v); 21 static void *mlx5_esw_bridge_debugfs_start(struct seq_file *seq, loff_t *pos) argument 23 struct mlx5_esw_bridge *bridge = seq->private; 29 static void *mlx5_esw_bridge_debugfs_next(struct seq_file *seq, void *v, loff_t *pos) argument 31 struct mlx5_esw_bridge *bridge = seq->private; 36 static void mlx5_esw_bridge_debugfs_stop(struct seq_file *seq, void *v) argument 41 static int mlx5_esw_bridge_debugfs_show(struct seq_file *seq, voi argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | map_percpu_stats.c | 15 struct seq_file *seq = ctx->meta->seq; local 19 BPF_SEQ_PRINTF(seq, "%lld", bpf_map_sum_elem_count(map));
|
H A D | bpf_iter_task_btf.c | 18 struct seq_file *seq = ctx->meta->seq; local 28 BPF_SEQ_PRINTF(seq, "Raw BTF task\n"); 30 ret = bpf_seq_printf_btf(seq, &ptr, sizeof(ptr), 0);
|
H A D | bpf_iter_ipv6_route.c | 14 struct seq_file *seq = ctx->meta->seq; local 32 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); 35 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_src.addr, 38 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 00 "); 42 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); 44 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 "); 49 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x %8s\n", rt->fib6_metric, 52 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x\n", rt->fib6_metric,
|
H A D | bpf_iter_unix.c | 29 struct seq_file *seq; local 35 seq = ctx->meta->seq; 38 BPF_SEQ_PRINTF(seq, "Num RefCount Protocol Flags Type St Inode Path\n"); 40 BPF_SEQ_PRINTF(seq, "%pK: %08X %08X %08X %04X %02X %8lu", 53 BPF_SEQ_PRINTF(seq, " %s", unix_sk->addr->name->sun_path); 63 BPF_SEQ_PRINTF(seq, " @"); 70 BPF_SEQ_PRINTF(seq, "%c", 77 BPF_SEQ_PRINTF(seq, "\n");
|
H A D | bpf_iter_task_stack.c | 15 struct seq_file *seq = ctx->meta->seq; local 27 BPF_SEQ_PRINTF(seq, "pid: %8u num_entries: %8u\n", task->pid, 31 BPF_SEQ_PRINTF(seq, "[<0>] %pB\n", (void *)entries[i]); 33 BPF_SEQ_PRINTF(seq, "\n"); 43 struct seq_file *seq = ctx->meta->seq; local 66 bpf_seq_write(seq, &entries, buf_sz);
|
H A D | test_ringbuf_map_key.c | 12 int seq; member in struct:sample 32 long seq = 0; variable 50 sample->seq = ++seq; 61 * when trying to do bpf_map_update_elem(&hash_map, sample, &sample->seq, BPF_ANY); 67 bpf_map_update_elem(&hash_map, &sample_copy, &sample->seq, BPF_ANY);
|
H A D | bpf_iter_task_vmas.c | 29 struct seq_file *seq = ctx->meta->seq; local 47 BPF_SEQ_PRINTF(seq, "%08llx-%08llx %s ", vma->vm_start, vma->vm_end, perm_str); 54 BPF_SEQ_PRINTF(seq, "%08llx ", vma->vm_pgoff << 12); 55 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), 57 BPF_SEQ_PRINTF(seq, "\t%s\n", d_path_buf); 59 BPF_SEQ_PRINTF(seq, "%08llx 00:00 0\n", 0ULL);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdping.h | 9 __be16 seq; member in struct:pinginfo
|
/linux-master/net/kcm/ |
H A D | kcmproc.c | 18 static struct kcm_mux *kcm_get_first(struct seq_file *seq) argument 20 struct net *net = seq_file_net(seq); 35 static struct kcm_mux *kcm_get_idx(struct seq_file *seq, loff_t pos) argument 37 struct net *net = seq_file_net(seq); 49 static void *kcm_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 54 p = kcm_get_first(seq); 61 static void *kcm_seq_start(struct seq_file *seq, loff_t *pos) 69 return kcm_get_idx(seq, *pos - 1); 72 static void kcm_seq_stop(struct seq_file *seq, void *v) 83 static void kcm_format_mux_header(struct seq_file *seq) argument 109 kcm_format_sock(struct kcm_sock *kcm, struct seq_file *seq, int i, int *len) argument 139 kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, int i, int *len) argument 186 kcm_format_mux(struct kcm_mux *mux, loff_t idx, struct seq_file *seq) argument 220 kcm_seq_show(struct seq_file *seq, void *v) argument 242 kcm_stats_seq_show(struct seq_file *seq, void *v) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | prog_iter.c | 13 static void *bpf_prog_seq_start(struct seq_file *seq, loff_t *pos) argument 15 struct bpf_iter_seq_prog_info *info = seq->private; 27 static void *bpf_prog_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 29 struct bpf_iter_seq_prog_info *info = seq->private; 44 static int __bpf_prog_seq_show(struct seq_file *seq, void *v, bool in_stop) argument 53 meta.seq = seq; 61 static int bpf_prog_seq_show(struct seq_file *seq, void *v) argument 63 return __bpf_prog_seq_show(seq, v, false); 66 static void bpf_prog_seq_stop(struct seq_file *seq, voi argument [all...] |
H A D | link_iter.c | 13 static void *bpf_link_seq_start(struct seq_file *seq, loff_t *pos) argument 15 struct bpf_iter_seq_link_info *info = seq->private; 27 static void *bpf_link_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 29 struct bpf_iter_seq_link_info *info = seq->private; 44 static int __bpf_link_seq_show(struct seq_file *seq, void *v, bool in_stop) argument 53 meta.seq = seq; 61 static int bpf_link_seq_show(struct seq_file *seq, void *v) argument 63 return __bpf_link_seq_show(seq, v, false); 66 static void bpf_link_seq_stop(struct seq_file *seq, voi argument [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | Makefile | 7 snd-seq-oss-objs := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \ 11 obj-$(CONFIG_SND_SEQUENCER_OSS) += snd-seq-oss.o
|
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-trace-marker-hist.tc | 15 for i in `seq 1 10` ; do echo "hello" > trace_marker; done
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_procfs.c | 6 static void *nf_flow_table_cpu_seq_start(struct seq_file *seq, loff_t *pos) argument 8 struct net *net = seq_file_net(seq); 24 static void *nf_flow_table_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 26 struct net *net = seq_file_net(seq); 39 static void nf_flow_table_cpu_seq_stop(struct seq_file *seq, void *v) argument 43 static int nf_flow_table_cpu_seq_show(struct seq_file *seq, void *v) argument 48 seq_puts(seq, "wq_add wq_del wq_stats\n"); 52 seq_printf(seq, "%8d %8d %8d\n",
|
/linux-master/tools/verification/rv/src/ |
H A D | trace.c | 49 struct trace_seq *s = trace->seq; 72 if (trace->seq) { 73 free(trace->seq); 74 trace->seq = NULL; 88 * a seq file. 98 trace->seq = calloc(1, sizeof(*trace->seq)); 99 if (!trace->seq) 102 trace_seq_init(trace->seq);
|
/linux-master/arch/sparc/include/asm/ |
H A D | vvar.h | 15 unsigned int seq; member in struct:vvar_data 46 ret = READ_ONCE(s->seq); 51 smp_rmb(); /* Finish all reads before we return seq */ 58 smp_rmb(); /* Finish all reads before checking the value of seq */ 59 return unlikely(s->seq != start); 64 ++s->seq; 65 smp_wmb(); /* Makes sure that increment of seq is reflected */ 70 smp_wmb(); /* Makes the value of seq current before we increment */ 71 ++s->seq;
|
/linux-master/net/8021q/ |
H A D | vlanproc.c | 36 static int vlan_seq_show(struct seq_file *seq, void *v); 37 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos); 38 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos); 39 static void vlan_seq_stop(struct seq_file *seq, void *); 40 static int vlandev_seq_show(struct seq_file *seq, void *v); 166 static void *vlan_seq_from_index(struct seq_file *seq, loff_t *pos) argument 171 for_each_netdev_dump(seq_file_net(seq), dev, ifindex) { 180 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) 187 return vlan_seq_from_index(seq, pos); 190 static void *vlan_seq_next(struct seq_file *seq, voi argument 202 vlan_seq_show(struct seq_file *seq, void *v) argument 227 vlandev_seq_show(struct seq_file *seq, void *offset) argument [all...] |
/linux-master/net/atm/ |
H A D | proc.c | 44 static void add_stats(struct seq_file *seq, const char *aal, argument 47 seq_printf(seq, "%s ( %d %d %d %d %d )", aal, 53 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev) argument 57 seq_printf(seq, "%3d %-8s", dev->number, dev->type); 59 seq_printf(seq, "%02x", dev->esi[i]); 60 seq_puts(seq, " "); 61 add_stats(seq, "0", &dev->stats.aal0); 62 seq_puts(seq, " "); 63 add_stats(seq, "5", &dev->stats.aal5); 64 seq_printf(seq, "\ 108 vcc_walk(struct seq_file *seq, loff_t l) argument 134 vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 141 pvc_info(struct seq_file *seq, struct atm_vcc *vcc) argument 177 vcc_info(struct seq_file *seq, struct atm_vcc *vcc) argument 204 svc_info(struct seq_file *seq, struct atm_vcc *vcc) argument 224 atm_dev_seq_show(struct seq_file *seq, void *v) argument 247 pvc_seq_show(struct seq_file *seq, void *v) argument 270 vcc_seq_show(struct seq_file *seq, void *v) argument 292 svc_seq_show(struct seq_file *seq, void *v) argument [all...] |
/linux-master/include/trace/events/ |
H A D | scmi.h | 36 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq, 38 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll), 44 __field(u16, seq) 52 __entry->seq = seq; 56 TP_printk("pt=%02X msg_id=%02X seq=%04X transfer_id=%X poll=%u", 57 __entry->protocol_id, __entry->msg_id, __entry->seq, 62 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq, 64 TP_ARGS(transfer_id, msg_id, protocol_id, seq, timeout, poll), 70 __field(u16, seq) [all...] |
/linux-master/net/x25/ |
H A D | x25_proc.c | 25 static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos) 32 static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) argument 37 static void x25_seq_route_stop(struct seq_file *seq, void *v) 43 static int x25_seq_route_show(struct seq_file *seq, void *v) argument 48 seq_puts(seq, "Address Digits Device\n"); 53 seq_printf(seq, "%-15s %-6d %-5s\n", 60 static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos) 67 static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) argument 72 static void x25_seq_socket_stop(struct seq_file *seq, void *v) 78 static int x25_seq_socket_show(struct seq_file *seq, voi argument 119 x25_seq_forward_next(struct seq_file *seq, void *v, loff_t *pos) argument 130 x25_seq_forward_show(struct seq_file *seq, void *v) argument [all...] |
/linux-master/net/sctp/ |
H A D | objcnt.c | 62 static int sctp_objcnt_seq_show(struct seq_file *seq, void *v) argument 67 seq_setwidth(seq, 127); 68 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, 70 seq_pad(seq, '\n'); 74 static void *sctp_objcnt_seq_start(struct seq_file *seq, loff_t *pos) argument 79 static void sctp_objcnt_seq_stop(struct seq_file *seq, void *v) argument 83 static void *sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 61 static void *seq_tab_start(struct seq_file *seq, loff_t *pos) argument 63 struct seq_tab *tb = seq->private; 71 static void *seq_tab_next(struct seq_file *seq, void *v, loff_t *pos) argument 73 v = seq_tab_get_idx(seq->private, *pos + 1); 78 static void seq_tab_stop(struct seq_file *seq, void *v) argument 82 static int seq_tab_show(struct seq_file *seq, void *v) argument 84 const struct seq_tab *tb = seq->private; 86 return tb->show(seq, v, ((char *)v - tb->data) / tb->width); 98 int (*show)(struct seq_file *seq, void *v, int i)) 123 static int cim_la_show(struct seq_file *seq, voi argument 96 seq_open_tab(struct file *f, unsigned int rows, unsigned int width, unsigned int have_header, int (*show)(struct seq_file *seq, void *v, int i)) argument 140 cim_la_show_3in1(struct seq_file *seq, void *v, int idx) argument 158 cim_la_show_t6(struct seq_file *seq, void *v, int idx) argument 177 cim_la_show_pc_t6(struct seq_file *seq, void *v, int idx) argument 237 cim_pif_la_show(struct seq_file *seq, void *v, int idx) argument 280 cim_ma_la_show(struct seq_file *seq, void *v, int idx) argument 326 cim_qcfg_show(struct seq_file *seq, void *v) argument 383 cimq_show(struct seq_file *seq, void *v, int idx) argument 454 field_desc_show(struct seq_file *seq, u64 v, const struct field_desc *p) argument 513 tp_la_show(struct seq_file *seq, void *v, int idx) argument 521 tp_la_show2(struct seq_file *seq, void *v, int idx) argument 533 tp_la_show3(struct seq_file *seq, void *v, int idx) argument 695 ulprx_la_show(struct seq_file *seq, void *v, int idx) argument 742 pm_stats_show(struct seq_file *seq, void *v) argument 821 tx_rate_show(struct seq_file *seq, void *v) argument 853 cctrl_tbl_show(struct seq_file *seq, void *v) argument 903 clk_show(struct seq_file *seq, void *v) argument 993 devlog_show(struct seq_file *seq, void *v) argument 1050 devlog_start(struct seq_file *seq, loff_t *pos) argument 1059 devlog_next(struct seq_file *seq, void *v, loff_t *pos) argument 1067 devlog_stop(struct seq_file *seq, void *v) argument 1154 mboxlog_show(struct seq_file *seq, void *v) argument 1192 mboxlog_get_idx(struct seq_file *seq, loff_t pos) argument 1200 mboxlog_start(struct seq_file *seq, loff_t *pos) argument 1205 mboxlog_next(struct seq_file *seq, void *v, loff_t *pos) argument 1211 mboxlog_stop(struct seq_file *seq, void *v) argument 1227 struct seq_file *seq = file->private_data; local 1242 mbox_show(struct seq_file *seq, void *v) argument 1326 mps_trc_show(struct seq_file *seq, void *v) argument 1672 mps_tcam_show(struct seq_file *seq, void *v) argument 1887 mps_tcam_get_idx(struct seq_file *seq, loff_t pos) argument 1896 mps_tcam_start(struct seq_file *seq, loff_t *pos) argument 1901 mps_tcam_next(struct seq_file *seq, void *v, loff_t *pos) argument 1907 mps_tcam_stop(struct seq_file *seq, void *v) argument 1923 struct seq_file *seq = file->private_data; local 1940 sensors_show(struct seq_file *seq, void *v) argument 1979 rss_show(struct seq_file *seq, void *v, int idx) argument 2029 rss_config_show(struct seq_file *seq, void *v) argument 2181 rss_key_show(struct seq_file *seq, void *v) argument 2244 rss_pf_config_show(struct seq_file *seq, void *v, int idx) argument 2326 rss_vf_config_show(struct seq_file *seq, void *v, int idx) argument 2385 dcb_info_show(struct seq_file *seq, void *v) argument 2521 dcb_info_start(struct seq_file *seq, loff_t *pos) argument 2530 dcb_info_stop(struct seq_file *seq, void *v) argument 2534 dcb_info_next(struct seq_file *seq, void *v, loff_t *pos) argument 2554 struct seq_file *seq = file->private_data; local 2570 resources_show(struct seq_file *seq, void *v) argument 2650 sge_qinfo_show(struct seq_file *seq, void *v) argument 3207 sge_queue_start(struct seq_file *seq, loff_t *pos) argument 3214 sge_queue_stop(struct seq_file *seq, void *v) argument 3218 sge_queue_next(struct seq_file *seq, void *v, loff_t *pos) argument 3238 struct seq_file *seq = file->private_data; local 3312 tid_info_show(struct seq_file *seq, void *v) argument 3455 mem_region_show(struct seq_file *seq, const char *name, unsigned int from, unsigned int to) argument 3465 meminfo_show(struct seq_file *seq, void *v) argument 3528 chcr_stats_show(struct seq_file *seq, void *v) argument 3616 show_tcp_stats(struct seq_file *seq) argument 3635 show_ddp_stats(struct seq_file *seq) argument 3649 show_rdma_stats(struct seq_file *seq) argument 3662 show_tp_err_adapter_stats(struct seq_file *seq) argument 3675 show_cpl_stats(struct seq_file *seq) argument 3689 show_tp_err_channel_stats(struct seq_file *seq) argument 3709 show_fcoe_stats(struct seq_file *seq) argument 3729 tp_stats_show(struct seq_file *seq, void *v) argument [all...] |