Home
last modified time | relevance | path

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

12345678910>>...47

/linux/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, u64 features) in print_feature_bits_all() argument
[all …]
/linux/drivers/net/bonding/
H A Dbond_procfs.c11 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos) in bond_info_seq_start() argument
14 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_start()
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) in bond_info_seq_stop() argument
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, "\n"); in bond_info_show_master()
[all …]
/linux/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, "%.2d ", q->link_map_cache[i]); in cw1200_queue_status_show()
[all …]
/linux/drivers/usb/dwc2/
H A Ddebugfs.c126 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, "GNPTXSTS=0x%08x, GRXSTSR=%08x\n", in state_show()
151 seq_puts(seq, "\nEndpoint status:\n"); in state_show()
159 seq_printf(seq, "ep%d: DIEPCTL=0x%08x, DOEPCTL=0x%08x", in state_show()
165 seq_printf(seq, ", DIEPTSIZ=0x%08x, DOEPTSIZ=0x%08x", in state_show()
[all …]
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_debugfs.c27 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, "SEMI BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read()
48 seq_printf(seq, "MGMT BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read()
[all …]
/linux/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.output.hi = 0; in __xfrm_replay_overflow()
125 u32 seq = ntohl(net_seq); in xfrm_replay_check_legacy() local
[all …]
/linux/net/atm/
H A Dproc.c44 static void add_stats(struct seq_file *seq, const char *aal, in add_stats() argument
47 seq_printf(seq, "%s ( %d %d %d %d %d )", aal, in add_stats()
53 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev) in atm_dev_info() argument
57 seq_printf(seq, "%3d %-8s", dev->number, dev->type); in atm_dev_info()
59 seq_printf(seq, "%02x", dev->esi[i]); in atm_dev_info()
60 seq_puts(seq, " "); in atm_dev_info()
61 add_stats(seq, "0", &dev->stats.aal0); in atm_dev_info()
62 seq_puts(seq, " "); in atm_dev_info()
63 add_stats(seq, "5", &dev->stats.aal5); in atm_dev_info()
64 seq_printf(seq, "\t[%d]", refcount_read(&dev->refcnt)); in atm_dev_info()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c61 static void *seq_tab_start(struct seq_file *seq, loff_t *pos) in seq_tab_start() argument
63 struct seq_tab *tb = seq->private; in seq_tab_start()
71 static void *seq_tab_next(struct seq_file *seq, void *v, loff_t *pos) in seq_tab_next() argument
73 v = seq_tab_get_idx(seq->private, *pos + 1); in seq_tab_next()
78 static void seq_tab_stop(struct seq_file *seq, void *v) in seq_tab_stop() argument
82 static int seq_tab_show(struct seq_file *seq, void *v) in seq_tab_show() argument
84 const struct seq_tab *tb = seq->private; in seq_tab_show()
86 return tb->show(seq, v, ((char *)v - tb->data) / tb->width); in seq_tab_show()
98 int (*show)(struct seq_file *seq, void *v, int i)) in seq_open_tab() argument
123 static int cim_la_show(struct seq_file *seq, void *v, int idx) in cim_la_show() argument
[all …]
/linux/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) in kcm_seq_start() argument
69 return kcm_get_idx(seq, *pos - 1); in kcm_seq_start()
72 static void kcm_seq_stop(struct seq_file *seq, void *v) in kcm_seq_stop() argument
83 static void kcm_format_mux_header(struct seq_file *seq) in kcm_format_mux_header() argument
[all …]
/linux/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()
[all …]
/linux/kernel/trace/
H A Dtrace_seq.c28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
35 if (unlikely(!s->seq.size)) in __trace_seq_init()
54 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq()
80 unsigned int save_len = s->seq.len; in trace_seq_printf()
89 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf()
93 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf()
94 s->seq.len = save_len; in trace_seq_printf()
111 unsigned int save_len = s->seq.len; in trace_seq_bitmask()
118 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); in trace_seq_bitmask()
120 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bitmask()
[all …]
/linux/net/8021q/
H A Dvlanproc.c36 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) in vlan_seq_from_index() argument
171 for_each_netdev_dump(seq_file_net(seq), dev, ifindex) { in vlan_seq_from_index()
180 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start() argument
187 return vlan_seq_from_index(seq, pos); in vlan_seq_start()
190 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next() argument
[all …]
/linux/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()
50 struct nvkm_falcon_qmgr_seq *seq) in nvkm_falcon_qmgr_seq_release() argument
[all …]
/linux/kernel/cgroup/
H A Ddebug.c40 static int current_css_set_read(struct seq_file *seq, void *v) in current_css_set_read() argument
42 struct kernfs_open_file *of = seq->private; in current_css_set_read()
54 seq_printf(seq, "css_set %pK %d", cset, refcnt); in current_css_set_read()
56 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); in current_css_set_read()
57 seq_puts(seq, "\n"); in current_css_set_read()
66 seq_printf(seq, "%2d: %-4s\t- %p[%d]\n", ss->id, ss->name, in current_css_set_read()
85 static int current_css_set_cg_links_read(struct seq_file *seq, void *v) in current_css_set_cg_links_read() argument
101 seq_printf(seq, "Root %d group %s\n", in current_css_set_cg_links_read()
110 static int cgroup_css_links_read(struct seq_file *seq, void *v) in cgroup_css_links_read() argument
112 struct cgroup_subsys_state *css = seq_css(seq); in cgroup_css_links_read()
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c198 struct asd_seq_data *seq = &asd_ha->seq; in asd_init_scbs() local
202 asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs; in asd_init_scbs()
203 asd_ha->seq.tc_index_array = kcalloc(asd_ha->seq.tc_index_bitmap_bits, in asd_init_scbs()
206 if (!asd_ha->seq.tc_index_array) in asd_init_scbs()
209 bitmap_bytes = (asd_ha->seq.tc_index_bitmap_bits+7)/8; in asd_init_scbs()
211 asd_ha->seq.tc_index_bitmap = kzalloc(bitmap_bytes, GFP_KERNEL); in asd_init_scbs()
212 if (!asd_ha->seq.tc_index_bitmap) { in asd_init_scbs()
213 kfree(asd_ha->seq.tc_index_array); in asd_init_scbs()
214 asd_ha->seq.tc_index_array = NULL; in asd_init_scbs()
218 spin_lock_init(&seq->tc_index_lock); in asd_init_scbs()
[all …]
/linux/drivers/remoteproc/
H A Dremoteproc_debugfs.c275 static int rproc_rsc_table_show(struct seq_file *seq, void *p) in rproc_rsc_table_show() argument
278 struct rproc *rproc = seq->private; in rproc_rsc_table_show()
287 seq_puts(seq, "No resource table found\n"); in rproc_rsc_table_show()
299 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
300 seq_printf(seq, " Device Address 0x%x\n", c->da); in rproc_rsc_table_show()
301 seq_printf(seq, " Physical Address 0x%x\n", c->pa); in rproc_rsc_table_show()
302 seq_printf(seq, " Length 0x%x Bytes\n", c->len); in rproc_rsc_table_show()
303 seq_printf(seq, " Flags 0x%x\n", c->flags); in rproc_rsc_table_show()
304 seq_printf(seq, " Reserved (should be zero) [%d]\n", c->reserved); in rproc_rsc_table_show()
305 seq_printf(seq, " Name %s\n\n", c->name); in rproc_rsc_table_show()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_trace.h16 TP_PROTO(int crtc, unsigned int seq, ktime_t time, bool high_prec),
17 TP_ARGS(crtc, seq, time, high_prec),
20 __field(unsigned int, seq)
26 __entry->seq = seq;
31 __entry->crtc, __entry->seq, __entry->time,
36 TP_PROTO(struct drm_file *file, int crtc, unsigned int seq),
37 TP_ARGS(file, crtc, seq),
41 __field(unsigned int, seq)
46 __entry->seq = seq;
49 __entry->seq)
[all …]
/linux/sound/core/seq/
H A DMakefile7 snd-seq-y := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \
10 snd-seq-$(CONFIG_SND_PROC_FS) += seq_info.o
11 snd-seq-$(CONFIG_SND_SEQ_UMP) += seq_ump_convert.o
12 snd-seq-midi-y := seq_midi.o
13 snd-seq-midi-emul-y := seq_midi_emul.o
14 snd-seq-midi-event-y := seq_midi_event.o
15 snd-seq-dummy-y := seq_dummy.o
16 snd-seq-virmidi-y := seq_virmidi.o
17 snd-seq-ump-client-y := seq_ump_client.o
19 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o
[all …]
/linux/include/trace/events/
H A Dscmi.h38 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq,
40 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll, inflight),
46 __field(u16, seq)
55 __entry->seq = seq;
61 __entry->protocol_id, __entry->msg_id, __entry->seq,
66 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq,
68 TP_ARGS(transfer_id, msg_id, protocol_id, seq, timeout, poll),
74 __field(u16, seq)
83 __entry->seq = seq;
89 __entry->protocol_id, __entry->msg_id, __entry->seq,
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_seqadj.c23 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_init()
31 __be32 seq, s32 off) in nf_ct_seqadj_set() argument
48 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_set()
50 before(this_way->correction_pos, ntohl(seq))) { in nf_ct_seqadj_set()
51 this_way->correction_pos = ntohl(seq); in nf_ct_seqadj_set()
70 nf_ct_seqadj_set(ct, ctinfo, th->seq, off); in nf_ct_tcp_seqadj_set()
79 struct nf_ct_seqadj *seq) in nf_ct_sack_block_adjust() argument
86 if (after(ntohl(sack->start_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
87 seq->correction_pos)) in nf_ct_sack_block_adjust()
89 seq->offset_after); in nf_ct_sack_block_adjust()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_fence.c67 static void radeon_fence_write(struct radeon_device *rdev, u32 seq, int ring) in radeon_fence_write() argument
73 *drv->cpu_addr = cpu_to_le32(seq); in radeon_fence_write()
75 WREG32(drv->scratch_reg, seq); in radeon_fence_write()
91 u32 seq = 0; in radeon_fence_read() local
95 seq = le32_to_cpu(*drv->cpu_addr); in radeon_fence_read()
97 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read()
99 seq = RREG32(drv->scratch_reg); in radeon_fence_read()
101 return seq; in radeon_fence_read()
137 u64 seq; in radeon_fence_emit() local
145 (*fence)->seq = seq = ++rdev->fence_drv[ring].sync_seq[ring]; in radeon_fence_emit()
[all …]
/linux/drivers/scsi/elx/efct/
H A Defct_unsol.c40 efct_dispatch_frame(struct efct *efct, struct efc_hw_sequence *seq) in efct_dispatch_frame() argument
46 hdr = seq->header->dma.virt; in efct_dispatch_frame()
61 efct_hw_sequence_free(&efct->hw, seq); in efct_dispatch_frame()
65 efct_dispatch_fcp_cmd(node, seq); in efct_dispatch_frame()
75 efct_node_recv_abts_frame(node, seq); in efct_dispatch_frame()
79 efct_hw_sequence_free(&efct->hw, seq); in efct_dispatch_frame()
84 efct_unsolicited_cb(void *arg, struct efc_hw_sequence *seq) in efct_unsolicited_cb() argument
89 if (!efct_dispatch_frame(efct, seq)) in efct_unsolicited_cb()
93 efc_dispatch_frame(efct->efcport, seq); in efct_unsolicited_cb()
138 efct_validate_fcp_cmd(struct efct *efct, struct efc_hw_sequence *seq) in efct_validate_fcp_cmd() argument
[all …]
/linux/net/sunrpc/
H A Dstats.c37 static int rpc_proc_show(struct seq_file *seq, void *v) { in rpc_proc_show() argument
38 const struct rpc_stat *statp = seq->private; in rpc_proc_show()
42 seq_printf(seq, in rpc_proc_show()
48 seq_printf(seq, in rpc_proc_show()
58 seq_printf(seq, "proc%u %u", in rpc_proc_show()
61 seq_printf(seq, " %u", vers->counts[j]); in rpc_proc_show()
62 seq_putc(seq, '\n'); in rpc_proc_show()
82 void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) in svc_seq_show() argument
89 seq_printf(seq, in svc_seq_show()
95 seq_printf(seq, in svc_seq_show()
[all …]
/linux/drivers/rtc/
H A Dproc.c39 static int rtc_proc_show(struct seq_file *seq, void *offset) in rtc_proc_show() argument
42 struct rtc_device *rtc = seq->private; in rtc_proc_show()
49 seq_printf(seq, in rtc_proc_show()
57 seq_printf(seq, "alrm_time\t: %ptRt\n", &alrm.time); in rtc_proc_show()
58 seq_printf(seq, "alrm_date\t: %ptRd\n", &alrm.time); in rtc_proc_show()
59 seq_printf(seq, "alarm_IRQ\t: %s\n", in rtc_proc_show()
61 seq_printf(seq, "alrm_pending\t: %s\n", in rtc_proc_show()
63 seq_printf(seq, "update IRQ enabled\t: %s\n", in rtc_proc_show()
65 seq_printf(seq, "periodic IRQ enabled\t: %s\n", in rtc_proc_show()
67 seq_printf(seq, "periodic IRQ frequency\t: %d\n", in rtc_proc_show()
[all …]
/linux/include/vdso/
H A Dhelpers.h12 u32 seq; in vdso_read_begin() local
14 while (unlikely((seq = READ_ONCE(vc->seq)) & 1)) in vdso_read_begin()
18 return seq; in vdso_read_begin()
24 u32 seq; in vdso_read_retry() local
27 seq = READ_ONCE(vc->seq); in vdso_read_retry()
28 return seq != start; in vdso_read_retry()
38 WRITE_ONCE(vc->seq, vc->seq + 1); in vdso_write_seq_begin()
48 WRITE_ONCE(vc->seq, vc->seq + 1); in vdso_write_seq_end()

12345678910>>...47