Home
last modified time | relevance | path

Searched refs:seq (Results 1 - 25 of 2897) sorted by relevance

12345678910>>...116

/kernel/linux/linux-6.6/drivers/vdpa/pds/
H A Ddebugfs.c35 static void print_status_bits(struct seq_file *seq, u8 status) in print_status_bits() argument
37 seq_puts(seq, "status:"); in print_status_bits()
38 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_ACKNOWLEDGE); in print_status_bits()
39 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_DRIVER); in print_status_bits()
40 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_DRIVER_OK); in print_status_bits()
41 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_FEATURES_OK); in print_status_bits()
42 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_NEEDS_RESET); in print_status_bits()
43 PRINT_SBIT_NAME(seq, status, VIRTIO_CONFIG_S_FAILED); in print_status_bits()
44 seq_puts(seq, "\n"); in print_status_bits()
47 static void print_feature_bits_all(struct seq_file *seq, u6 argument
175 identity_show(struct seq_file *seq, void *v) identity_show() argument
201 config_show(struct seq_file *seq, void *v) config_show() argument
236 vq_show(struct seq_file *seq, void *v) vq_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_procfs.c11 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
14 struct bonding *bond = pde_data(file_inode(seq->file)); in __acquires()
31 static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bond_info_seq_next() argument
33 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_next()
52 static void bond_info_seq_stop(struct seq_file *seq, void *v)
58 static void bond_info_show_master(struct seq_file *seq) in bond_info_show_master() argument
60 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_master()
67 seq_printf(seq, "Bonding Mode: %s", in bond_info_show_master()
74 seq_printf(seq, " (fail_over_mac %s)", optval->string); in bond_info_show_master()
77 seq_printf(seq, "\ in bond_info_show_master()
190 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) bond_info_show_slave() argument
265 bond_info_seq_show(struct seq_file *seq, void *v) bond_info_seq_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_procfs.c10 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
13 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in __acquires()
30 static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bond_info_seq_next() argument
32 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_next()
51 static void bond_info_seq_stop(struct seq_file *seq, void *v)
57 static void bond_info_show_master(struct seq_file *seq) in bond_info_show_master() argument
59 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_master()
66 seq_printf(seq, "Bonding Mode: %s", in bond_info_show_master()
73 seq_printf(seq, " (fail_over_mac %s)", optval->string); in bond_info_show_master()
76 seq_printf(seq, "\ in bond_info_show_master()
169 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) bond_info_show_slave() argument
244 bond_info_seq_show(struct seq_file *seq, void *v) bond_info_seq_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Ddebug.c69 static void cw1200_queue_status_show(struct seq_file *seq, in cw1200_queue_status_show() argument
73 seq_printf(seq, "Queue %d:\n", q->queue_id); in cw1200_queue_status_show()
74 seq_printf(seq, " capacity: %zu\n", q->capacity); in cw1200_queue_status_show()
75 seq_printf(seq, " queued: %zu\n", q->num_queued); in cw1200_queue_status_show()
76 seq_printf(seq, " pending: %zu\n", q->num_pending); in cw1200_queue_status_show()
77 seq_printf(seq, " sent: %zu\n", q->num_sent); in cw1200_queue_status_show()
78 seq_printf(seq, " locked: %s\n", q->tx_locked_cnt ? "yes" : "no"); in cw1200_queue_status_show()
79 seq_printf(seq, " overfull: %s\n", q->overfull ? "yes" : "no"); in cw1200_queue_status_show()
80 seq_puts(seq, " link map: 0-> "); in cw1200_queue_status_show()
82 seq_printf(seq, " in cw1200_queue_status_show()
86 cw1200_debug_print_map(struct seq_file *seq, struct cw1200_common *priv, const char *label, u32 map) cw1200_debug_print_map() argument
98 cw1200_status_show(struct seq_file *seq, void *v) cw1200_status_show() argument
291 cw1200_counters_show(struct seq_file *seq, void *v) cw1200_counters_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Ddebug.c69 static void cw1200_queue_status_show(struct seq_file *seq, in cw1200_queue_status_show() argument
73 seq_printf(seq, "Queue %d:\n", q->queue_id); in cw1200_queue_status_show()
74 seq_printf(seq, " capacity: %zu\n", q->capacity); in cw1200_queue_status_show()
75 seq_printf(seq, " queued: %zu\n", q->num_queued); in cw1200_queue_status_show()
76 seq_printf(seq, " pending: %zu\n", q->num_pending); in cw1200_queue_status_show()
77 seq_printf(seq, " sent: %zu\n", q->num_sent); in cw1200_queue_status_show()
78 seq_printf(seq, " locked: %s\n", q->tx_locked_cnt ? "yes" : "no"); in cw1200_queue_status_show()
79 seq_printf(seq, " overfull: %s\n", q->overfull ? "yes" : "no"); in cw1200_queue_status_show()
80 seq_puts(seq, " link map: 0-> "); in cw1200_queue_status_show()
82 seq_printf(seq, " in cw1200_queue_status_show()
86 cw1200_debug_print_map(struct seq_file *seq, struct cw1200_common *priv, const char *label, u32 map) cw1200_debug_print_map() argument
98 cw1200_status_show(struct seq_file *seq, void *v) cw1200_status_show() argument
291 cw1200_counters_show(struct seq_file *seq, void *v) cw1200_counters_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
H A Drsi_91x_debugfs.c22 * @seq: Pointer to the sequence file structure.
27 static int rsi_sdio_stats_read(struct seq_file *seq, void *data) in rsi_sdio_stats_read() argument
29 struct rsi_common *common = seq->private; in rsi_sdio_stats_read()
34 seq_printf(seq, "total_sdio_interrupts: %d\n", in rsi_sdio_stats_read()
36 seq_printf(seq, "sdio_msdu_pending_intr_count: %d\n", in rsi_sdio_stats_read()
38 seq_printf(seq, "sdio_buff_full_count : %d\n", in rsi_sdio_stats_read()
40 seq_printf(seq, "sdio_buf_semi_full_count %d\n", in rsi_sdio_stats_read()
42 seq_printf(seq, "sdio_unknown_intr_count: %d\n", in rsi_sdio_stats_read()
45 seq_printf(seq, "BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read()
47 seq_printf(seq, "SEM in rsi_sdio_stats_read()
82 rsi_version_read(struct seq_file *seq, void *data) rsi_version_read() argument
116 rsi_stats_read(struct seq_file *seq, void *data) rsi_stats_read() argument
201 rsi_debug_zone_read(struct seq_file *seq, void *data) rsi_debug_zone_read() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/rsi/
H A Drsi_91x_debugfs.c22 * @seq: Pointer to the sequence file structure.
27 static int rsi_sdio_stats_read(struct seq_file *seq, void *data) in rsi_sdio_stats_read() argument
29 struct rsi_common *common = seq->private; in rsi_sdio_stats_read()
33 seq_printf(seq, "total_sdio_interrupts: %d\n", in rsi_sdio_stats_read()
35 seq_printf(seq, "sdio_msdu_pending_intr_count: %d\n", in rsi_sdio_stats_read()
37 seq_printf(seq, "sdio_buff_full_count : %d\n", in rsi_sdio_stats_read()
39 seq_printf(seq, "sdio_buf_semi_full_count %d\n", in rsi_sdio_stats_read()
41 seq_printf(seq, "sdio_unknown_intr_count: %d\n", in rsi_sdio_stats_read()
44 seq_printf(seq, "BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read()
46 seq_printf(seq, "SEM in rsi_sdio_stats_read()
81 rsi_version_read(struct seq_file *seq, void *data) rsi_version_read() argument
115 rsi_stats_read(struct seq_file *seq, void *data) rsi_stats_read() argument
200 rsi_debug_zone_read(struct seq_file *seq, void *data) rsi_debug_zone_read() argument
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Ds3c24xx-cpufreq-debugfs.c30 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max() argument
32 seq_printf(seq, "MAX: F=%lu, H=%lu, P=%lu, A=%lu\n", in show_max()
36 static int board_show(struct seq_file *seq, void *p) in board_show() argument
43 seq_printf(seq, "no configuration registered\n"); in board_show()
49 seq_printf(seq, "no board definition set?\n"); in board_show()
53 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show()
54 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show()
55 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show()
57 show_max(seq, &brd->max); in board_show()
65 static int info_show(struct seq_file *seq, voi argument
96 io_show(struct seq_file *seq, void *p) io_show() argument
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dproc.c59 static int sctp_snmp_seq_show(struct seq_file *seq, void *v) in sctp_snmp_seq_show() argument
62 struct net *net = seq->private; in sctp_snmp_seq_show()
70 seq_printf(seq, "%-32s\t%ld\n", sctp_snmp_list[i].name, in sctp_snmp_seq_show()
77 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs() argument
105 seq_printf(seq, "*"); in sctp_seq_dump_local_addrs()
107 af->seq_dump_addr(seq, addr); in sctp_seq_dump_local_addrs()
113 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs() argument
126 seq_printf(seq, "*"); in sctp_seq_dump_remote_addrs()
128 af->seq_dump_addr(seq, addr); in sctp_seq_dump_remote_addrs()
132 static void *sctp_eps_seq_start(struct seq_file *seq, loff_ argument
146 sctp_eps_seq_stop(struct seq_file *seq, void *v) sctp_eps_seq_stop() argument
151 sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos) sctp_eps_seq_next() argument
161 sctp_eps_seq_show(struct seq_file *seq, void *v) sctp_eps_seq_show() argument
205 sctp_transport_seq_start(struct seq_file *seq, loff_t *pos) sctp_transport_seq_start() argument
214 sctp_transport_seq_stop(struct seq_file *seq, void *v) sctp_transport_seq_stop() argument
227 sctp_transport_seq_next(struct seq_file *seq, void *v, loff_t *pos) sctp_transport_seq_next() argument
243 sctp_assocs_seq_show(struct seq_file *seq, void *v) sctp_assocs_seq_show() argument
302 sctp_remaddr_seq_show(struct seq_file *seq, void *v) sctp_remaddr_seq_show() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dproc.c59 static int sctp_snmp_seq_show(struct seq_file *seq, void *v) in sctp_snmp_seq_show() argument
62 struct net *net = seq->private; in sctp_snmp_seq_show()
70 seq_printf(seq, "%-32s\t%ld\n", sctp_snmp_list[i].name, in sctp_snmp_seq_show()
77 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs() argument
105 seq_printf(seq, "*"); in sctp_seq_dump_local_addrs()
107 af->seq_dump_addr(seq, addr); in sctp_seq_dump_local_addrs()
113 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs() argument
126 seq_printf(seq, "*"); in sctp_seq_dump_remote_addrs()
128 af->seq_dump_addr(seq, addr); in sctp_seq_dump_remote_addrs()
132 static void *sctp_eps_seq_start(struct seq_file *seq, loff_ argument
146 sctp_eps_seq_stop(struct seq_file *seq, void *v) sctp_eps_seq_stop() argument
151 sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos) sctp_eps_seq_next() argument
161 sctp_eps_seq_show(struct seq_file *seq, void *v) sctp_eps_seq_show() argument
203 sctp_transport_seq_start(struct seq_file *seq, loff_t *pos) sctp_transport_seq_start() argument
212 sctp_transport_seq_stop(struct seq_file *seq, void *v) sctp_transport_seq_stop() argument
225 sctp_transport_seq_next(struct seq_file *seq, void *v, loff_t *pos) sctp_transport_seq_next() argument
241 sctp_assocs_seq_show(struct seq_file *seq, void *v) sctp_assocs_seq_show() argument
300 sctp_remaddr_seq_show(struct seq_file *seq, void *v) sctp_remaddr_seq_show() argument
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_seq.c31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
38 if (unlikely(!s->seq.size)) in __trace_seq_init()
57 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq()
83 unsigned int save_len = s->seq.len; in trace_seq_printf()
92 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf()
96 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf()
97 s->seq.len = save_len; in trace_seq_printf()
114 unsigned int save_len = s->seq.len; in trace_seq_bitmask()
121 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); in trace_seq_bitmask()
123 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bitmask()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Ddebugfs.c60 * @s: The seq file to write to.
119 * @seq: The seq file to write to.
126 static int state_show(struct seq_file *seq, void *v) in state_show() argument
128 struct dwc2_hsotg *hsotg = seq->private; in state_show()
131 seq_printf(seq, "DCFG=0x%08x, DCTL=0x%08x, DSTS=0x%08x\n", in state_show()
136 seq_printf(seq, "DIEPMSK=0x%08x, DOEPMASK=0x%08x\n", in state_show()
139 seq_printf(seq, "GINTMSK=0x%08x, GINTSTS=0x%08x\n", in state_show()
143 seq_printf(seq, "DAINTMSK=0x%08x, DAINT=0x%08x\n", in state_show()
147 seq_printf(seq, "GNPTXST in state_show()
183 fifo_show(struct seq_file *seq, void *v) fifo_show() argument
225 ep_show(struct seq_file *seq, void *v) ep_show() argument
667 params_show(struct seq_file *seq, void *v) params_show() argument
727 hw_params_show(struct seq_file *seq, void *v) hw_params_show() argument
762 dr_mode_show(struct seq_file *seq, void *v) dr_mode_show() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dproc.c51 static int sockstat_seq_show(struct seq_file *seq, void *v) in sockstat_seq_show() argument
53 struct net *net = seq->private; in sockstat_seq_show()
59 socket_seq_show(seq); in sockstat_seq_show()
60 seq_printf(seq, "TCP: inuse %d orphan %d tw %d alloc %d mem %ld\n", in sockstat_seq_show()
64 seq_printf(seq, "UDP: inuse %d mem %ld\n", in sockstat_seq_show()
67 seq_printf(seq, "UDPLITE: inuse %d\n", in sockstat_seq_show()
69 seq_printf(seq, "RAW: inuse %d\n", in sockstat_seq_show()
71 seq_printf(seq, "FRAG: inuse %u memory %lu\n", in sockstat_seq_show()
300 static void icmpmsg_put_line(struct seq_file *seq, unsigned long *vals, in icmpmsg_put_line() argument
306 seq_puts(seq, "\nIcmpMs in icmpmsg_put_line()
317 icmpmsg_put(struct seq_file *seq) icmpmsg_put() argument
343 icmp_put(struct seq_file *seq) icmp_put() argument
373 snmp_seq_show_ipstats(struct seq_file *seq, void *v) snmp_seq_show_ipstats() argument
399 snmp_seq_show_tcp_udp(struct seq_file *seq, void *v) snmp_seq_show_tcp_udp() argument
449 snmp_seq_show(struct seq_file *seq, void *v) snmp_seq_show() argument
464 netstat_seq_show(struct seq_file *seq, void *v) netstat_seq_show() argument
[all...]
/kernel/linux/linux-5.10/net/kcm/
H A Dkcmproc.c18 static struct kcm_mux *kcm_get_first(struct seq_file *seq) in kcm_get_first() argument
20 struct net *net = seq_file_net(seq); in kcm_get_first()
35 static struct kcm_mux *kcm_get_idx(struct seq_file *seq, loff_t pos) in kcm_get_idx() argument
37 struct net *net = seq_file_net(seq); in kcm_get_idx()
49 static void *kcm_seq_next(struct seq_file *seq, void *v, loff_t *pos) in kcm_seq_next() argument
54 p = kcm_get_first(seq); in kcm_seq_next()
61 static void *kcm_seq_start(struct seq_file *seq, loff_t *pos)
69 return kcm_get_idx(seq, *pos - 1); in __acquires()
72 static void kcm_seq_stop(struct seq_file *seq, void *v)
83 static void kcm_format_mux_header(struct seq_file *seq) in kcm_format_mux_header() argument
109 kcm_format_sock(struct kcm_sock *kcm, struct seq_file *seq, int i, int *len) kcm_format_sock() argument
139 kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, int i, int *len) kcm_format_psock() argument
186 kcm_format_mux(struct kcm_mux *mux, loff_t idx, struct seq_file *seq) kcm_format_mux() argument
220 kcm_seq_show(struct seq_file *seq, void *v) kcm_seq_show() argument
242 kcm_stats_seq_show(struct seq_file *seq, void *v) kcm_stats_seq_show() argument
[all...]
/kernel/linux/linux-6.6/net/kcm/
H A Dkcmproc.c18 static struct kcm_mux *kcm_get_first(struct seq_file *seq) in kcm_get_first() argument
20 struct net *net = seq_file_net(seq); in kcm_get_first()
35 static struct kcm_mux *kcm_get_idx(struct seq_file *seq, loff_t pos) in kcm_get_idx() argument
37 struct net *net = seq_file_net(seq); in kcm_get_idx()
49 static void *kcm_seq_next(struct seq_file *seq, void *v, loff_t *pos) in kcm_seq_next() argument
54 p = kcm_get_first(seq); in kcm_seq_next()
61 static void *kcm_seq_start(struct seq_file *seq, loff_t *pos)
69 return kcm_get_idx(seq, *pos - 1); in __acquires()
72 static void kcm_seq_stop(struct seq_file *seq, void *v)
83 static void kcm_format_mux_header(struct seq_file *seq) in kcm_format_mux_header() argument
109 kcm_format_sock(struct kcm_sock *kcm, struct seq_file *seq, int i, int *len) kcm_format_sock() argument
139 kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, int i, int *len) kcm_format_psock() argument
186 kcm_format_mux(struct kcm_mux *mux, loff_t idx, struct seq_file *seq) kcm_format_mux() argument
220 kcm_seq_show(struct seq_file *seq, void *v) kcm_seq_show() argument
242 kcm_stats_seq_show(struct seq_file *seq, void *v) kcm_stats_seq_show() argument
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_iter.c43 static void bpf_iter_inc_seq_num(struct seq_file *seq) in bpf_iter_inc_seq_num() argument
47 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_inc_seq_num()
52 static void bpf_iter_dec_seq_num(struct seq_file *seq) in bpf_iter_dec_seq_num() argument
56 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_dec_seq_num()
61 static void bpf_iter_done_stop(struct seq_file *seq) in bpf_iter_done_stop() argument
65 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_done_stop()
83 struct seq_file *seq = file->private_data; in bpf_seq_read() local
88 mutex_lock(&seq->lock); in bpf_seq_read()
90 if (!seq->buf) { in bpf_seq_read()
91 seq in bpf_seq_read()
242 struct seq_file *seq; iter_release() local
393 bpf_iter_link_show_fdinfo(const struct bpf_link *link, struct seq_file *seq) bpf_iter_link_show_fdinfo() argument
549 struct seq_file *seq; prepare_seq_file() local
626 struct seq_file *seq; bpf_iter_get_info() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Ddebugfs.c60 * @s: The seq file to write to.
119 * @seq: The seq file to write to.
126 static int state_show(struct seq_file *seq, void *v) in state_show() argument
128 struct dwc2_hsotg *hsotg = seq->private; in state_show()
131 seq_printf(seq, "DCFG=0x%08x, DCTL=0x%08x, DSTS=0x%08x\n", in state_show()
136 seq_printf(seq, "DIEPMSK=0x%08x, DOEPMASK=0x%08x\n", in state_show()
139 seq_printf(seq, "GINTMSK=0x%08x, GINTSTS=0x%08x\n", in state_show()
143 seq_printf(seq, "DAINTMSK=0x%08x, DAINT=0x%08x\n", in state_show()
147 seq_printf(seq, "GNPTXST in state_show()
183 fifo_show(struct seq_file *seq, void *v) fifo_show() argument
225 ep_show(struct seq_file *seq, void *v) ep_show() argument
667 params_show(struct seq_file *seq, void *v) params_show() argument
723 hw_params_show(struct seq_file *seq, void *v) hw_params_show() argument
758 dr_mode_show(struct seq_file *seq, void *v) dr_mode_show() argument
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_replay.c14 u32 seq, seq_hi, bottom; in xfrm_replay_seqhi() local
20 seq = ntohl(net_seq); in xfrm_replay_seqhi()
22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()
26 if (unlikely(seq < bottom)) in xfrm_replay_seqhi()
30 if (unlikely(seq >= bottom)) in xfrm_replay_seqhi()
68 ((x->replay.seq - x->preplay.seq < x->replay_maxdiff) && in xfrm_replay_notify()
104 XFRM_SKB_CB(skb)->seq.output.low = ++x->replay.oseq; in __xfrm_replay_overflow()
105 XFRM_SKB_CB(skb)->seq in __xfrm_replay_overflow()
125 u32 seq = ntohl(net_seq); xfrm_replay_check_legacy() local
158 u32 diff, seq; xfrm_replay_advance() local
219 u32 seq = ntohl(net_seq); xfrm_replay_check_bmp() local
262 u32 seq = ntohl(net_seq); xfrm_replay_advance_bmp() local
458 u32 seq = ntohl(net_seq); xfrm_replay_check_esn() local
557 u32 diff, pos, seq, seq_hi; xfrm_replay_advance_esn() local
[all...]
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_replay.c14 u32 seq, seq_hi, bottom; in xfrm_replay_seqhi() local
20 seq = ntohl(net_seq); in xfrm_replay_seqhi()
22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()
26 if (unlikely(seq < bottom)) in xfrm_replay_seqhi()
30 if (unlikely(seq >= bottom)) in xfrm_replay_seqhi()
54 ((x->replay.seq - x->preplay.seq < x->replay_maxdiff) && in xfrm_replay_notify()
90 XFRM_SKB_CB(skb)->seq.output.low = ++x->replay.oseq; in xfrm_replay_overflow()
91 XFRM_SKB_CB(skb)->seq in xfrm_replay_overflow()
111 u32 seq = ntohl(net_seq); xfrm_replay_check() local
142 u32 seq = ntohl(net_seq); xfrm_replay_advance() local
193 u32 seq = ntohl(net_seq); xfrm_replay_check_bmp() local
236 u32 seq = ntohl(net_seq); xfrm_replay_advance_bmp() local
432 u32 seq = ntohl(net_seq); xfrm_replay_check_esn() local
500 u32 diff, pos, seq, seq_hi; xfrm_replay_advance_esn() local
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_seq.c31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
38 if (unlikely(!s->seq.size)) in __trace_seq_init()
57 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq()
83 unsigned int save_len = s->seq.len; in trace_seq_printf()
92 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf()
96 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf()
97 s->seq.len = save_len; in trace_seq_printf()
114 unsigned int save_len = s->seq.len; in trace_seq_bitmask()
121 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); in trace_seq_bitmask()
123 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bitmask()
[all...]
/kernel/linux/linux-5.10/include/vdso/
H A Dhelpers.h11 u32 seq; in vdso_read_begin() local
13 while (unlikely((seq = READ_ONCE(vd->seq)) & 1)) in vdso_read_begin()
17 return seq; in vdso_read_begin()
23 u32 seq; in vdso_read_retry() local
26 seq = READ_ONCE(vd->seq); in vdso_read_retry()
27 return seq != start; in vdso_read_retry()
34 * updates to vd[x].seq and it is possible that the value seen by the in vdso_write_begin()
37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, v in vdso_write_begin()
[all...]
/kernel/linux/linux-6.6/include/vdso/
H A Dhelpers.h11 u32 seq; in vdso_read_begin() local
13 while (unlikely((seq = READ_ONCE(vd->seq)) & 1)) in vdso_read_begin()
17 return seq; in vdso_read_begin()
23 u32 seq; in vdso_read_retry() local
26 seq = READ_ONCE(vd->seq); in vdso_read_retry()
27 return seq != start; in vdso_read_retry()
34 * updates to vd[x].seq and it is possible that the value seen by the in vdso_write_begin()
37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, v in vdso_write_begin()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dqmgr.c29 struct nvkm_falcon_qmgr_seq *seq; in nvkm_falcon_qmgr_seq_acquire() local
32 mutex_lock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
33 index = find_first_zero_bit(qmgr->seq.tbl, NVKM_FALCON_QMGR_SEQ_NUM); in nvkm_falcon_qmgr_seq_acquire()
36 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
40 set_bit(index, qmgr->seq.tbl); in nvkm_falcon_qmgr_seq_acquire()
41 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
43 seq = &qmgr->seq.id[index]; in nvkm_falcon_qmgr_seq_acquire()
44 seq->state = SEQ_STATE_PENDING; in nvkm_falcon_qmgr_seq_acquire()
45 return seq; in nvkm_falcon_qmgr_seq_acquire()
49 nvkm_falcon_qmgr_seq_release(struct nvkm_falcon_qmgr *qmgr, struct nvkm_falcon_qmgr_seq *seq) nvkm_falcon_qmgr_seq_release() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dqmgr.c29 struct nvkm_falcon_qmgr_seq *seq; in nvkm_falcon_qmgr_seq_acquire() local
32 mutex_lock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
33 index = find_first_zero_bit(qmgr->seq.tbl, NVKM_FALCON_QMGR_SEQ_NUM); in nvkm_falcon_qmgr_seq_acquire()
36 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
40 set_bit(index, qmgr->seq.tbl); in nvkm_falcon_qmgr_seq_acquire()
41 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
43 seq = &qmgr->seq.id[index]; in nvkm_falcon_qmgr_seq_acquire()
44 seq->state = SEQ_STATE_PENDING; in nvkm_falcon_qmgr_seq_acquire()
45 return seq; in nvkm_falcon_qmgr_seq_acquire()
49 nvkm_falcon_qmgr_seq_release(struct nvkm_falcon_qmgr *qmgr, struct nvkm_falcon_qmgr_seq *seq) nvkm_falcon_qmgr_seq_release() argument
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_proc.c26 static void seq_printf_with_thousands_grouping(struct seq_file *seq, long v) in seq_printf_with_thousands_grouping() argument
31 seq_printf(seq, "%ld,", v / 1000000); in seq_printf_with_thousands_grouping()
33 seq_printf(seq, "%03ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping()
35 seq_printf(seq, "%ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping()
37 seq_printf(seq, "%ld", v); in seq_printf_with_thousands_grouping()
90 static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *seq, in drbd_syncer_progress() argument
102 seq_puts(seq, "\t["); in drbd_syncer_progress()
104 seq_putc(seq, '='); in drbd_syncer_progress()
105 seq_putc(seq, '>'); in drbd_syncer_progress()
107 seq_putc(seq, ' in drbd_syncer_progress()
215 drbd_seq_show(struct seq_file *seq, void *v) drbd_seq_show() argument
[all...]

Completed in 10 milliseconds

12345678910>>...116