/linux-4.1.27/drivers/staging/lustre/lustre/fid/ |
D | fid_request.c | 56 static int seq_client_rpc(struct lu_client_seq *seq, in seq_client_rpc() argument 60 struct obd_export *exp = seq->lcs_exp; in seq_client_rpc() 82 in->lsr_index = seq->lcs_space.lsr_index; in seq_client_rpc() 83 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 97 if (seq->lcs_type == LUSTRE_SEQ_DATA) in seq_client_rpc() 101 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 110 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 113 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 123 DRANGE"\n", seq->lcs_name, PRANGE(output)); in seq_client_rpc() 130 DRANGE"]\n", seq->lcs_name, PRANGE(output)); in seq_client_rpc() [all …]
|
D | lproc_fid.c | 100 struct lu_client_seq *seq; in lprocfs_fid_space_seq_write() local 103 seq = ((struct seq_file *)file->private_data)->private; in lprocfs_fid_space_seq_write() 104 LASSERT(seq != NULL); in lprocfs_fid_space_seq_write() 106 mutex_lock(&seq->lcs_mutex); in lprocfs_fid_space_seq_write() 107 rc = lprocfs_fid_write_common(buffer, count, &seq->lcs_space); in lprocfs_fid_space_seq_write() 111 seq->lcs_name, PRANGE(&seq->lcs_space)); in lprocfs_fid_space_seq_write() 114 mutex_unlock(&seq->lcs_mutex); in lprocfs_fid_space_seq_write() 122 struct lu_client_seq *seq = (struct lu_client_seq *)m->private; in lprocfs_fid_space_seq_show() local 124 LASSERT(seq != NULL); in lprocfs_fid_space_seq_show() 126 mutex_lock(&seq->lcs_mutex); in lprocfs_fid_space_seq_show() [all …]
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_proc.c | 71 static int print_serial_number(struct seq_file *seq, u8 * serialno, int max_len) in print_serial_number() argument 87 seq_printf(seq, "0x"); in print_serial_number() 89 seq_printf(seq, "%02X", serialno[2 + i]); in print_serial_number() 100 seq_printf(seq, "%s", &serialno[2]); in print_serial_number() 104 seq_printf(seq, "%c", serialno[2 + i]); in print_serial_number() 109 seq_printf(seq, "UNICODE Format. Can't Display\n"); in print_serial_number() 113 seq_printf(seq, "LAN-48 MAC address @ %pM", &serialno[2]); in print_serial_number() 118 seq_printf(seq, "WAN Access Address"); in print_serial_number() 124 seq_printf(seq, in print_serial_number() 130 seq_printf(seq, in print_serial_number() [all …]
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_procfs.c | 9 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos) in bond_info_seq_start() argument 12 struct bonding *bond = seq->private; in bond_info_seq_start() 29 static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bond_info_seq_next() argument 31 struct bonding *bond = seq->private; in bond_info_seq_next() 50 static void bond_info_seq_stop(struct seq_file *seq, void *v) in bond_info_seq_stop() argument 56 static void bond_info_show_master(struct seq_file *seq) in bond_info_show_master() argument 58 struct bonding *bond = seq->private; in bond_info_show_master() 65 seq_printf(seq, "Bonding Mode: %s", in bond_info_show_master() 72 seq_printf(seq, " (fail_over_mac %s)", optval->string); in bond_info_show_master() 75 seq_printf(seq, "\n"); in bond_info_show_master() [all …]
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | debug.c | 72 static void cw1200_queue_status_show(struct seq_file *seq, in cw1200_queue_status_show() argument 76 seq_printf(seq, "Queue %d:\n", q->queue_id); in cw1200_queue_status_show() 77 seq_printf(seq, " capacity: %zu\n", q->capacity); in cw1200_queue_status_show() 78 seq_printf(seq, " queued: %zu\n", q->num_queued); in cw1200_queue_status_show() 79 seq_printf(seq, " pending: %zu\n", q->num_pending); in cw1200_queue_status_show() 80 seq_printf(seq, " sent: %zu\n", q->num_sent); in cw1200_queue_status_show() 81 seq_printf(seq, " locked: %s\n", q->tx_locked_cnt ? "yes" : "no"); in cw1200_queue_status_show() 82 seq_printf(seq, " overfull: %s\n", q->overfull ? "yes" : "no"); in cw1200_queue_status_show() 83 seq_puts(seq, " link map: 0-> "); in cw1200_queue_status_show() 85 seq_printf(seq, "%.2d ", q->link_map_cache[i]); in cw1200_queue_status_show() [all …]
|
/linux-4.1.27/sound/core/seq/ |
D | Makefile | 6 snd-seq-device-objs := seq_device.o 7 snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \ 10 snd-seq-midi-objs := seq_midi.o 11 snd-seq-midi-emul-objs := seq_midi_emul.o 12 snd-seq-midi-event-objs := seq_midi_event.o 13 snd-seq-dummy-objs := seq_dummy.o 14 snd-seq-virmidi-objs := seq_virmidi.o 16 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o 18 obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o 21 obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o [all …]
|
/linux-4.1.27/kernel/trace/ |
D | trace_seq.c | 30 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) 33 #define TRACE_SEQ_BUF_USED(s) seq_buf_used(&(s)->seq) 40 if (unlikely(!s->seq.size)) in __trace_seq_init() 59 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq() 85 unsigned int save_len = s->seq.len; in trace_seq_printf() 94 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf() 98 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf() 99 s->seq.len = save_len; in trace_seq_printf() 116 unsigned int save_len = s->seq.len; in trace_seq_bitmask() 123 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); in trace_seq_bitmask() [all …]
|
D | trace_output.c | 25 struct trace_seq *s = &iter->seq; in trace_print_bputs_msg_only() 38 struct trace_seq *s = &iter->seq; in trace_print_bprintk_msg_only() 51 struct trace_seq *s = &iter->seq; in trace_print_printk_msg_only() 229 struct trace_seq *s = &iter->seq; in ftrace_raw_output_prep() 251 struct trace_seq *s = &iter->seq; in ftrace_output_raw() 525 struct trace_seq *s = &iter->seq; in lat_print_timestamp() 564 struct trace_seq *s = &iter->seq; in trace_print_context() 594 struct trace_seq *s = &iter->seq; in trace_print_lat_context() 807 trace_seq_printf(&iter->seq, "type: %d\n", iter->ent->type); in trace_nop_print() 809 return trace_handle_return(&iter->seq); in trace_nop_print() [all …]
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
D | rsi_91x_debugfs.c | 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, "SEMI BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read() 49 seq_printf(seq, "MGMT BUFFER FULL STATUS : %d\n", in rsi_sdio_stats_read() [all …]
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_replay.c | 26 u32 seq, seq_hi, bottom; in xfrm_replay_seqhi() local 32 seq = ntohl(net_seq); in xfrm_replay_seqhi() 34 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi() 36 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi() 38 if (unlikely(seq < bottom)) in xfrm_replay_seqhi() 42 if (unlikely(seq >= bottom)) in xfrm_replay_seqhi() 65 ((x->replay.seq - x->preplay.seq < x->replay_maxdiff) && in xfrm_replay_notify() 101 XFRM_SKB_CB(skb)->seq.output.low = ++x->replay.oseq; in xfrm_replay_overflow() 102 XFRM_SKB_CB(skb)->seq.output.hi = 0; in xfrm_replay_overflow() 121 u32 seq = ntohl(net_seq); in xfrm_replay_check() local [all …]
|
D | xfrm_input.c | 128 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) in xfrm_parse_spi() argument 148 *seq = 0; in xfrm_parse_spi() 158 *seq = *(__be32 *)(skb_transport_header(skb) + offset_seq); in xfrm_parse_spi() 186 __be32 seq; in xfrm_input() local 200 seq = XFRM_SKB_CB(skb)->seq.input.low; in xfrm_input() 235 seq = 0; in xfrm_input() 236 if (!spi && (err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) != 0) { in xfrm_input() 250 xfrm_audit_state_notfound(skb, family, spi, seq); in xfrm_input() 272 if (x->repl->check(x, skb, seq)) { in xfrm_input() 289 seq_hi = htonl(xfrm_replay_seqhi(x, seq)); in xfrm_input() [all …]
|
D | xfrm_proc.c | 51 static int xfrm_statistics_seq_show(struct seq_file *seq, void *v) in xfrm_statistics_seq_show() argument 53 struct net *net = seq->private; in xfrm_statistics_seq_show() 56 seq_printf(seq, "%-24s\t%lu\n", xfrm_mib_list[i].name, in xfrm_statistics_seq_show()
|
/linux-4.1.27/drivers/cpufreq/ |
D | s3c24xx-cpufreq-debugfs.c | 31 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max() argument 33 seq_printf(seq, "MAX: F=%lu, H=%lu, P=%lu, A=%lu\n", in show_max() 37 static int board_show(struct seq_file *seq, void *p) in board_show() argument 44 seq_printf(seq, "no configuration registered\n"); in board_show() 50 seq_printf(seq, "no board definition set?\n"); in board_show() 54 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show() 55 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show() 56 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show() 58 show_max(seq, &brd->max); in board_show() 77 static int info_show(struct seq_file *seq, void *p) in info_show() argument [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-proc.c | 42 static int rtc_proc_show(struct seq_file *seq, void *offset) in rtc_proc_show() argument 45 struct rtc_device *rtc = seq->private; in rtc_proc_show() 52 seq_printf(seq, in rtc_proc_show() 61 seq_printf(seq, "alrm_time\t: "); in rtc_proc_show() 63 seq_printf(seq, "%02d:", alrm.time.tm_hour); in rtc_proc_show() 65 seq_printf(seq, "**:"); in rtc_proc_show() 67 seq_printf(seq, "%02d:", alrm.time.tm_min); in rtc_proc_show() 69 seq_printf(seq, "**:"); in rtc_proc_show() 71 seq_printf(seq, "%02d\n", alrm.time.tm_sec); in rtc_proc_show() 73 seq_printf(seq, "**\n"); in rtc_proc_show() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_trace.h | 13 TP_PROTO(int crtc, unsigned int seq), 14 TP_ARGS(crtc, seq), 17 __field(unsigned int, seq) 21 __entry->seq = seq; 23 TP_printk("crtc=%d, seq=%u", __entry->crtc, __entry->seq) 27 TP_PROTO(pid_t pid, int crtc, unsigned int seq), 28 TP_ARGS(pid, crtc, seq), 32 __field(unsigned int, seq) 37 __entry->seq = seq; 40 __entry->seq) [all …]
|
D | drm_irq.c | 916 unsigned long seq, struct timeval *now) in send_vblank_event() argument 919 e->event.sequence = seq; in send_vblank_event() 945 unsigned int seq; in drm_send_vblank_event() local 948 seq = drm_vblank_count_and_time(dev, crtc, &now); in drm_send_vblank_event() 950 seq = 0; in drm_send_vblank_event() 955 send_vblank_event(dev, e, seq, &now); in drm_send_vblank_event() 1181 unsigned int seq; in drm_vblank_off() local 1203 seq = drm_vblank_count_and_time(dev, crtc, &now); in drm_vblank_off() 1210 e->event.sequence, seq); in drm_vblank_off() 1213 send_vblank_event(dev, e, seq, &now); in drm_vblank_off() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 56 static void *seq_tab_start(struct seq_file *seq, loff_t *pos) in seq_tab_start() argument 58 struct seq_tab *tb = seq->private; in seq_tab_start() 66 static void *seq_tab_next(struct seq_file *seq, void *v, loff_t *pos) in seq_tab_next() argument 68 v = seq_tab_get_idx(seq->private, *pos + 1); in seq_tab_next() 74 static void seq_tab_stop(struct seq_file *seq, void *v) in seq_tab_stop() argument 78 static int seq_tab_show(struct seq_file *seq, void *v) in seq_tab_show() argument 80 const struct seq_tab *tb = seq->private; in seq_tab_show() 82 return tb->show(seq, v, ((char *)v - tb->data) / tb->width); in seq_tab_show() 94 int (*show)(struct seq_file *seq, void *v, int i)) in seq_open_tab() argument 119 static int cim_la_show(struct seq_file *seq, void *v, int idx) in cim_la_show() argument [all …]
|
D | l2t.c | 579 static inline void *l2t_get_idx(struct seq_file *seq, loff_t pos) in l2t_get_idx() argument 581 struct l2t_entry *l2tab = seq->private; in l2t_get_idx() 586 static void *l2t_seq_start(struct seq_file *seq, loff_t *pos) in l2t_seq_start() argument 588 return *pos ? l2t_get_idx(seq, *pos - 1) : SEQ_START_TOKEN; in l2t_seq_start() 591 static void *l2t_seq_next(struct seq_file *seq, void *v, loff_t *pos) in l2t_seq_next() argument 593 v = l2t_get_idx(seq, *pos); in l2t_seq_next() 599 static void l2t_seq_stop(struct seq_file *seq, void *v) in l2t_seq_stop() argument 616 static int l2t_seq_show(struct seq_file *seq, void *v) in l2t_seq_show() argument 619 seq_puts(seq, " Idx IP address " in l2t_seq_show() 630 seq_printf(seq, "%4u %-25s %17pM %4d %u %2u %c %5u %s\n", in l2t_seq_show() [all …]
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_proc.c | 49 static void seq_printf_with_thousands_grouping(struct seq_file *seq, long v) in seq_printf_with_thousands_grouping() argument 54 seq_printf(seq, "%ld,", v / 1000000); in seq_printf_with_thousands_grouping() 56 seq_printf(seq, "%03ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping() 58 seq_printf(seq, "%ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping() 60 seq_printf(seq, "%ld", v); in seq_printf_with_thousands_grouping() 113 static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *seq, in drbd_syncer_progress() argument 125 seq_printf(seq, "\t["); in drbd_syncer_progress() 127 seq_printf(seq, "="); in drbd_syncer_progress() 128 seq_printf(seq, ">"); in drbd_syncer_progress() 130 seq_printf(seq, "."); in drbd_syncer_progress() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | proc.c | 52 static int sockstat_seq_show(struct seq_file *seq, void *v) in sockstat_seq_show() argument 54 struct net *net = seq->private; in sockstat_seq_show() 63 socket_seq_show(seq); in sockstat_seq_show() 64 seq_printf(seq, "TCP: inuse %d orphan %d tw %d alloc %d mem %ld\n", in sockstat_seq_show() 68 seq_printf(seq, "UDP: inuse %d mem %ld\n", in sockstat_seq_show() 71 seq_printf(seq, "UDPLITE: inuse %d\n", in sockstat_seq_show() 73 seq_printf(seq, "RAW: inuse %d\n", in sockstat_seq_show() 76 seq_printf(seq, "FRAG: inuse %u memory %u\n", !!frag_mem, frag_mem); in sockstat_seq_show() 304 static void icmpmsg_put_line(struct seq_file *seq, unsigned long *vals, in icmpmsg_put_line() argument 310 seq_puts(seq, "\nIcmpMsg:"); in icmpmsg_put_line() [all …]
|
D | tcp_offload.c | 18 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument 21 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp() 28 seq += mss; in tcp_gso_tstamp() 61 unsigned int seq; in tcp_gso_segment() local 126 seq = ntohl(th->seq); in tcp_gso_segment() 129 tcp_gso_tstamp(segs, skb_shinfo(gso_skb)->tskey, seq, mss); in tcp_gso_segment() 141 seq += mss; in tcp_gso_segment() 150 th->seq = htonl(seq); in tcp_gso_segment() 248 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive()
|
D | tcp_ipv4.c | 315 void tcp_req_err(struct sock *sk, u32 seq) in tcp_req_err() argument 325 if (seq != tcp_rsk(req)->snt_isn) { in tcp_req_err() 369 __u32 seq, snd_una; in tcp_v4_err() local 385 seq = ntohl(th->seq); in tcp_v4_err() 387 return tcp_req_err(sk, seq); in tcp_v4_err() 413 !between(seq, snd_una, tp->snd_nxt)) { in tcp_v4_err() 455 if (seq != tp->snd_una || !icsk->icsk_retransmits || in tcp_v4_err() 616 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 619 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 709 struct sk_buff *skb, u32 seq, u32 ack, in tcp_v4_send_ack() argument [all …]
|
D | fib_trie.c | 2110 static void trie_show_stats(struct seq_file *seq, struct trie_stat *stat) in trie_show_stats() argument 2119 seq_printf(seq, "\tAver depth: %u.%02d\n", in trie_show_stats() 2121 seq_printf(seq, "\tMax depth: %u\n", stat->maxdepth); in trie_show_stats() 2123 seq_printf(seq, "\tLeaves: %u\n", stat->leaves); in trie_show_stats() 2126 seq_printf(seq, "\tPrefixes: %u\n", stat->prefixes); in trie_show_stats() 2129 seq_printf(seq, "\tInternal nodes: %u\n\t", stat->tnodes); in trie_show_stats() 2139 seq_printf(seq, " %u: %u", i, stat->nodesizes[i]); in trie_show_stats() 2142 seq_putc(seq, '\n'); in trie_show_stats() 2143 seq_printf(seq, "\tPointers: %u\n", pointers); in trie_show_stats() 2146 seq_printf(seq, "Null ptrs: %u\n", stat->nullpointers); in trie_show_stats() [all …]
|
D | tcp_input.c | 416 tp->rcvq_space.seq = tp->copied_seq; in tcp_init_buffer_space() 529 if (before(tp->rcv_nxt, tp->rcv_rtt_est.seq)) in tcp_rcv_rtt_measure() 534 tp->rcv_rtt_est.seq = tp->rcv_nxt + tp->rcv_wnd; in tcp_rcv_rtt_measure() 544 TCP_SKB_CB(skb)->seq >= inet_csk(sk)->icsk_ack.rcv_mss)) in tcp_rcv_rtt_measure_ts() 563 copied = tp->copied_seq - tp->rcvq_space.seq; in tcp_rcv_space_adjust() 614 tp->rcvq_space.seq = tp->copied_seq; in tcp_rcv_space_adjust() 870 before(TCP_SKB_CB(skb)->seq, in tcp_verify_retransmit_hint() 871 TCP_SKB_CB(tp->retransmit_skb_hint)->seq)) in tcp_verify_retransmit_hint() 1153 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) && in tcp_match_skb_to_sack() 1159 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq); in tcp_match_skb_to_sack() [all …]
|
D | ping.c | 243 unsigned int seq; in inet_get_ping_group_range_net() local 246 seq = read_seqbegin(&net->ipv4.ping_group_range.lock); in inet_get_ping_group_range_net() 250 } while (read_seqretry(&net->ipv4.ping_group_range.lock, seq)); in inet_get_ping_group_range_net() 1015 static struct sock *ping_get_first(struct seq_file *seq, int start) in ping_get_first() argument 1018 struct ping_iter_state *state = seq->private; in ping_get_first() 1019 struct net *net = seq_file_net(seq); in ping_get_first() 1042 static struct sock *ping_get_next(struct seq_file *seq, struct sock *sk) in ping_get_next() argument 1044 struct ping_iter_state *state = seq->private; in ping_get_next() 1045 struct net *net = seq_file_net(seq); in ping_get_next() 1052 return ping_get_first(seq, state->bucket + 1); in ping_get_next() [all …]
|
D | tcp_minisocks.c | 41 static bool tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win) in tcp_in_window() argument 43 if (seq == s_win) in tcp_in_window() 45 if (after(end_seq, s_win) && before(seq, e_win)) in tcp_in_window() 47 return seq == e_win && seq == end_seq; in tcp_in_window() 124 !tcp_in_window(TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq, in tcp_timewait_state_process() 133 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process() 139 TCP_SKB_CB(skb)->end_seq == TCP_SKB_CB(skb)->seq) { in tcp_timewait_state_process() 190 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process() 191 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 235 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() [all …]
|
D | raw.c | 936 static struct sock *raw_get_first(struct seq_file *seq) in raw_get_first() argument 939 struct raw_iter_state *state = raw_seq_private(seq); in raw_get_first() 944 if (sock_net(sk) == seq_file_net(seq)) in raw_get_first() 952 static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk) in raw_get_next() argument 954 struct raw_iter_state *state = raw_seq_private(seq); in raw_get_next() 960 } while (sk && sock_net(sk) != seq_file_net(seq)); in raw_get_next() 969 static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos) in raw_get_idx() argument 971 struct sock *sk = raw_get_first(seq); in raw_get_idx() 974 while (pos && (sk = raw_get_next(seq, sk)) != NULL) in raw_get_idx() 979 void *raw_seq_start(struct seq_file *seq, loff_t *pos) in raw_seq_start() argument [all …]
|
D | igmp.c | 2433 #define igmp_mc_seq_private(seq) ((struct igmp_mc_iter_state *)(seq)->private) argument 2435 static inline struct ip_mc_list *igmp_mc_get_first(struct seq_file *seq) in igmp_mc_get_first() argument 2437 struct net *net = seq_file_net(seq); in igmp_mc_get_first() 2439 struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); in igmp_mc_get_first() 2457 static struct ip_mc_list *igmp_mc_get_next(struct seq_file *seq, struct ip_mc_list *im) in igmp_mc_get_next() argument 2459 struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); in igmp_mc_get_next() 2476 static struct ip_mc_list *igmp_mc_get_idx(struct seq_file *seq, loff_t pos) in igmp_mc_get_idx() argument 2478 struct ip_mc_list *im = igmp_mc_get_first(seq); in igmp_mc_get_idx() 2480 while (pos && (im = igmp_mc_get_next(seq, im)) != NULL) in igmp_mc_get_idx() 2485 static void *igmp_mc_seq_start(struct seq_file *seq, loff_t *pos) in igmp_mc_seq_start() argument [all …]
|
/linux-4.1.27/net/sctp/ |
D | proc.c | 74 static int sctp_snmp_seq_show(struct seq_file *seq, void *v) in sctp_snmp_seq_show() argument 76 struct net *net = seq->private; in sctp_snmp_seq_show() 80 seq_printf(seq, "%-32s\t%ld\n", sctp_snmp_list[i].name, in sctp_snmp_seq_show() 121 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs() argument 149 seq_printf(seq, "*"); in sctp_seq_dump_local_addrs() 151 af->seq_dump_addr(seq, addr); in sctp_seq_dump_local_addrs() 157 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs() argument 173 seq_printf(seq, "*"); in sctp_seq_dump_remote_addrs() 175 af->seq_dump_addr(seq, addr); in sctp_seq_dump_remote_addrs() 180 static void *sctp_eps_seq_start(struct seq_file *seq, loff_t *pos) in sctp_eps_seq_start() argument [all …]
|
D | objcnt.c | 79 static int sctp_objcnt_seq_show(struct seq_file *seq, void *v) in sctp_objcnt_seq_show() argument 84 seq_setwidth(seq, 127); in sctp_objcnt_seq_show() 85 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show() 87 seq_pad(seq, '\n'); in sctp_objcnt_seq_show() 91 static void *sctp_objcnt_seq_start(struct seq_file *seq, loff_t *pos) in sctp_objcnt_seq_start() argument 96 static void sctp_objcnt_seq_stop(struct seq_file *seq, void *v) in sctp_objcnt_seq_stop() argument 100 static void *sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sctp_objcnt_seq_next() argument
|
/linux-4.1.27/net/atm/ |
D | proc.c | 44 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]", atomic_read(&dev->refcnt)); in atm_dev_info() [all …]
|
D | clip.c | 702 static void svc_addr(struct seq_file *seq, struct sockaddr_atmsvc *addr) in svc_addr() argument 708 seq_printf(seq, "%s", addr->sas_addr.pub); in svc_addr() 710 seq_putc(seq, '+'); in svc_addr() 712 seq_printf(seq, "%s", "(none)"); in svc_addr() 723 seq_printf(seq, "%02X", *prv++); in svc_addr() 725 seq_putc(seq, '.'); in svc_addr() 733 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info() argument 753 seq_printf(seq, "%-6s%-4s%-4s%5ld ", in atmarp_info() 760 seq_printf(seq, "%s", buf); in atmarp_info() 764 seq_printf(seq, "(resolving)\n"); in atmarp_info() [all …]
|
D | resources.h | 23 void *atm_dev_seq_start(struct seq_file *seq, loff_t *pos); 24 void atm_dev_seq_stop(struct seq_file *seq, void *v); 25 void *atm_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos);
|
/linux-4.1.27/drivers/char/ |
D | nvram.c | 126 static void mach_proc_infos(unsigned char *contents, struct seq_file *seq, 389 static int nvram_proc_read(struct seq_file *seq, void *offset) in nvram_proc_read() argument 399 mach_proc_infos(contents, seq, offset); in nvram_proc_read() 523 static void pc_proc_infos(unsigned char *nvram, struct seq_file *seq, in pc_proc_infos() argument 533 seq_printf(seq, "Checksum status: %svalid\n", checksum ? "" : "not "); in pc_proc_infos() 535 seq_printf(seq, "# floppies : %d\n", in pc_proc_infos() 537 seq_printf(seq, "Floppy 0 type : "); in pc_proc_infos() 540 seq_printf(seq, "%s\n", floppy_types[type]); in pc_proc_infos() 542 seq_printf(seq, "%d (unknown)\n", type); in pc_proc_infos() 543 seq_printf(seq, "Floppy 1 type : "); in pc_proc_infos() [all …]
|
D | misc.c | 66 static void *misc_seq_start(struct seq_file *seq, loff_t *pos) in misc_seq_start() argument 72 static void *misc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in misc_seq_next() argument 77 static void misc_seq_stop(struct seq_file *seq, void *v) in misc_seq_stop() argument 82 static int misc_seq_show(struct seq_file *seq, void *v) in misc_seq_show() argument 86 seq_printf(seq, "%3i %s\n", p->minor, p->name ? p->name : ""); in misc_seq_show()
|
/linux-4.1.27/net/8021q/ |
D | vlanproc.c | 39 static int vlan_seq_show(struct seq_file *seq, void *v); 40 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos); 41 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos); 42 static void vlan_seq_stop(struct seq_file *seq, void *); 43 static int vlandev_seq_show(struct seq_file *seq, void *v); 202 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start() argument 206 struct net *net = seq_file_net(seq); in vlan_seq_start() 224 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next() argument 227 struct net *net = seq_file_net(seq); in vlan_seq_next() 245 static void vlan_seq_stop(struct seq_file *seq, void *v) in vlan_seq_stop() argument [all …]
|
/linux-4.1.27/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.c | 218 struct asd_seq_data *seq = &asd_ha->seq; in asd_init_scbs() local 222 asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs; in asd_init_scbs() 223 asd_ha->seq.tc_index_array = kzalloc(asd_ha->seq.tc_index_bitmap_bits* in asd_init_scbs() 225 if (!asd_ha->seq.tc_index_array) in asd_init_scbs() 228 bitmap_bytes = (asd_ha->seq.tc_index_bitmap_bits+7)/8; in asd_init_scbs() 230 asd_ha->seq.tc_index_bitmap = kzalloc(bitmap_bytes, GFP_KERNEL); in asd_init_scbs() 231 if (!asd_ha->seq.tc_index_bitmap) in asd_init_scbs() 234 spin_lock_init(&seq->tc_index_lock); in asd_init_scbs() 236 seq->next_scb.size = sizeof(struct scb); in asd_init_scbs() 237 seq->next_scb.vaddr = dma_pool_alloc(asd_ha->scb_pool, GFP_KERNEL, in asd_init_scbs() [all …]
|
D | aic94xx_hwi.h | 219 struct asd_seq_data seq; /* sequencer related */ member 301 static inline void asd_tc_index_release(struct asd_seq_data *seq, int index) in asd_tc_index_release() argument 303 seq->tc_index_array[index] = NULL; in asd_tc_index_release() 304 clear_bit(index, seq->tc_index_bitmap); in asd_tc_index_release() 309 static inline int asd_tc_index_get(struct asd_seq_data *seq, void *ptr) in asd_tc_index_get() argument 313 index = find_first_zero_bit(seq->tc_index_bitmap, in asd_tc_index_get() 314 seq->tc_index_bitmap_bits); in asd_tc_index_get() 315 if (index == seq->tc_index_bitmap_bits) in asd_tc_index_get() 318 seq->tc_index_array[index] = ptr; in asd_tc_index_get() 319 set_bit(index, seq->tc_index_bitmap); in asd_tc_index_get() [all …]
|
D | aic94xx_init.c | 560 struct asd_seq_data *seq = &asd_ha->seq; in asd_free_edbs() local 563 for (i = 0; i < seq->num_edbs; i++) in asd_free_edbs() 564 asd_free_coherent(asd_ha, seq->edb_arr[i]); in asd_free_edbs() 565 kfree(seq->edb_arr); in asd_free_edbs() 566 seq->edb_arr = NULL; in asd_free_edbs() 571 struct asd_seq_data *seq = &asd_ha->seq; in asd_free_escbs() local 574 for (i = 0; i < seq->num_escbs; i++) { in asd_free_escbs() 575 if (!list_empty(&seq->escb_arr[i]->list)) in asd_free_escbs() 576 list_del_init(&seq->escb_arr[i]->list); in asd_free_escbs() 578 asd_ascb_free(seq->escb_arr[i]); in asd_free_escbs() [all …]
|
D | aic94xx_scb.c | 241 struct asd_dma_tok *edb = ascb->ha->seq.edb_arr[edb_el]; in asd_bytes_dmaed_tasklet() 384 struct asd_seq_data *seq = &ascb->ha->seq; in asd_invalidate_edb() local 387 struct asd_dma_tok *edb = seq->edb_arr[ascb->edb_index + edb_id]; in asd_invalidate_edb() 460 list_for_each_entry_safe(a, b, &asd_ha->seq.pend_q, list) { in escb_tasklet_complete() 486 list_for_each_entry_safe(a, b, &asd_ha->seq.pend_q, list) { in escb_tasklet_complete() 510 list_for_each_entry(a, &asd_ha->seq.pend_q, list) { in escb_tasklet_complete() 536 list_for_each_entry(a, &asd_ha->seq.pend_q, list) { in escb_tasklet_complete() 615 struct asd_seq_data *seq = &asd_ha->seq; in asd_init_post_escbs() local 618 for (i = 0; i < seq->num_escbs; i++) in asd_init_post_escbs() 619 seq->escb_arr[i]->tasklet_complete = escb_tasklet_complete; in asd_init_post_escbs() [all …]
|
/linux-4.1.27/net/tipc/ |
D | name_table.c | 476 struct name_seq *seq = nametbl_find_seq(net, type); in tipc_nametbl_insert_publ() local 486 if (!seq) in tipc_nametbl_insert_publ() 487 seq = tipc_nameseq_create(type, &tn->nametbl->seq_hlist[index]); in tipc_nametbl_insert_publ() 488 if (!seq) in tipc_nametbl_insert_publ() 491 spin_lock_bh(&seq->lock); in tipc_nametbl_insert_publ() 492 publ = tipc_nameseq_insert_publ(net, seq, type, lower, upper, in tipc_nametbl_insert_publ() 494 spin_unlock_bh(&seq->lock); in tipc_nametbl_insert_publ() 503 struct name_seq *seq = nametbl_find_seq(net, type); in tipc_nametbl_remove_publ() local 505 if (!seq) in tipc_nametbl_remove_publ() 508 spin_lock_bh(&seq->lock); in tipc_nametbl_remove_publ() [all …]
|
D | subscr.c | 92 if (found_lower < sub->seq.lower) in tipc_subscr_overlap() 93 found_lower = sub->seq.lower; in tipc_subscr_overlap() 94 if (found_upper > sub->seq.upper) in tipc_subscr_overlap() 95 found_upper = sub->seq.upper; in tipc_subscr_overlap() 142 subscr_send_event(sub, sub->evt.s.seq.lower, sub->evt.s.seq.upper, in subscr_timeout() 264 sub->seq.type = htohl(s->seq.type, swap); in subscr_subscribe() 265 sub->seq.lower = htohl(s->seq.lower, swap); in subscr_subscribe() 266 sub->seq.upper = htohl(s->seq.upper, swap); in subscr_subscribe() 271 (sub->seq.lower > sub->seq.upper)) { in subscr_subscribe()
|
/linux-4.1.27/net/ipx/ |
D | ipx_proc.c | 17 static void *ipx_seq_interface_start(struct seq_file *seq, loff_t *pos) in ipx_seq_interface_start() argument 23 static void *ipx_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_interface_next() argument 28 static void ipx_seq_interface_stop(struct seq_file *seq, void *v) in ipx_seq_interface_stop() argument 33 static int ipx_seq_interface_show(struct seq_file *seq, void *v) in ipx_seq_interface_show() argument 38 seq_puts(seq, "Network Node_Address Primary Device " in ipx_seq_interface_show() 41 seq_puts(seq, " refcnt"); in ipx_seq_interface_show() 43 seq_puts(seq, "\n"); in ipx_seq_interface_show() 48 seq_printf(seq, "%08X ", ntohl(i->if_netnum)); in ipx_seq_interface_show() 49 seq_printf(seq, "%02X%02X%02X%02X%02X%02X ", in ipx_seq_interface_show() 52 seq_printf(seq, "%-9s", i == ipx_primary_net ? "Yes" : "No"); in ipx_seq_interface_show() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 62 static void radeon_fence_write(struct radeon_device *rdev, u32 seq, int ring) in radeon_fence_write() argument 67 *drv->cpu_addr = cpu_to_le32(seq); in radeon_fence_write() 70 WREG32(drv->scratch_reg, seq); in radeon_fence_write() 86 u32 seq = 0; in radeon_fence_read() local 90 seq = le32_to_cpu(*drv->cpu_addr); in radeon_fence_read() 92 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read() 95 seq = RREG32(drv->scratch_reg); in radeon_fence_read() 97 return seq; in radeon_fence_read() 133 u64 seq = ++rdev->fence_drv[ring].sync_seq[ring]; in radeon_fence_emit() local 141 (*fence)->seq = seq; in radeon_fence_emit() [all …]
|
/linux-4.1.27/kernel/time/ |
D | timekeeping.c | 40 seqcount_t seq; member 57 seqcount_t seq; member 176 unsigned int seq; in timekeeping_get_delta() local 186 seq = read_seqcount_begin(&tk_core.seq); in timekeeping_get_delta() 191 } while (read_seqcount_retry(&tk_core.seq, seq)); in timekeeping_get_delta() 369 raw_write_seqcount_latch(&tkf->seq); in update_fast_timekeeper() 375 raw_write_seqcount_latch(&tkf->seq); in update_fast_timekeeper() 416 unsigned int seq; in __ktime_get_fast_ns() local 420 seq = raw_read_seqcount(&tkf->seq); in __ktime_get_fast_ns() 421 tkr = tkf->base + (seq & 0x01); in __ktime_get_fast_ns() [all …]
|
D | sched_clock.c | 63 seqcount_t seq; member 99 unsigned long seq; in sched_clock() local 103 seq = raw_read_seqcount(&cd.seq); in sched_clock() 104 rd = cd.read_data + (seq & 1); in sched_clock() 109 } while (read_seqcount_retry(&cd.seq, seq)); in sched_clock() 130 raw_write_seqcount_latch(&cd.seq); in update_clock_read_data() 136 raw_write_seqcount_latch(&cd.seq); in update_clock_read_data() 267 unsigned long seq = raw_read_seqcount(&cd.seq); in suspended_sched_clock_read() local 269 return cd.read_data[seq & 1].epoch_cyc; in suspended_sched_clock_read()
|
D | jiffies.c | 82 unsigned long seq; in get_jiffies_64() local 86 seq = read_seqbegin(&jiffies_lock); in get_jiffies_64() 88 } while (read_seqretry(&jiffies_lock, seq)); in get_jiffies_64()
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_seqadj.c | 22 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_init() 30 __be32 seq, s32 off) in nf_ct_seqadj_set() argument 47 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_set() 49 before(this_way->correction_pos, ntohl(seq))) { in nf_ct_seqadj_set() 50 this_way->correction_pos = ntohl(seq); in nf_ct_seqadj_set() 69 nf_ct_seqadj_set(ct, ctinfo, th->seq, off); in nf_ct_tcp_seqadj_set() 78 struct nf_ct_seqadj *seq) in nf_ct_sack_block_adjust() argument 85 if (after(ntohl(sack->start_seq) - seq->offset_before, in nf_ct_sack_block_adjust() 86 seq->correction_pos)) in nf_ct_sack_block_adjust() 88 seq->offset_after); in nf_ct_sack_block_adjust() [all …]
|
D | nf_conntrack_standalone.c | 55 static struct hlist_nulls_node *ct_get_first(struct seq_file *seq) in ct_get_first() argument 57 struct net *net = seq_file_net(seq); in ct_get_first() 58 struct ct_iter_state *st = seq->private; in ct_get_first() 71 static struct hlist_nulls_node *ct_get_next(struct seq_file *seq, in ct_get_next() argument 74 struct net *net = seq_file_net(seq); in ct_get_next() 75 struct ct_iter_state *st = seq->private; in ct_get_next() 90 static struct hlist_nulls_node *ct_get_idx(struct seq_file *seq, loff_t pos) in ct_get_idx() argument 92 struct hlist_nulls_node *head = ct_get_first(seq); in ct_get_idx() 95 while (pos && (head = ct_get_next(seq, head))) in ct_get_idx() 100 static void *ct_seq_start(struct seq_file *seq, loff_t *pos) in ct_seq_start() argument [all …]
|
D | x_tables.c | 919 static void *xt_table_seq_start(struct seq_file *seq, loff_t *pos) in xt_table_seq_start() argument 921 struct xt_names_priv *priv = seq->private; in xt_table_seq_start() 922 struct net *net = seq_file_net(seq); in xt_table_seq_start() 929 static void *xt_table_seq_next(struct seq_file *seq, void *v, loff_t *pos) in xt_table_seq_next() argument 931 struct xt_names_priv *priv = seq->private; in xt_table_seq_next() 932 struct net *net = seq_file_net(seq); in xt_table_seq_next() 938 static void xt_table_seq_stop(struct seq_file *seq, void *v) in xt_table_seq_stop() argument 940 struct xt_names_priv *priv = seq->private; in xt_table_seq_stop() 946 static int xt_table_seq_show(struct seq_file *seq, void *v) in xt_table_seq_show() argument 951 seq_printf(seq, "%s\n", table->name); in xt_table_seq_show() [all …]
|
D | nf_conntrack_expect.c | 466 static struct hlist_node *ct_expect_get_first(struct seq_file *seq) in ct_expect_get_first() argument 468 struct net *net = seq_file_net(seq); in ct_expect_get_first() 469 struct ct_expect_iter_state *st = seq->private; in ct_expect_get_first() 480 static struct hlist_node *ct_expect_get_next(struct seq_file *seq, in ct_expect_get_next() argument 483 struct net *net = seq_file_net(seq); in ct_expect_get_next() 484 struct ct_expect_iter_state *st = seq->private; in ct_expect_get_next() 495 static struct hlist_node *ct_expect_get_idx(struct seq_file *seq, loff_t pos) in ct_expect_get_idx() argument 497 struct hlist_node *head = ct_expect_get_first(seq); in ct_expect_get_idx() 500 while (pos && (head = ct_expect_get_next(seq, head))) in ct_expect_get_idx() 505 static void *exp_seq_start(struct seq_file *seq, loff_t *pos) in exp_seq_start() argument [all …]
|
D | nf_synproxy_core.c | 244 static void *synproxy_cpu_seq_start(struct seq_file *seq, loff_t *pos) in synproxy_cpu_seq_start() argument 246 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_start() 262 static void *synproxy_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos) in synproxy_cpu_seq_next() argument 264 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_next() 277 static void synproxy_cpu_seq_stop(struct seq_file *seq, void *v) in synproxy_cpu_seq_stop() argument 282 static int synproxy_cpu_seq_show(struct seq_file *seq, void *v) in synproxy_cpu_seq_show() argument 287 seq_printf(seq, "entries\t\tsyn_received\t" in synproxy_cpu_seq_show() 293 seq_printf(seq, "%08x\t%08x\t%08x\t%08x\t%08x\t%08x\n", 0, in synproxy_cpu_seq_show()
|
/linux-4.1.27/net/core/ |
D | net-procfs.c | 15 static inline struct net_device *dev_from_same_bucket(struct seq_file *seq, loff_t *pos) in dev_from_same_bucket() argument 17 struct net *net = seq_file_net(seq); in dev_from_same_bucket() 31 static inline struct net_device *dev_from_bucket(struct seq_file *seq, loff_t *pos) in dev_from_bucket() argument 37 dev = dev_from_same_bucket(seq, pos); in dev_from_bucket() 52 static void *dev_seq_start(struct seq_file *seq, loff_t *pos) in dev_seq_start() argument 62 return dev_from_bucket(seq, pos); in dev_seq_start() 65 static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in dev_seq_next() argument 68 return dev_from_bucket(seq, pos); in dev_seq_next() 71 static void dev_seq_stop(struct seq_file *seq, void *v) in dev_seq_stop() argument 77 static void dev_seq_printf_stats(struct seq_file *seq, struct net_device *dev) in dev_seq_printf_stats() argument [all …]
|
D | secure_seq.c | 26 static u32 seq_scale(u32 seq) in seq_scale() argument 38 return seq + (ktime_get_real_ns() >> 6); in seq_scale() 127 u64 seq; in secure_dccp_sequence_number() local 137 seq = hash[0] | (((u64)hash[1]) << 32); in secure_dccp_sequence_number() 138 seq += ktime_get_real_ns(); in secure_dccp_sequence_number() 139 seq &= (1ull << 48) - 1; in secure_dccp_sequence_number() 141 return seq; in secure_dccp_sequence_number() 151 u64 seq; in secure_dccpv6_sequence_number() local 165 seq = hash[0] | (((u64)hash[1]) << 32); in secure_dccpv6_sequence_number() 166 seq += ktime_get_real_ns(); in secure_dccpv6_sequence_number() [all …]
|
D | pktgen.c | 474 static int pgctrl_show(struct seq_file *seq, void *v) in pgctrl_show() argument 476 seq_puts(seq, version); in pgctrl_show() 529 static int pktgen_if_show(struct seq_file *seq, void *v) in pktgen_if_show() argument 531 const struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_show() 535 seq_printf(seq, in pktgen_if_show() 540 seq_printf(seq, in pktgen_if_show() 545 seq_printf(seq, " flows: %u flowlen: %u\n", pkt_dev->cflows, in pktgen_if_show() 548 seq_printf(seq, in pktgen_if_show() 554 seq_printf(seq, " skb_priority: %u\n", in pktgen_if_show() 558 seq_printf(seq, in pktgen_if_show() [all …]
|
D | neighbour.c | 1291 unsigned int seq; in neigh_resolve_output() local 1298 seq = read_seqbegin(&neigh->ha_lock); in neigh_resolve_output() 1301 } while (read_seqretry(&neigh->ha_lock, seq)); in neigh_resolve_output() 1322 unsigned int seq; in neigh_connected_output() local 1327 seq = read_seqbegin(&neigh->ha_lock); in neigh_connected_output() 1330 } while (read_seqretry(&neigh->ha_lock, seq)); in neigh_connected_output() 1783 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument 1788 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info() 1872 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument 1878 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info() [all …]
|
/linux-4.1.27/drivers/mtd/devices/ |
D | st_spi_fsm.c | 255 uint8_t seq[16]; member 524 static int stfsm_mx25_en_32bit_addr_seq(struct stfsm_seq *seq) in stfsm_mx25_en_32bit_addr_seq() argument 526 seq->seq_opc[0] = (SEQ_OPC_PADS_1 | in stfsm_mx25_en_32bit_addr_seq() 531 seq->seq[0] = STFSM_INST_CMD1; in stfsm_mx25_en_32bit_addr_seq() 532 seq->seq[1] = STFSM_INST_WAIT; in stfsm_mx25_en_32bit_addr_seq() 533 seq->seq[2] = STFSM_INST_STOP; in stfsm_mx25_en_32bit_addr_seq() 535 seq->seq_cfg = (SEQ_CFG_PADS_1 | in stfsm_mx25_en_32bit_addr_seq() 581 .seq = { 597 .seq = { 617 .seq = { [all …]
|
/linux-4.1.27/net/ipv6/ |
D | proc.c | 33 static int sockstat6_seq_show(struct seq_file *seq, void *v) in sockstat6_seq_show() argument 35 struct net *net = seq->private; in sockstat6_seq_show() 38 seq_printf(seq, "TCP6: inuse %d\n", in sockstat6_seq_show() 40 seq_printf(seq, "UDP6: inuse %d\n", in sockstat6_seq_show() 42 seq_printf(seq, "UDPLITE6: inuse %d\n", in sockstat6_seq_show() 44 seq_printf(seq, "RAW6: inuse %d\n", in sockstat6_seq_show() 46 seq_printf(seq, "FRAG6: inuse %u memory %u\n", !!frag_mem, frag_mem); in sockstat6_seq_show() 154 static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, atomic_long_t *smib) in snmp6_seq_show_icmpv6msg() argument 170 seq_printf(seq, "%-32s\t%lu\n", name, in snmp6_seq_show_icmpv6msg() 183 seq_printf(seq, "%-32s\t%lu\n", name, val); in snmp6_seq_show_icmpv6msg() [all …]
|
D | anycast.c | 427 #define ac6_seq_private(seq) ((struct ac6_iter_state *)(seq)->private) argument 429 static inline struct ifacaddr6 *ac6_get_first(struct seq_file *seq) in ac6_get_first() argument 432 struct ac6_iter_state *state = ac6_seq_private(seq); in ac6_get_first() 433 struct net *net = seq_file_net(seq); in ac6_get_first() 452 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument 454 struct ac6_iter_state *state = ac6_seq_private(seq); in ac6_get_next() 475 static struct ifacaddr6 *ac6_get_idx(struct seq_file *seq, loff_t pos) in ac6_get_idx() argument 477 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() 479 while (pos && (im = ac6_get_next(seq, im)) != NULL) in ac6_get_idx() 484 static void *ac6_seq_start(struct seq_file *seq, loff_t *pos) in ac6_seq_start() argument [all …]
|
D | ip6_flowlabel.c | 696 #define ip6fl_seq_private(seq) ((struct ip6fl_iter_state *)(seq)->private) argument 698 static struct ip6_flowlabel *ip6fl_get_first(struct seq_file *seq) in ip6fl_get_first() argument 701 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_first() 702 struct net *net = seq_file_net(seq); in ip6fl_get_first() 715 static struct ip6_flowlabel *ip6fl_get_next(struct seq_file *seq, struct ip6_flowlabel *fl) in ip6fl_get_next() argument 717 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_next() 718 struct net *net = seq_file_net(seq); in ip6fl_get_next() 739 static struct ip6_flowlabel *ip6fl_get_idx(struct seq_file *seq, loff_t pos) in ip6fl_get_idx() argument 741 struct ip6_flowlabel *fl = ip6fl_get_first(seq); in ip6fl_get_idx() 743 while (pos && (fl = ip6fl_get_next(seq, fl)) != NULL) in ip6fl_get_idx() [all …]
|
D | ping.c | 196 static void *ping_v6_seq_start(struct seq_file *seq, loff_t *pos) in ping_v6_seq_start() argument 198 return ping_seq_start(seq, pos, AF_INET6); in ping_v6_seq_start() 201 static int ping_v6_seq_show(struct seq_file *seq, void *v) in ping_v6_seq_show() argument 204 seq_puts(seq, IPV6_SEQ_DGRAM_HEADER); in ping_v6_seq_show() 206 int bucket = ((struct ping_iter_state *) seq->private)->bucket; in ping_v6_seq_show() 210 ip6_dgram_sock_seq_show(seq, v, srcp, destp, bucket); in ping_v6_seq_show()
|
D | tcp_ipv6.c | 332 __u32 seq, snd_una; in tcp_v6_err() local 351 seq = ntohl(th->seq); in tcp_v6_err() 353 return tcp_req_err(sk, seq); in tcp_v6_err() 372 !between(seq, snd_una, tp->snd_nxt)) { in tcp_v6_err() 733 static void tcp_v6_send_response(struct sock *sk, struct sk_buff *skb, u32 seq, in tcp_v6_send_response() argument 770 t1->seq = htonl(seq); in tcp_v6_send_response() 835 u32 seq = 0, ack_seq = 0; in tcp_v6_send_reset() local 886 seq = ntohl(th->ack_seq); in tcp_v6_send_reset() 888 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 892 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset() [all …]
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_conntrack_l3proto_ipv4_compat.c | 32 static struct hlist_nulls_node *ct_get_first(struct seq_file *seq) in ct_get_first() argument 34 struct net *net = seq_file_net(seq); in ct_get_first() 35 struct ct_iter_state *st = seq->private; in ct_get_first() 49 static struct hlist_nulls_node *ct_get_next(struct seq_file *seq, in ct_get_next() argument 52 struct net *net = seq_file_net(seq); in ct_get_next() 53 struct ct_iter_state *st = seq->private; in ct_get_next() 67 static struct hlist_nulls_node *ct_get_idx(struct seq_file *seq, loff_t pos) in ct_get_idx() argument 69 struct hlist_nulls_node *head = ct_get_first(seq); in ct_get_idx() 72 while (pos && (head = ct_get_next(seq, head))) in ct_get_idx() 77 static void *ct_seq_start(struct seq_file *seq, loff_t *pos) in ct_seq_start() argument [all …]
|
D | ipt_SYNPROXY.c | 95 nth->seq = htonl(__cookie_v4_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 96 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 136 nth->seq = htonl(recv_seq - 1); in synproxy_send_server_syn() 181 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 182 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 219 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack() 294 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg4() 335 ntohl(th->seq) + 1); in ipv4_synproxy_hook() 363 ntohl(th->seq) + 1)) in ipv4_synproxy_hook() 390 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv4_synproxy_hook()
|
/linux-4.1.27/net/mac80211/ |
D | key.c | 376 size_t seq_len, const u8 *seq, in ieee80211_key_alloc() argument 408 if (seq) { in ieee80211_key_alloc() 411 get_unaligned_le32(&seq[2]); in ieee80211_key_alloc() 413 get_unaligned_le16(seq); in ieee80211_key_alloc() 421 if (seq) { in ieee80211_key_alloc() 425 seq[IEEE80211_CCMP_PN_LEN - j - 1]; in ieee80211_key_alloc() 442 for (i = 0; seq && i < IEEE80211_NUM_TIDS + 1; i++) in ieee80211_key_alloc() 445 seq[IEEE80211_CCMP_256_PN_LEN - j - 1]; in ieee80211_key_alloc() 464 if (seq) in ieee80211_key_alloc() 467 seq[IEEE80211_CMAC_PN_LEN - j - 1]; in ieee80211_key_alloc() [all …]
|
/linux-4.1.27/net/sunrpc/ |
D | stats.c | 34 static int rpc_proc_show(struct seq_file *seq, void *v) { in rpc_proc_show() argument 35 const struct rpc_stat *statp = seq->private; in rpc_proc_show() 39 seq_printf(seq, in rpc_proc_show() 45 seq_printf(seq, in rpc_proc_show() 55 seq_printf(seq, "proc%u %u", in rpc_proc_show() 58 seq_printf(seq, " %u", in rpc_proc_show() 60 seq_putc(seq, '\n'); in rpc_proc_show() 81 void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) { in svc_seq_show() argument 87 seq_printf(seq, in svc_seq_show() 93 seq_printf(seq, in svc_seq_show() [all …]
|
/linux-4.1.27/fs/nfsd/ |
D | stats.c | 36 static int nfsd_proc_show(struct seq_file *seq, void *v) in nfsd_proc_show() argument 40 seq_printf(seq, "rc %u %u %u\nfh %u %u %u %u %u\nio %u %u\n", in nfsd_proc_show() 52 seq_printf(seq, "th %u %u", nfsdstats.th_cnt, nfsdstats.th_fullcnt); in nfsd_proc_show() 56 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show() 60 seq_printf(seq, "\nra %u", nfsdstats.ra_size); in nfsd_proc_show() 62 seq_printf(seq, " %u", nfsdstats.ra_depth[i]); in nfsd_proc_show() 63 seq_putc(seq, '\n'); in nfsd_proc_show() 66 svc_seq_show(seq, &nfsd_svcstats); in nfsd_proc_show() 71 seq_printf(seq,"proc4ops %u", LAST_NFS4_OP + 1); in nfsd_proc_show() 73 seq_printf(seq, " %u", nfsdstats.nfs4_opcount[i]); in nfsd_proc_show() [all …]
|
/linux-4.1.27/arch/arm/vdso/ |
D | vgettimeofday.c | 36 u32 seq; in __vdso_read_begin() local 38 seq = ACCESS_ONCE(vdata->seq_count); in __vdso_read_begin() 39 if (seq & 1) { in __vdso_read_begin() 43 return seq; in __vdso_read_begin() 48 u32 seq; in vdso_read_begin() local 50 seq = __vdso_read_begin(vdata); in vdso_read_begin() 53 return seq; in vdso_read_begin() 82 u32 seq; in do_realtime_coarse() local 85 seq = vdso_read_begin(vdata); in do_realtime_coarse() 90 } while (vdso_read_retry(vdata, seq)); in do_realtime_coarse() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 294 const __u64 seq = fid_seq(fid); in fid_is_namespace_visible() local 299 (fid_seq_is_norm(seq) || fid_seq_is_igif(seq))) || in fid_is_namespace_visible() 303 static inline int fid_seq_in_fldb(__u64 seq) in fid_seq_in_fldb() argument 305 return fid_seq_is_igif(seq) || fid_seq_is_norm(seq) || in fid_seq_in_fldb() 306 fid_seq_is_root(seq) || fid_seq_is_dot(seq); in fid_seq_in_fldb() 309 static inline void lu_last_id_fid(struct lu_fid *fid, __u64 seq) in lu_last_id_fid() argument 311 if (fid_seq_is_mdt0(seq)) { in lu_last_id_fid() 314 LASSERTF(fid_seq_is_norm(seq) || fid_seq_is_echo(seq) || in lu_last_id_fid() 315 fid_seq_is_idif(seq), "%#llx\n", seq); in lu_last_id_fid() 316 fid->f_seq = seq; in lu_last_id_fid() [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_seq_pdu_list.c | 34 struct iscsi_seq *seq; in iscsit_dump_seq_list() local 40 seq = &cmd->seq_list[i]; in iscsit_dump_seq_list() 43 " seq_no: %d\n", i, seq->pdu_start, seq->pdu_count, in iscsit_dump_seq_list() 44 seq->offset, seq->xfer_len, seq->seq_send_order, in iscsit_dump_seq_list() 45 seq->seq_no); in iscsit_dump_seq_list() 304 struct iscsi_seq *seq = cmd->seq_list; in iscsit_do_build_pdu_and_seq_lists() local 330 seq[seq_no].pdu_start = i; in iscsit_do_build_pdu_and_seq_lists() 331 seq[seq_no].seq_no = seq_no; in iscsit_do_build_pdu_and_seq_lists() 332 seq[seq_no].offset = offset; in iscsit_do_build_pdu_and_seq_lists() 333 seq[seq_no].orig_offset = offset; in iscsit_do_build_pdu_and_seq_lists() [all …]
|
D | iscsi_target_erl1.c | 256 struct iscsi_seq *first_seq = NULL, *seq = NULL; in iscsit_create_recovery_datain_values_datasequenceinorder_no() local 273 seq = &cmd->seq_list[i]; in iscsit_create_recovery_datain_values_datasequenceinorder_no() 275 if (!seq->seq_send_order) in iscsit_create_recovery_datain_values_datasequenceinorder_no() 276 first_seq = seq; in iscsit_create_recovery_datain_values_datasequenceinorder_no() 282 if (!seq->sent) { in iscsit_create_recovery_datain_values_datasequenceinorder_no() 284 " 0x%08x\n\n", seq->first_datasn, in iscsit_create_recovery_datain_values_datasequenceinorder_no() 285 seq->last_datasn); in iscsit_create_recovery_datain_values_datasequenceinorder_no() 294 if ((seq->first_datasn < begrun) && in iscsit_create_recovery_datain_values_datasequenceinorder_no() 295 (seq->last_datasn < begrun)) { in iscsit_create_recovery_datain_values_datasequenceinorder_no() 297 " 0x%08x\n", seq->first_datasn, in iscsit_create_recovery_datain_values_datasequenceinorder_no() [all …]
|
D | iscsi_target_datain_values.c | 191 struct iscsi_seq *seq; in iscsit_set_datain_values_no_and_yes() local 217 seq = iscsit_get_seq_holder_for_datain(cmd, seq_send_order); in iscsit_set_datain_values_no_and_yes() 218 if (!seq) in iscsit_set_datain_values_no_and_yes() 221 seq->sent = 1; in iscsit_set_datain_values_no_and_yes() 223 if (!dr->recovery && !seq->next_burst_len) in iscsit_set_datain_values_no_and_yes() 224 seq->first_datasn = cmd->data_sn; in iscsit_set_datain_values_no_and_yes() 226 offset = (seq->offset + seq->next_burst_len); in iscsit_set_datain_values_no_and_yes() 237 seq->next_burst_len = 0; in iscsit_set_datain_values_no_and_yes() 240 if ((seq->next_burst_len + in iscsit_set_datain_values_no_and_yes() 245 datain->offset = (seq->offset + seq->next_burst_len); in iscsit_set_datain_values_no_and_yes() [all …]
|
D | iscsi_target_erl0.c | 100 struct iscsi_seq *seq; in iscsit_dataout_within_command_recovery_check() local 102 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_within_command_recovery_check() 104 if (!seq) in iscsit_dataout_within_command_recovery_check() 109 cmd->seq_ptr = seq; in iscsit_dataout_within_command_recovery_check() 112 if (seq->status == in iscsit_dataout_within_command_recovery_check() 114 (seq->offset != be32_to_cpu(hdr->offset) || in iscsit_dataout_within_command_recovery_check() 115 seq->data_sn != be32_to_cpu(hdr->datasn))) in iscsit_dataout_within_command_recovery_check() 118 if (seq->status == in iscsit_dataout_within_command_recovery_check() 120 seq->data_sn != be32_to_cpu(hdr->datasn)) in iscsit_dataout_within_command_recovery_check() 124 if (seq->status == DATAOUT_SEQUENCE_COMPLETE) in iscsit_dataout_within_command_recovery_check() [all …]
|
D | iscsi_target_tmr.c | 491 struct iscsi_seq *seq = NULL; in iscsit_task_reassign_prepare_unsolicited_dataout() local 525 seq = &cmd->seq_list[i]; in iscsit_task_reassign_prepare_unsolicited_dataout() 527 if (seq->type != SEQTYPE_UNSOLICITED) in iscsit_task_reassign_prepare_unsolicited_dataout() 531 (seq->offset - seq->orig_offset); in iscsit_task_reassign_prepare_unsolicited_dataout() 533 seq->data_sn = 0; in iscsit_task_reassign_prepare_unsolicited_dataout() 534 seq->offset = seq->orig_offset; in iscsit_task_reassign_prepare_unsolicited_dataout() 535 seq->next_burst_len = 0; in iscsit_task_reassign_prepare_unsolicited_dataout() 536 seq->status = DATAOUT_SEQUENCE_WITHIN_COMMAND_RECOVERY; in iscsit_task_reassign_prepare_unsolicited_dataout() 541 for (j = 0; j < seq->pdu_count; j++) { in iscsit_task_reassign_prepare_unsolicited_dataout() 542 pdu = &cmd->pdu_list[j+seq->pdu_start]; in iscsit_task_reassign_prepare_unsolicited_dataout() [all …]
|
/linux-4.1.27/net/x25/ |
D | x25_proc.c | 30 static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos) in x25_seq_route_start() argument 37 static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_route_next() argument 42 static void x25_seq_route_stop(struct seq_file *seq, void *v) in x25_seq_route_stop() argument 48 static int x25_seq_route_show(struct seq_file *seq, void *v) in x25_seq_route_show() argument 53 seq_puts(seq, "Address Digits Device\n"); in x25_seq_route_show() 58 seq_printf(seq, "%-15s %-6d %-5s\n", in x25_seq_route_show() 65 static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos) in x25_seq_socket_start() argument 72 static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_socket_next() argument 77 static void x25_seq_socket_stop(struct seq_file *seq, void *v) in x25_seq_socket_stop() argument 83 static int x25_seq_socket_show(struct seq_file *seq, void *v) in x25_seq_socket_show() argument [all …]
|
/linux-4.1.27/drivers/isdn/capi/ |
D | kcapi_proc.c | 38 static void *controller_start(struct seq_file *seq, loff_t *pos) in controller_start() argument 49 static void *controller_next(struct seq_file *seq, void *v, loff_t *pos) in controller_next() argument 58 static void controller_stop(struct seq_file *seq, void *v) in controller_stop() argument 64 static int controller_show(struct seq_file *seq, void *v) in controller_show() argument 71 seq_printf(seq, "%d %-10s %-8s %-16s %s\n", in controller_show() 80 static int contrstats_show(struct seq_file *seq, void *v) in contrstats_show() argument 87 seq_printf(seq, "%d %lu %lu %lu %lu\n", in contrstats_show() 143 static void *applications_start(struct seq_file *seq, loff_t *pos) in applications_start() argument 155 applications_next(struct seq_file *seq, void *v, loff_t *pos) in applications_next() argument 164 static void applications_stop(struct seq_file *seq, void *v) in applications_stop() argument [all …]
|
/linux-4.1.27/drivers/dma-buf/ |
D | reservation.c | 93 write_seqcount_begin(&obj->seq); in reservation_object_add_shared_inplace() 104 write_seqcount_end(&obj->seq); in reservation_object_add_shared_inplace() 119 write_seqcount_end(&obj->seq); in reservation_object_add_shared_inplace() 167 write_seqcount_begin(&obj->seq); in reservation_object_add_shared_replace() 173 write_seqcount_end(&obj->seq); in reservation_object_add_shared_replace() 218 write_seqcount_begin(&obj->seq); in reservation_object_add_excl_fence() 223 write_seqcount_end(&obj->seq); in reservation_object_add_excl_fence() 248 unsigned seq; in reservation_object_get_fences_rcu() local 250 seq = read_seqcount_begin(&obj->seq); in reservation_object_get_fences_rcu() 280 retry = read_seqcount_retry(&obj->seq, seq); in reservation_object_get_fences_rcu() [all …]
|
/linux-4.1.27/net/appletalk/ |
D | atalk_proc.c | 30 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos) in atalk_seq_interface_start() argument 39 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_interface_next() argument 56 static void atalk_seq_interface_stop(struct seq_file *seq, void *v) in atalk_seq_interface_stop() argument 62 static int atalk_seq_interface_show(struct seq_file *seq, void *v) in atalk_seq_interface_show() argument 67 seq_puts(seq, "Interface Address Networks " in atalk_seq_interface_show() 73 seq_printf(seq, "%-16s %04X:%02X %04X-%04X %d\n", in atalk_seq_interface_show() 91 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos) in atalk_seq_route_start() argument 100 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_route_next() argument 117 static void atalk_seq_route_stop(struct seq_file *seq, void *v) in atalk_seq_route_stop() argument 123 static int atalk_seq_route_show(struct seq_file *seq, void *v) in atalk_seq_route_show() argument [all …]
|
/linux-4.1.27/tools/perf/ |
D | builtin-lock.c | 361 struct lock_seq_stat *seq; in get_seq() local 363 list_for_each_entry(seq, &ts->seq_list, list) { in get_seq() 364 if (seq->addr == addr) in get_seq() 365 return seq; in get_seq() 368 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq() 369 if (!seq) { in get_seq() 373 seq->state = SEQ_STATE_UNINITIALIZED; in get_seq() 374 seq->addr = addr; in get_seq() 376 list_add(&seq->list, &ts->seq_list); in get_seq() 377 return seq; in get_seq() [all …]
|
/linux-4.1.27/drivers/staging/unisys/visorchannel/ |
D | visorchannel_funcs.c | 528 sigqueue_debug(struct signal_queue_header *q, int which, struct seq_file *seq) in sigqueue_debug() argument 530 seq_printf(seq, "Signal Queue #%d\n", which); in sigqueue_debug() 531 seq_printf(seq, " VersionId = %lu\n", (ulong)q->version); in sigqueue_debug() 532 seq_printf(seq, " Type = %lu\n", (ulong)q->chtype); in sigqueue_debug() 533 seq_printf(seq, " oSignalBase = %llu\n", in sigqueue_debug() 535 seq_printf(seq, " SignalSize = %lu\n", (ulong)q->signal_size); in sigqueue_debug() 536 seq_printf(seq, " MaxSignalSlots = %lu\n", in sigqueue_debug() 538 seq_printf(seq, " MaxSignals = %lu\n", (ulong)q->max_signals); in sigqueue_debug() 539 seq_printf(seq, " FeatureFlags = %-16.16Lx\n", in sigqueue_debug() 541 seq_printf(seq, " NumSignalsSent = %llu\n", in sigqueue_debug() [all …]
|
/linux-4.1.27/include/linux/ |
D | u64_stats_sync.h | 66 seqcount_t seq; member 72 # define u64_stats_init(syncp) seqcount_init(syncp.seq) 80 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin() 87 write_seqcount_end(&syncp->seq); in u64_stats_update_end() 94 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin() 107 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry() 125 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin_irq() 138 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry_irq()
|
D | seqlock.h | 403 static inline void read_seqbegin_or_lock(seqlock_t *lock, int *seq) in read_seqbegin_or_lock() argument 405 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock() 406 *seq = read_seqbegin(lock); in read_seqbegin_or_lock() 411 static inline int need_seqretry(seqlock_t *lock, int seq) in need_seqretry() argument 413 return !(seq & 1) && read_seqretry(lock, seq); in need_seqretry() 416 static inline void done_seqretry(seqlock_t *lock, int seq) in done_seqretry() argument 418 if (seq & 1) in done_seqretry() 460 read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) in read_seqbegin_or_lock_irqsave() argument 464 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock_irqsave() 465 *seq = read_seqbegin(lock); in read_seqbegin_or_lock_irqsave() [all …]
|
D | trace_seq.h | 15 struct seq_buf seq; member 22 seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); in trace_seq_init() 41 return seq_buf_used(&s->seq); in trace_seq_used() 56 return s->buffer + seq_buf_used(&s->seq); in trace_seq_buffer_ptr() 68 return s->full || seq_buf_has_overflowed(&s->seq); in trace_seq_has_overflowed()
|
/linux-4.1.27/net/irda/ |
D | discovery.c | 332 static void *discovery_seq_start(struct seq_file *seq, loff_t *pos) in discovery_seq_start() argument 338 static void *discovery_seq_next(struct seq_file *seq, void *v, loff_t *pos) in discovery_seq_next() argument 346 static void discovery_seq_stop(struct seq_file *seq, void *v) in discovery_seq_stop() argument 351 static int discovery_seq_show(struct seq_file *seq, void *v) in discovery_seq_show() argument 354 seq_puts(seq, "IrLMP: Discovery log:\n\n"); in discovery_seq_show() 358 seq_printf(seq, "nickname: %s, hint: 0x%02x%02x", in discovery_seq_show() 364 seq_puts(seq, "PnP Compatible "); in discovery_seq_show() 366 seq_puts(seq, "PDA/Palmtop "); in discovery_seq_show() 368 seq_puts(seq, "Computer "); in discovery_seq_show() 370 seq_puts(seq, "Printer "); in discovery_seq_show() [all …]
|
D | irlap.c | 1073 static void *irlap_seq_start(struct seq_file *seq, loff_t *pos) in irlap_seq_start() argument 1075 struct irlap_iter_state *iter = seq->private; in irlap_seq_start() 1092 static void *irlap_seq_next(struct seq_file *seq, void *v, loff_t *pos) in irlap_seq_next() argument 1094 struct irlap_iter_state *iter = seq->private; in irlap_seq_next() 1101 static void irlap_seq_stop(struct seq_file *seq, void *v) in irlap_seq_stop() argument 1106 static int irlap_seq_show(struct seq_file *seq, void *v) in irlap_seq_show() argument 1108 const struct irlap_iter_state *iter = seq->private; in irlap_seq_show() 1113 seq_printf(seq, "irlap%d ", iter->id); in irlap_seq_show() 1114 seq_printf(seq, "state: %s\n", in irlap_seq_show() 1117 seq_printf(seq, " device name: %s, ", in irlap_seq_show() [all …]
|
D | irttp.c | 1794 static void *irttp_seq_start(struct seq_file *seq, loff_t *pos) in irttp_seq_start() argument 1796 struct irttp_iter_state *iter = seq->private; in irttp_seq_start() 1814 static void *irttp_seq_next(struct seq_file *seq, void *v, loff_t *pos) in irttp_seq_next() argument 1816 struct irttp_iter_state *iter = seq->private; in irttp_seq_next() 1823 static void irttp_seq_stop(struct seq_file *seq, void *v) in irttp_seq_stop() argument 1828 static int irttp_seq_show(struct seq_file *seq, void *v) in irttp_seq_show() argument 1830 const struct irttp_iter_state *iter = seq->private; in irttp_seq_show() 1833 seq_printf(seq, "TSAP %d, ", iter->id); in irttp_seq_show() 1834 seq_printf(seq, "stsap_sel: %02x, ", in irttp_seq_show() 1836 seq_printf(seq, "dtsap_sel: %02x\n", in irttp_seq_show() [all …]
|
D | irlmp.c | 1853 static void *irlmp_seq_start(struct seq_file *seq, loff_t *pos) in irlmp_seq_start() argument 1855 struct irlmp_iter_state *iter = seq->private; in irlmp_seq_start() 1875 static void *irlmp_seq_next(struct seq_file *seq, void *v, loff_t *pos) in irlmp_seq_next() argument 1877 struct irlmp_iter_state *iter = seq->private; in irlmp_seq_next() 1905 static void irlmp_seq_stop(struct seq_file *seq, void *v) in irlmp_seq_stop() argument 1907 struct irlmp_iter_state *iter = seq->private; in irlmp_seq_stop() 1913 static int irlmp_seq_show(struct seq_file *seq, void *v) in irlmp_seq_show() argument 1915 const struct irlmp_iter_state *iter = seq->private; in irlmp_seq_show() 1919 seq_puts(seq, "Unconnected LSAPs:\n"); in irlmp_seq_show() 1921 seq_puts(seq, "\nRegistered Link Layers:\n"); in irlmp_seq_show() [all …]
|
D | iriap.c | 977 static void *irias_seq_start(struct seq_file *seq, loff_t *pos) in irias_seq_start() argument 984 static void *irias_seq_next(struct seq_file *seq, void *v, loff_t *pos) in irias_seq_next() argument 993 static void irias_seq_stop(struct seq_file *seq, void *v) in irias_seq_stop() argument 998 static int irias_seq_show(struct seq_file *seq, void *v) in irias_seq_show() argument 1001 seq_puts(seq, "LM-IAS Objects:\n"); in irias_seq_show() 1008 seq_printf(seq, "name: %s, id=%d\n", in irias_seq_show() 1024 seq_printf(seq, " - Attribute name: \"%s\", ", in irias_seq_show() 1026 seq_printf(seq, "value[%s]: ", in irias_seq_show() 1031 seq_printf(seq, "%d\n", in irias_seq_show() 1035 seq_printf(seq, "\"%s\"\n", in irias_seq_show() [all …]
|
/linux-4.1.27/include/net/sctp/ |
D | command.h | 214 static inline int sctp_init_cmd_seq(sctp_cmd_seq_t *seq) in sctp_init_cmd_seq() argument 217 seq->last_used_slot = seq->cmds + SCTP_MAX_NUM_COMMANDS; in sctp_init_cmd_seq() 218 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq() 228 static inline void sctp_add_cmd_sf(sctp_cmd_seq_t *seq, sctp_verb_t verb, in sctp_add_cmd_sf() argument 231 sctp_cmd_t *cmd = seq->last_used_slot - 1; in sctp_add_cmd_sf() 233 BUG_ON(cmd < seq->cmds); in sctp_add_cmd_sf() 237 seq->last_used_slot = cmd; in sctp_add_cmd_sf() 243 static inline sctp_cmd_t *sctp_next_cmd(sctp_cmd_seq_t *seq) in sctp_next_cmd() argument 245 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd() 248 return --seq->next_cmd; in sctp_next_cmd()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_lproc.c | 76 static int sptlrpc_info_lprocfs_seq_show(struct seq_file *seq, void *v) in sptlrpc_info_lprocfs_seq_show() argument 78 struct obd_device *dev = seq->private; in sptlrpc_info_lprocfs_seq_show() 94 seq_printf(seq, "rpc flavor: %s\n", in sptlrpc_info_lprocfs_seq_show() 96 seq_printf(seq, "bulk flavor: %s\n", in sptlrpc_info_lprocfs_seq_show() 98 seq_printf(seq, "flags: %s\n", in sptlrpc_info_lprocfs_seq_show() 100 seq_printf(seq, "id: %d\n", sec->ps_id); in sptlrpc_info_lprocfs_seq_show() 101 seq_printf(seq, "refcount: %d\n", in sptlrpc_info_lprocfs_seq_show() 103 seq_printf(seq, "nctx: %d\n", atomic_read(&sec->ps_nctx)); in sptlrpc_info_lprocfs_seq_show() 104 seq_printf(seq, "gc internal %ld\n", sec->ps_gc_interval); in sptlrpc_info_lprocfs_seq_show() 105 seq_printf(seq, "gc next %ld\n", in sptlrpc_info_lprocfs_seq_show() [all …]
|
/linux-4.1.27/net/llc/ |
D | llc_proc.c | 29 static void llc_ui_format_mac(struct seq_file *seq, u8 *addr) in llc_ui_format_mac() argument 31 seq_printf(seq, "%pM", addr); in llc_ui_format_mac() 59 static void *llc_seq_start(struct seq_file *seq, loff_t *pos) in llc_seq_start() argument 80 static void *llc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in llc_seq_next() argument 114 static void llc_seq_stop(struct seq_file *seq, void *v) in llc_seq_stop() argument 126 static int llc_seq_socket_show(struct seq_file *seq, void *v) in llc_seq_socket_show() argument 132 seq_puts(seq, "SKt Mc local_mac_sap remote_mac_sap " in llc_seq_socket_show() 140 seq_printf(seq, "%2X %2X ", sk->sk_type, 0); in llc_seq_socket_show() 143 llc_ui_format_mac(seq, llc->dev->dev_addr); in llc_seq_socket_show() 146 llc_ui_format_mac(seq, addr); in llc_seq_socket_show() [all …]
|
/linux-4.1.27/kernel/ |
D | user_namespace.c | 429 static int uid_m_show(struct seq_file *seq, void *v) in uid_m_show() argument 431 struct user_namespace *ns = seq->private; in uid_m_show() 436 lower_ns = seq_user_ns(seq); in uid_m_show() 442 seq_printf(seq, "%10u %10u %10u\n", in uid_m_show() 450 static int gid_m_show(struct seq_file *seq, void *v) in gid_m_show() argument 452 struct user_namespace *ns = seq->private; in gid_m_show() 457 lower_ns = seq_user_ns(seq); in gid_m_show() 463 seq_printf(seq, "%10u %10u %10u\n", in gid_m_show() 471 static int projid_m_show(struct seq_file *seq, void *v) in projid_m_show() argument 473 struct user_namespace *ns = seq->private; in projid_m_show() [all …]
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | netdebug.c | 104 static void *nst_seq_start(struct seq_file *seq, loff_t *pos) in nst_seq_start() argument 106 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_start() 115 static void *nst_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nst_seq_next() argument 117 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_next() 130 static int nst_seq_show(struct seq_file *seq, void *v) in nst_seq_show() argument 132 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_show() 147 seq_printf(seq, "%p:\n" in nst_seq_show() 174 static void nst_seq_stop(struct seq_file *seq, void *v) in nst_seq_stop() argument 199 struct seq_file *seq = file->private_data; in nst_fop_release() local 200 struct o2net_send_tracking *dummy_nst = seq->private; in nst_fop_release() [all …]
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_app.c | 295 __u32 seq = ntohl(th->seq); in vs_fix_seq() local 303 if(after(seq, vseq->init_seq)) { in vs_fix_seq() 304 th->seq = htonl(seq + vseq->delta); in vs_fix_seq() 308 th->seq = htonl(seq + vseq->previous_delta); in vs_fix_seq() 352 unsigned int flag, __u32 seq, int diff) in vs_seq_update() argument 356 if (!(cp->flags & flag) || after(seq, vseq->init_seq)) { in vs_seq_update() 359 vseq->init_seq = seq; in vs_seq_update() 371 __u32 seq; in app_tcp_pkt_out() local 381 seq = ntohl(th->seq); in app_tcp_pkt_out() 405 IP_VS_CONN_F_OUT_SEQ, seq, diff); in app_tcp_pkt_out() [all …]
|
/linux-4.1.27/net/wireless/ |
D | wext-proc.c | 29 static void wireless_seq_printf_stats(struct seq_file *seq, in wireless_seq_printf_stats() argument 49 seq_printf(seq, "%6s: %04x %3d%c %3d%c %3d%c %6d %6d %6d " in wireless_seq_printf_stats() 75 static int wireless_dev_seq_show(struct seq_file *seq, void *v) in wireless_dev_seq_show() argument 80 seq_printf(seq, "Inter-| sta-| Quality | Discarded " in wireless_dev_seq_show() 86 wireless_seq_printf_stats(seq, v); in wireless_dev_seq_show() 90 static void *wireless_dev_seq_start(struct seq_file *seq, loff_t *pos) in wireless_dev_seq_start() argument 92 struct net *net = seq_file_net(seq); in wireless_dev_seq_start() 107 static void *wireless_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in wireless_dev_seq_next() argument 109 struct net *net = seq_file_net(seq); in wireless_dev_seq_next() 117 static void wireless_dev_seq_stop(struct seq_file *seq, void *v) in wireless_dev_seq_stop() argument
|
D | lib80211_crypt_ccmp.c | 380 static int lib80211_ccmp_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_set_key() argument 393 if (seq) { in lib80211_ccmp_set_key() 394 data->rx_pn[0] = seq[5]; in lib80211_ccmp_set_key() 395 data->rx_pn[1] = seq[4]; in lib80211_ccmp_set_key() 396 data->rx_pn[2] = seq[3]; in lib80211_ccmp_set_key() 397 data->rx_pn[3] = seq[2]; in lib80211_ccmp_set_key() 398 data->rx_pn[4] = seq[1]; in lib80211_ccmp_set_key() 399 data->rx_pn[5] = seq[0]; in lib80211_ccmp_set_key() 410 static int lib80211_ccmp_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_get_key() argument 421 if (seq) { in lib80211_ccmp_get_key() [all …]
|
D | lib80211_crypt_tkip.c | 644 static int lib80211_tkip_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_tkip_set_key() argument 664 if (seq) { in lib80211_tkip_set_key() 665 tkey->rx_iv32 = (seq[5] << 24) | (seq[4] << 16) | in lib80211_tkip_set_key() 666 (seq[3] << 8) | seq[2]; in lib80211_tkip_set_key() 667 tkey->rx_iv16 = (seq[1] << 8) | seq[0]; in lib80211_tkip_set_key() 677 static int lib80211_tkip_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_tkip_get_key() argument 688 if (seq) { in lib80211_tkip_get_key() 695 seq[0] = tkey->tx_iv16; in lib80211_tkip_get_key() 696 seq[1] = tkey->tx_iv16 >> 8; in lib80211_tkip_get_key() 697 seq[2] = tkey->tx_iv32; in lib80211_tkip_get_key() [all …]
|
/linux-4.1.27/net/rxrpc/ |
D | ar-proc.c | 31 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_call_seq_start() argument 37 static void *rxrpc_call_seq_next(struct seq_file *seq, void *v, loff_t *pos) in rxrpc_call_seq_next() argument 42 static void rxrpc_call_seq_stop(struct seq_file *seq, void *v) in rxrpc_call_seq_stop() argument 47 static int rxrpc_call_seq_show(struct seq_file *seq, void *v) in rxrpc_call_seq_show() argument 54 seq_puts(seq, in rxrpc_call_seq_show() 72 seq_printf(seq, in rxrpc_call_seq_show() 112 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument 118 static void *rxrpc_connection_seq_next(struct seq_file *seq, void *v, in rxrpc_connection_seq_next() argument 124 static void rxrpc_connection_seq_stop(struct seq_file *seq, void *v) in rxrpc_connection_seq_stop() argument 129 static int rxrpc_connection_seq_show(struct seq_file *seq, void *v) in rxrpc_connection_seq_show() argument [all …]
|
D | ar-input.c | 135 struct sk_buff *skb, u32 seq) in rxrpc_fast_process_data() argument 141 _enter("{%u,%u},,{%u}", call->rx_data_post, call->rx_first_oos, seq); in rxrpc_fast_process_data() 155 if (seq < call->rx_data_post) { in rxrpc_fast_process_data() 156 _debug("dup #%u [-%u]", seq, call->rx_data_post); in rxrpc_fast_process_data() 163 ackbit = seq - (call->rx_data_eaten + 1); in rxrpc_fast_process_data() 167 seq, call->rx_data_eaten, call->rx_data_post); in rxrpc_fast_process_data() 172 if (seq >= call->ackr_win_top) { in rxrpc_fast_process_data() 173 _debug("exceed #%u [%u]", seq, call->ackr_win_top); in rxrpc_fast_process_data() 179 if (seq == call->rx_data_expect) { in rxrpc_fast_process_data() 182 } else if (seq > call->rx_data_expect) { in rxrpc_fast_process_data() [all …]
|
D | ar-skbuff.c | 58 u32 seq; in rxrpc_hard_ACK_data() local 62 _debug("hard ACK #%u", ntohl(sp->hdr.seq)); in rxrpc_hard_ACK_data() 70 seq = ntohl(sp->hdr.seq); in rxrpc_hard_ACK_data() 71 ASSERTCMP(seq, ==, call->rx_data_eaten + 1); in rxrpc_hard_ACK_data() 72 call->rx_data_eaten = seq; in rxrpc_hard_ACK_data()
|
D | ar-recvmsg.c | 161 ntohl(sp->hdr.seq), skb->len, sp->offset); in rxrpc_recvmsg() 172 ASSERTCMP(ntohl(sp->hdr.seq), >=, call->rx_data_recv); in rxrpc_recvmsg() 173 ASSERTCMP(ntohl(sp->hdr.seq), <=, call->rx_data_recv + 1); in rxrpc_recvmsg() 174 call->rx_data_recv = ntohl(sp->hdr.seq); in rxrpc_recvmsg() 176 ASSERTCMP(ntohl(sp->hdr.seq), >, call->rx_data_eaten); in rxrpc_recvmsg() 367 ASSERTCMP(ntohl(sp->hdr.seq), >=, call->rx_data_recv); in rxrpc_kernel_data_delivered() 368 ASSERTCMP(ntohl(sp->hdr.seq), <=, call->rx_data_recv + 1); in rxrpc_kernel_data_delivered() 369 call->rx_data_recv = ntohl(sp->hdr.seq); in rxrpc_kernel_data_delivered() 371 ASSERTCMP(ntohl(sp->hdr.seq), >, call->rx_data_eaten); in rxrpc_kernel_data_delivered()
|
/linux-4.1.27/fs/dlm/ |
D | ast.c | 28 (unsigned long long)lkb->lkb_last_bast.seq, in dlm_dump_lkb_callbacks() 36 (unsigned long long)lkb->lkb_last_cast.seq, in dlm_dump_lkb_callbacks() 45 (unsigned long long)lkb->lkb_callbacks[i].seq, in dlm_dump_lkb_callbacks() 54 int status, uint32_t sbflags, uint64_t seq) in dlm_add_lkb_callback() argument 62 if (lkb->lkb_callbacks[i].seq) in dlm_add_lkb_callback() 75 prev_seq = lkb->lkb_callbacks[i-1].seq; in dlm_add_lkb_callback() 84 (unsigned long long)seq, in dlm_add_lkb_callback() 93 lkb->lkb_callbacks[i].seq = seq; in dlm_add_lkb_callback() 104 lkb->lkb_id, (unsigned long long)seq, in dlm_add_lkb_callback() 121 if (!lkb->lkb_callbacks[0].seq) { in dlm_rem_lkb_callback() [all …]
|
D | debug_fs.c | 383 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument 389 print_format1(ri->rsb, seq); in table_seq_show() 393 …seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_na… in table_seq_show() 396 print_format2(ri->rsb, seq); in table_seq_show() 400 seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show() 403 print_format3(ri->rsb, seq); in table_seq_show() 407 seq_puts(seq, "version 4 rsb 2\n"); in table_seq_show() 410 print_format4(ri->rsb, seq); in table_seq_show() 422 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument 426 struct dlm_ls *ls = seq->private; in table_seq_start() [all …]
|
D | recoverd.c | 33 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking() argument 40 if (ls->ls_recover_seq == seq) { in enable_locking() 58 log_rinfo(ls, "dlm_recover %llu", (unsigned long long)rv->seq); in ls_recover() 218 error = enable_locking(ls, rv->seq); in ls_recover() 239 (unsigned long long)rv->seq, ls->ls_generation, in ls_recover() 249 (unsigned long long)rv->seq, error); in ls_recover() 265 if (rv && ls->ls_recover_seq == rv->seq) in do_ls_recovery()
|
/linux-4.1.27/drivers/acpi/ |
D | battery.c | 795 static int acpi_battery_print_info(struct seq_file *seq, int result) in acpi_battery_print_info() argument 797 struct acpi_battery *battery = seq->private; in acpi_battery_print_info() 802 seq_printf(seq, "present: %s\n", in acpi_battery_print_info() 807 seq_printf(seq, "design capacity: unknown\n"); in acpi_battery_print_info() 809 seq_printf(seq, "design capacity: %d %sh\n", in acpi_battery_print_info() 814 seq_printf(seq, "last full capacity: unknown\n"); in acpi_battery_print_info() 816 seq_printf(seq, "last full capacity: %d %sh\n", in acpi_battery_print_info() 820 seq_printf(seq, "battery technology: %srechargeable\n", in acpi_battery_print_info() 824 seq_printf(seq, "design voltage: unknown\n"); in acpi_battery_print_info() 826 seq_printf(seq, "design voltage: %d mV\n", in acpi_battery_print_info() [all …]
|
D | proc.c | 22 acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset) in acpi_system_wakeup_device_seq_show() argument 26 seq_printf(seq, "Device\tS-state\t Status Sysfs node\n"); in acpi_system_wakeup_device_seq_show() 37 seq_printf(seq, "%s\t S%d\t", in acpi_system_wakeup_device_seq_show() 44 seq_printf(seq, "%c%-8s\n", in acpi_system_wakeup_device_seq_show() 58 seq_printf(seq, "\t\t"); in acpi_system_wakeup_device_seq_show() 60 seq_printf(seq, "%c%-8s %s:%s\n", in acpi_system_wakeup_device_seq_show()
|
D | ac.c | 176 static int acpi_ac_seq_show(struct seq_file *seq, void *offset) in acpi_ac_seq_show() argument 178 struct acpi_ac *ac = seq->private; in acpi_ac_seq_show() 185 seq_puts(seq, "ERROR: Unable to read AC Adapter state\n"); in acpi_ac_seq_show() 189 seq_puts(seq, "state: "); in acpi_ac_seq_show() 192 seq_puts(seq, "off-line\n"); in acpi_ac_seq_show() 195 seq_puts(seq, "on-line\n"); in acpi_ac_seq_show() 198 seq_puts(seq, "unknown\n"); in acpi_ac_seq_show()
|
/linux-4.1.27/arch/s390/kernel/ |
D | idle.c | 56 unsigned int seq; in show_idle_count() local 59 seq = read_seqcount_begin(&idle->seqcount); in show_idle_count() 63 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_count() 73 unsigned int seq; in show_idle_time() local 77 seq = read_seqcount_begin(&idle->seqcount); in show_idle_time() 81 } while (read_seqcount_retry(&idle->seqcount, seq)); in show_idle_time() 91 unsigned int seq; in arch_cpu_idle_time() local 95 seq = read_seqcount_begin(&idle->seqcount); in arch_cpu_idle_time() 98 } while (read_seqcount_retry(&idle->seqcount, seq)); in arch_cpu_idle_time()
|
/linux-4.1.27/drivers/md/ |
D | dm-log-userspace-transfer.c | 46 uint32_t seq; member 66 msg->seq = tfr->seq; in dm_ulog_sendto_server() 84 uint32_t rtn_seq = (msg) ? msg->seq : (tfr) ? tfr->seq : 0; in fill_pkg() 98 if (rtn_seq != pkg->seq) in fill_pkg() 145 (unsigned)sizeof(*tfr), msg->len, msg->seq); in cn_ulog_callback() 204 tfr->seq = dm_ulog_seq++; in dm_consult_userspace() 219 pkg.seq = tfr->seq; in dm_consult_userspace() 248 request_type, pkg.seq); in dm_consult_userspace()
|
D | faulty.c | 229 static void status(struct seq_file *seq, struct mddev *mddev) in status() argument 235 seq_printf(seq, " WriteTransient=%d(%d)", in status() 239 seq_printf(seq, " ReadTransient=%d(%d)", in status() 243 seq_printf(seq, " WritePersistent=%d(%d)", in status() 247 seq_printf(seq, " ReadPersistent=%d(%d)", in status() 252 seq_printf(seq, " ReadFixable=%d(%d)", in status() 256 seq_printf(seq, " WriteAll"); in status() 258 seq_printf(seq, " nfaults=%d", conf->nfaults); in status()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_io.c | 89 ep = fc_seq_exch(cmd->seq); in ft_queue_data_in() 91 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_queue_data_in() 110 struct fc_seq *seq = cmd->seq; in ft_queue_data_in() local 112 if (!seq) { in ft_queue_data_in() 183 error = lport->tt.seq_send(lport, seq, fp); in ft_queue_data_in() 218 struct fc_seq *seq = cmd->seq; in ft_recv_write_data() local 240 ep = fc_seq_exch(seq); in ft_recv_write_data() 350 struct fc_seq *seq; in ft_invl_hw_context() local 355 seq = cmd->seq; in ft_invl_hw_context() 358 if (cmd->was_ddp_setup && seq) { in ft_invl_hw_context() [all …]
|
D | tfc_cmd.c | 61 caller, cmd, cmd->sess, cmd->seq, se_cmd); in _ft_dump_cmd() 73 sp = cmd->seq; in _ft_dump_cmd() 136 ep = fc_seq_exch(cmd->seq); in ft_queue_status() 171 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_queue_status() 175 rc = lport->tt.seq_send(lport, cmd->seq, fp); in ft_queue_status() 187 lport->tt.exch_done(cmd->seq); in ft_queue_status() 215 ep = fc_seq_exch(cmd->seq); in ft_write_pending() 225 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_write_pending() 246 lport->tt.seq_send(lport, cmd->seq, fp); in ft_write_pending() 256 return fc_seq_exch(cmd->seq)->rxid; in ft_get_task_tag() [all …]
|
/linux-4.1.27/net/phonet/ |
D | socket.c | 540 static struct sock *pn_sock_get_idx(struct seq_file *seq, loff_t pos) in pn_sock_get_idx() argument 542 struct net *net = seq_file_net(seq); in pn_sock_get_idx() 560 static struct sock *pn_sock_get_next(struct seq_file *seq, struct sock *sk) in pn_sock_get_next() argument 562 struct net *net = seq_file_net(seq); in pn_sock_get_next() 571 static void *pn_sock_seq_start(struct seq_file *seq, loff_t *pos) in pn_sock_seq_start() argument 575 return *pos ? pn_sock_get_idx(seq, *pos - 1) : SEQ_START_TOKEN; in pn_sock_seq_start() 578 static void *pn_sock_seq_next(struct seq_file *seq, void *v, loff_t *pos) in pn_sock_seq_next() argument 583 sk = pn_sock_get_idx(seq, 0); in pn_sock_seq_next() 585 sk = pn_sock_get_next(seq, v); in pn_sock_seq_next() 590 static void pn_sock_seq_stop(struct seq_file *seq, void *v) in pn_sock_seq_stop() argument [all …]
|
D | sysctl.c | 53 unsigned int seq; in phonet_get_local_port_range() local 56 seq = read_seqbegin(&local_port_range_lock); in phonet_get_local_port_range() 61 } while (read_seqretry(&local_port_range_lock, seq)); in phonet_get_local_port_range()
|
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/ |
D | parse-torture.sh | 82 }' > $T.seq 86 if test -s $T.seq 88 print_warning $title $title `cat $T.seq` 95 print_warning HOTPLUG FAILURES $title `cat $T.seq` 100 if test -s $T.seq 102 print_warning $title `cat $T.seq`
|
/linux-4.1.27/kernel/sched/ |
D | stats.c | 15 static int show_schedstat(struct seq_file *seq, void *v) in show_schedstat() argument 20 seq_printf(seq, "version %d\n", SCHEDSTAT_VERSION); in show_schedstat() 21 seq_printf(seq, "timestamp %lu\n", jiffies); in show_schedstat() 32 seq_printf(seq, in show_schedstat() 40 seq_printf(seq, "\n"); in show_schedstat() 48 seq_printf(seq, "domain%d %*pb", dcount++, in show_schedstat() 52 seq_printf(seq, " %u %u %u %u %u %u %u %u", in show_schedstat() 62 seq_printf(seq, in show_schedstat()
|
D | cputime.c | 291 unsigned int seq, nextseq; in thread_group_cputime() local 298 seq = nextseq; in thread_group_cputime() 299 flags = read_seqbegin_or_lock_irqsave(&sig->stats_lock, &seq); in thread_group_cputime() 312 } while (need_seqretry(&sig->stats_lock, seq)); in thread_group_cputime() 313 done_seqretry_irqrestore(&sig->stats_lock, seq, flags); in thread_group_cputime() 767 unsigned int seq; in task_gtime() local 771 seq = read_seqbegin(&t->vtime_seqlock); in task_gtime() 777 } while (read_seqretry(&t->vtime_seqlock, seq)); in task_gtime() 793 unsigned int seq; in fetch_task_cputime() local 800 seq = read_seqbegin(&t->vtime_seqlock); in fetch_task_cputime() [all …]
|
/linux-4.1.27/kernel/gcov/ |
D | gcc_3_4.c | 490 static int seq_write_gcov_u32(struct seq_file *seq, u32 v) in seq_write_gcov_u32() argument 492 return seq_write(seq, &v, sizeof(v)); in seq_write_gcov_u32() 505 static int seq_write_gcov_u64(struct seq_file *seq, u64 v) in seq_write_gcov_u64() argument 511 return seq_write(seq, data, sizeof(data)); in seq_write_gcov_u64() 521 int gcov_iter_write(struct gcov_iterator *iter, struct seq_file *seq) in gcov_iter_write() argument 527 rc = seq_write_gcov_u32(seq, GCOV_DATA_MAGIC); in gcov_iter_write() 530 rc = seq_write_gcov_u32(seq, iter->info->version); in gcov_iter_write() 533 rc = seq_write_gcov_u32(seq, iter->info->stamp); in gcov_iter_write() 536 rc = seq_write_gcov_u32(seq, GCOV_TAG_FUNCTION); in gcov_iter_write() 539 rc = seq_write_gcov_u32(seq, 2); in gcov_iter_write() [all …]
|
D | fs.c | 94 static void *gcov_seq_start(struct seq_file *seq, loff_t *pos) in gcov_seq_start() argument 98 gcov_iter_start(seq->private); in gcov_seq_start() 100 if (gcov_iter_next(seq->private)) in gcov_seq_start() 103 return seq->private; in gcov_seq_start() 107 static void *gcov_seq_next(struct seq_file *seq, void *data, loff_t *pos) in gcov_seq_next() argument 119 static int gcov_seq_show(struct seq_file *seq, void *data) in gcov_seq_show() argument 123 if (gcov_iter_write(iter, seq)) in gcov_seq_show() 128 static void gcov_seq_stop(struct seq_file *seq, void *data) in gcov_seq_stop() argument 182 struct seq_file *seq; in gcov_seq_open() local 201 seq = file->private_data; in gcov_seq_open() [all …]
|
/linux-4.1.27/arch/x86/vdso/ |
D | vclock_gettime.c | 232 unsigned long seq; in do_realtime() local 237 seq = gtod_read_begin(gtod); in do_realtime() 243 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime() 253 unsigned long seq; in do_monotonic() local 258 seq = gtod_read_begin(gtod); in do_monotonic() 264 } while (unlikely(gtod_read_retry(gtod, seq))); in do_monotonic() 274 unsigned long seq; in do_realtime_coarse() local 276 seq = gtod_read_begin(gtod); in do_realtime_coarse() 279 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime_coarse() 284 unsigned long seq; in do_monotonic_coarse() local [all …]
|
/linux-4.1.27/fs/ |
D | fs_struct.c | 19 write_seqcount_begin(&fs->seq); in set_fs_root() 22 write_seqcount_end(&fs->seq); in set_fs_root() 38 write_seqcount_begin(&fs->seq); in set_fs_pwd() 41 write_seqcount_end(&fs->seq); in set_fs_pwd() 69 write_seqcount_begin(&fs->seq); in chroot_fs_refs() 72 write_seqcount_end(&fs->seq); in chroot_fs_refs() 118 seqcount_init(&fs->seq); in copy_fs_struct() 164 .seq = SEQCNT_ZERO(init_fs.seq),
|
D | dcache.c | 1165 unsigned seq = 0; in d_walk() local 1170 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk() 1232 if (need_seqretry(&rename_lock, seq)) in d_walk() 1244 if (need_seqretry(&rename_lock, seq)) in d_walk() 1252 done_seqretry(&rename_lock, seq); in d_walk() 1258 BUG_ON(seq & 1); in d_walk() 1261 seq = 1; in d_walk() 2099 unsigned int seq, in slow_dentry_cmp() argument 2105 if (read_seqcount_retry(&dentry->d_seq, seq)) { in slow_dentry_cmp() 2174 unsigned seq; in __d_lookup_rcu() local [all …]
|
D | seq_file.c | 607 struct seq_file *seq = file->private_data; in seq_release_private() local 609 kfree(seq->private); in seq_release_private() 610 seq->private = NULL; in seq_release_private() 620 struct seq_file *seq; in __seq_open_private() local 630 seq = f->private_data; in __seq_open_private() 631 seq->private = private; in __seq_open_private() 731 int seq_write(struct seq_file *seq, const void *data, size_t len) in seq_write() argument 733 if (seq->count + len < seq->size) { in seq_write() 734 memcpy(seq->buf + seq->count, data, len); in seq_write() 735 seq->count += len; in seq_write() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 584 static int osc_rpc_stats_seq_show(struct seq_file *seq, void *v) in osc_rpc_stats_seq_show() argument 587 struct obd_device *dev = seq->private; in osc_rpc_stats_seq_show() 596 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", in osc_rpc_stats_seq_show() 598 seq_printf(seq, "read RPCs in flight: %d\n", in osc_rpc_stats_seq_show() 600 seq_printf(seq, "write RPCs in flight: %d\n", in osc_rpc_stats_seq_show() 602 seq_printf(seq, "pending write pages: %d\n", in osc_rpc_stats_seq_show() 604 seq_printf(seq, "pending read pages: %d\n", in osc_rpc_stats_seq_show() 607 seq_puts(seq, "\n\t\t\tread\t\t\twrite\n"); in osc_rpc_stats_seq_show() 608 seq_puts(seq, "pages per rpc rpcs % cum % |"); in osc_rpc_stats_seq_show() 609 seq_puts(seq, " rpcs % cum %\n"); in osc_rpc_stats_seq_show() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | delayed-ref.c | 115 if (ref1->seq < ref2->seq) in comp_entry() 117 if (ref1->seq > ref2->seq) in comp_entry() 283 struct btrfs_delayed_ref_node *ref, u64 seq) in merge_ref() argument 295 if (seq && next->seq >= seq) in merge_ref() 337 u64 seq = 0; in btrfs_merge_delayed_refs() local 353 seq = elem->seq; in btrfs_merge_delayed_refs() 364 if (seq && ref->seq >= seq) in btrfs_merge_delayed_refs() 366 if (merge_ref(trans, delayed_refs, head, ref, seq)) in btrfs_merge_delayed_refs() 375 u64 seq) in btrfs_check_delayed_seq() argument 384 if (seq >= elem->seq) { in btrfs_check_delayed_seq() [all …]
|
D | qgroup.c | 1413 if (oper1->seq < oper2->seq) in comp_oper() 1415 if (oper1->seq > oper2->seq) in comp_oper() 1488 oper->seq = atomic_inc_return(&fs_info->qgroup_op_seq); in btrfs_qgroup_record_ref() 1490 oper->elem.seq = 0; in btrfs_qgroup_record_ref() 1565 u64 seq, int *old_roots, int rescan) in qgroup_calc_old_refcnt() argument 1619 qg->old_refcnt = seq; in qgroup_calc_old_refcnt() 1620 else if (qg->old_refcnt < seq) in qgroup_calc_old_refcnt() 1621 qg->old_refcnt = seq + 1; in qgroup_calc_old_refcnt() 1625 if (qg->new_refcnt < seq) in qgroup_calc_old_refcnt() 1626 qg->new_refcnt = seq + 1; in qgroup_calc_old_refcnt() [all …]
|
D | super.c | 1030 static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) in btrfs_show_options() argument 1037 seq_puts(seq, ",degraded"); in btrfs_show_options() 1039 seq_puts(seq, ",nodatasum"); in btrfs_show_options() 1041 seq_puts(seq, ",nodatacow"); in btrfs_show_options() 1043 seq_puts(seq, ",nobarrier"); in btrfs_show_options() 1045 seq_printf(seq, ",max_inline=%llu", info->max_inline); in btrfs_show_options() 1047 seq_printf(seq, ",alloc_start=%llu", info->alloc_start); in btrfs_show_options() 1050 seq_printf(seq, ",thread_pool=%d", info->thread_pool_size); in btrfs_show_options() 1057 seq_printf(seq, ",compress-force=%s", compress_type); in btrfs_show_options() 1059 seq_printf(seq, ",compress=%s", compress_type); in btrfs_show_options() [all …]
|
/linux-4.1.27/fs/hfsplus/ |
D | options.c | 216 int hfsplus_show_options(struct seq_file *seq, struct dentry *root) in hfsplus_show_options() argument 221 seq_show_option_n(seq, "creator", (char *)&sbi->creator, 4); in hfsplus_show_options() 223 seq_show_option_n(seq, "type", (char *)&sbi->type, 4); in hfsplus_show_options() 224 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options() 228 seq_printf(seq, ",part=%u", sbi->part); in hfsplus_show_options() 230 seq_printf(seq, ",session=%u", sbi->session); in hfsplus_show_options() 232 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options() 234 seq_puts(seq, ",nodecompose"); in hfsplus_show_options() 236 seq_puts(seq, ",nobarrier"); in hfsplus_show_options()
|
/linux-4.1.27/drivers/md/bcache/ |
D | journal.c | 104 if (i->j.seq >= j->last_seq) in journal_read_bucket() 111 if (j->seq == i->j.seq) in journal_read_bucket() 114 if (j->seq < i->j.last_seq) in journal_read_bucket() 117 if (j->seq > i->j.seq) { in journal_read_bucket() 133 ja->seq[bucket_index] = j->seq; in journal_read_bucket() 162 uint64_t seq; in bch_journal_read() local 205 seq = list_entry(list->prev, struct journal_replay, in bch_journal_read() 206 list)->j.seq; in bch_journal_read() 211 if (seq != list_entry(list->prev, struct journal_replay, in bch_journal_read() 212 list)->j.seq) in bch_journal_read() [all …]
|
/linux-4.1.27/drivers/net/irda/ |
D | vlsi_ir.c | 163 static void vlsi_proc_pdev(struct seq_file *seq, struct pci_dev *pdev) in vlsi_proc_pdev() argument 168 seq_printf(seq, "\n%s (vid/did: [%04x:%04x])\n", in vlsi_proc_pdev() 170 seq_printf(seq, "pci-power-state: %u\n", (unsigned) pdev->current_state); in vlsi_proc_pdev() 171 seq_printf(seq, "resources: irq=%u / io=0x%04x / dma_mask=0x%016Lx\n", in vlsi_proc_pdev() 173 seq_printf(seq, "hw registers: "); in vlsi_proc_pdev() 175 seq_printf(seq, "%02x", (unsigned)inb((iobase+i))); in vlsi_proc_pdev() 176 seq_printf(seq, "\n"); in vlsi_proc_pdev() 179 static void vlsi_proc_ndev(struct seq_file *seq, struct net_device *ndev) in vlsi_proc_ndev() argument 187 seq_printf(seq, "\n%s link state: %s / %s / %s / %s\n", ndev->name, in vlsi_proc_ndev() 196 seq_printf(seq, "\nhw-state:\n"); in vlsi_proc_ndev() [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | feature.c | 53 static int brcmf_feat_debugfs_read(struct seq_file *seq, void *data) in brcmf_feat_debugfs_read() argument 55 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_debugfs_read() 60 seq_printf(seq, "Features: %08x\n", feats); in brcmf_feat_debugfs_read() 63 seq_printf(seq, "\t%s\n", brcmf_feat_names[id]); in brcmf_feat_debugfs_read() 64 seq_printf(seq, "\nQuirks: %08x\n", quirks); in brcmf_feat_debugfs_read() 67 seq_printf(seq, "\t%s\n", brcmf_quirk_names[id]); in brcmf_feat_debugfs_read() 71 static int brcmf_feat_debugfs_read(struct seq_file *seq, void *data) in brcmf_feat_debugfs_read() argument
|
D | debug.c | 44 static int brcmf_debugfs_chipinfo_read(struct seq_file *seq, void *data) in brcmf_debugfs_chipinfo_read() argument 46 struct brcmf_bus *bus = dev_get_drvdata(seq->private); in brcmf_debugfs_chipinfo_read() 48 seq_printf(seq, "chip: %x(%u) rev %u\n", in brcmf_debugfs_chipinfo_read() 78 int (*read)(struct seq_file *seq, void *data); 98 int (*read_fn)(struct seq_file *seq, void *data)) in brcmf_debugfs_add_entry() argument
|
/linux-4.1.27/include/net/ |
D | raw.h | 48 static inline struct raw_iter_state *raw_seq_private(struct seq_file *seq) in raw_seq_private() argument 50 return seq->private; in raw_seq_private() 52 void *raw_seq_start(struct seq_file *seq, loff_t *pos); 53 void *raw_seq_next(struct seq_file *seq, void *v, loff_t *pos); 54 void raw_seq_stop(struct seq_file *seq, void *v);
|
D | dn_nsp.h | 175 static __inline__ void seq_add(__u16 *seq, __u16 off) in seq_add() argument 177 (*seq) += off; in seq_add() 178 (*seq) &= 0x0fff; in seq_add() 189 static __inline__ int sendack(__u16 seq) in sendack() argument 191 return (int)((seq & 0x1000) ? 0 : 1); in sendack()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | vgtod.h | 17 unsigned seq; member 45 ret = ACCESS_ONCE(s->seq); in gtod_read_begin() 58 return unlikely(s->seq != start); in gtod_read_retry() 63 ++s->seq; in gtod_write_begin() 70 ++s->seq; in gtod_write_end()
|
/linux-4.1.27/block/ |
D | blk-flush.c | 115 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq() 167 unsigned int seq, int error) in blk_flush_complete_seq() argument 173 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq() 174 rq->flush.seq |= seq; in blk_flush_complete_seq() 177 seq = blk_flush_cur_seq(rq); in blk_flush_complete_seq() 179 seq = REQ_FSEQ_DONE; in blk_flush_complete_seq() 181 switch (seq) { in blk_flush_complete_seq() 244 unsigned int seq = blk_flush_cur_seq(rq); in flush_end_io() local 246 BUG_ON(seq != REQ_FSEQ_PREFLUSH && seq != REQ_FSEQ_POSTFLUSH); in flush_end_io() 247 queued |= blk_flush_complete_seq(rq, fq, seq, error); in flush_end_io()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 358 static int rtllib_ccmp_set_key(void *key, int len, u8 *seq, void *priv) in rtllib_ccmp_set_key() argument 371 if (seq) { in rtllib_ccmp_set_key() 372 data->rx_pn[0] = seq[5]; in rtllib_ccmp_set_key() 373 data->rx_pn[1] = seq[4]; in rtllib_ccmp_set_key() 374 data->rx_pn[2] = seq[3]; in rtllib_ccmp_set_key() 375 data->rx_pn[3] = seq[2]; in rtllib_ccmp_set_key() 376 data->rx_pn[4] = seq[1]; in rtllib_ccmp_set_key() 377 data->rx_pn[5] = seq[0]; in rtllib_ccmp_set_key() 389 static int rtllib_ccmp_get_key(void *key, int len, u8 *seq, void *priv) in rtllib_ccmp_get_key() argument 400 if (seq) { in rtllib_ccmp_get_key() [all …]
|
D | rtllib_crypt_tkip.c | 657 static int rtllib_tkip_set_key(void *key, int len, u8 *seq, void *priv) in rtllib_tkip_set_key() argument 678 if (seq) { in rtllib_tkip_set_key() 679 tkey->rx_iv32 = (seq[5] << 24) | (seq[4] << 16) | in rtllib_tkip_set_key() 680 (seq[3] << 8) | seq[2]; in rtllib_tkip_set_key() 681 tkey->rx_iv16 = (seq[1] << 8) | seq[0]; in rtllib_tkip_set_key() 692 static int rtllib_tkip_get_key(void *key, int len, u8 *seq, void *priv) in rtllib_tkip_get_key() argument 703 if (seq) { in rtllib_tkip_get_key() 711 seq[0] = tkey->tx_iv16; in rtllib_tkip_get_key() 712 seq[1] = tkey->tx_iv16 >> 8; in rtllib_tkip_get_key() 713 seq[2] = tkey->tx_iv32; in rtllib_tkip_get_key() [all …]
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.c | 168 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()
|
/linux-4.1.27/fs/ceph/ |
D | snap.c | 330 realm->cached_context->seq == realm->seq && in build_snap_context() 332 realm->cached_context->seq >= parent->cached_context->seq)) { in build_snap_context() 336 realm->cached_context->seq, in build_snap_context() 341 if (num == 0 && realm->seq == empty_snapc->seq) { in build_snap_context() 357 snapc->seq = realm->seq; in build_snap_context() 368 if (parent->cached_context->seq > snapc->seq) in build_snap_context() 369 snapc->seq = parent->cached_context->seq; in build_snap_context() 381 realm->ino, realm, snapc, snapc->seq, in build_snap_context() 508 capsnap->follows = snapc->seq; in ceph_queue_cap_snap() 542 capsnap, snapc, snapc->seq); in ceph_queue_cap_snap() [all …]
|
D | caps.c | 514 unsigned seq, unsigned mseq, u64 realmino, int flags, in ceph_add_cap() argument 524 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap() 563 if (ceph_seq_cmp(seq, cap->seq) <= 0) { in ceph_add_cap() 566 seq = cap->seq; in ceph_add_cap() 620 ceph_cap_string(issued|cap->issued), seq, mds); in ceph_add_cap() 628 cap->seq = seq; in ceph_add_cap() 629 cap->issue_seq = seq; in ceph_add_cap() 980 u32 seq, u64 flush_tid, u32 issue_seq, u32 mseq, in send_cap_msg() argument 999 seq, issue_seq, mseq, follows, size, max_size, in send_cap_msg() 1016 fc->seq = cpu_to_le32(seq); in send_cap_msg() [all …]
|
/linux-4.1.27/tools/perf/arch/x86/util/ |
D | tsc.c | 16 u32 seq; in perf_read_tsc_conversion() local 20 seq = pc->lock; in perf_read_tsc_conversion() 27 if (pc->lock == seq && !(seq & 1)) in perf_read_tsc_conversion()
|
/linux-4.1.27/fs/ext4/ |
D | mmp.c | 132 u32 seq = 0; in kmmpd() local 156 if (++seq > EXT4_MMP_SEQ_MAX) in kmmpd() 157 seq = 1; in kmmpd() 159 mmp->mmp_seq = cpu_to_le32(seq); in kmmpd() 276 u32 seq; in ext4_multi_mount_protect() local 303 seq = le32_to_cpu(mmp->mmp_seq); in ext4_multi_mount_protect() 304 if (seq == EXT4_MMP_SEQ_CLEAN) in ext4_multi_mount_protect() 307 if (seq == EXT4_MMP_SEQ_FSCK) { in ext4_multi_mount_protect() 329 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect() 339 seq = mmp_new_seq(); in ext4_multi_mount_protect() [all …]
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 374 static int ieee80211_ccmp_set_key(void *key, int len, u8 *seq, void *priv) in ieee80211_ccmp_set_key() argument 387 if (seq) { in ieee80211_ccmp_set_key() 388 data->rx_pn[0] = seq[5]; in ieee80211_ccmp_set_key() 389 data->rx_pn[1] = seq[4]; in ieee80211_ccmp_set_key() 390 data->rx_pn[2] = seq[3]; in ieee80211_ccmp_set_key() 391 data->rx_pn[3] = seq[2]; in ieee80211_ccmp_set_key() 392 data->rx_pn[4] = seq[1]; in ieee80211_ccmp_set_key() 393 data->rx_pn[5] = seq[0]; in ieee80211_ccmp_set_key() 405 static int ieee80211_ccmp_get_key(void *key, int len, u8 *seq, void *priv) in ieee80211_ccmp_get_key() argument 416 if (seq) { in ieee80211_ccmp_get_key() [all …]
|
D | ieee80211_crypt_tkip.c | 655 static int ieee80211_tkip_set_key(void *key, int len, u8 *seq, void *priv) in ieee80211_tkip_set_key() argument 676 if (seq) { in ieee80211_tkip_set_key() 677 tkey->rx_iv32 = (seq[5] << 24) | (seq[4] << 16) | in ieee80211_tkip_set_key() 678 (seq[3] << 8) | seq[2]; in ieee80211_tkip_set_key() 679 tkey->rx_iv16 = (seq[1] << 8) | seq[0]; in ieee80211_tkip_set_key() 690 static int ieee80211_tkip_get_key(void *key, int len, u8 *seq, void *priv) in ieee80211_tkip_get_key() argument 701 if (seq) { in ieee80211_tkip_get_key() 708 seq[0] = tkey->tx_iv16; in ieee80211_tkip_get_key() 709 seq[1] = tkey->tx_iv16 >> 8; in ieee80211_tkip_get_key() 710 seq[2] = tkey->tx_iv32; in ieee80211_tkip_get_key() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | rx_reorder.c | 38 static inline int reorder_index(struct wil_tid_ampdu_rx *r, u16 seq) in reorder_index() argument 40 return seq_sub(seq, r->ssn) % r->buf_size; in reorder_index() 101 u16 seq = wil_rxdesc_seq(d); in wil_rx_reorder() local 109 mid, cid, tid, seq, mcast); in wil_rx_reorder() 136 if (seq != r->head_seq_num) { in wil_rx_reorder() 137 if (seq_less(seq, r->head_seq_num)) { in wil_rx_reorder() 140 seq, r->head_seq_num); in wil_rx_reorder() 147 seq, r->head_seq_num); in wil_rx_reorder() 148 r->head_seq_num = seq; in wil_rx_reorder() 149 r->ssn = seq; in wil_rx_reorder() [all …]
|
/linux-4.1.27/fs/reiserfs/ |
D | bitmap.c | 675 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument 678 seq_puts(seq, ":"); in print_sep() 683 void show_alloc_options(struct seq_file *seq, struct super_block *s) in show_alloc_options() argument 691 seq_puts(seq, ",alloc="); in show_alloc_options() 694 print_sep(seq, &first); in show_alloc_options() 696 seq_printf(seq, "concentrating_formatted_nodes=%d", in show_alloc_options() 699 seq_puts(seq, "concentrating_formatted_nodes"); in show_alloc_options() 702 print_sep(seq, &first); in show_alloc_options() 704 seq_printf(seq, "displacing_large_files=%lu", in show_alloc_options() 707 seq_puts(seq, "displacing_large_files"); in show_alloc_options() [all …]
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | hw_nmi.c | 39 struct seq_buf seq; member 83 seq_buf_init(&s->seq, s->buffer, NMI_BUF_SIZE); in arch_trigger_all_cpu_backtrace() 108 len = seq_buf_used(&s->seq); in arch_trigger_all_cpu_backtrace() 146 unsigned int len = seq_buf_used(&s->seq); in nmi_vprintk() 148 seq_buf_vprintf(&s->seq, fmt, args); in nmi_vprintk() 149 return seq_buf_used(&s->seq) - len; in nmi_vprintk()
|
/linux-4.1.27/net/ax25/ |
D | ax25_uid.c | 150 static void *ax25_uid_seq_start(struct seq_file *seq, loff_t *pos) in ax25_uid_seq_start() argument 157 static void *ax25_uid_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ax25_uid_seq_next() argument 162 static void ax25_uid_seq_stop(struct seq_file *seq, void *v) in ax25_uid_seq_stop() argument 168 static int ax25_uid_seq_show(struct seq_file *seq, void *v) in ax25_uid_seq_show() argument 173 seq_printf(seq, "Policy: %d\n", ax25_uid_policy); in ax25_uid_seq_show() 178 seq_printf(seq, "%6d %s\n", in ax25_uid_seq_show() 179 from_kuid_munged(seq_user_ns(seq), pt->uid), in ax25_uid_seq_show()
|
D | ax25_route.c | 252 static void *ax25_rt_seq_start(struct seq_file *seq, loff_t *pos) in ax25_rt_seq_start() argument 271 static void *ax25_rt_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ax25_rt_seq_next() argument 278 static void ax25_rt_seq_stop(struct seq_file *seq, void *v) in ax25_rt_seq_stop() argument 284 static int ax25_rt_seq_show(struct seq_file *seq, void *v) in ax25_rt_seq_show() argument 289 seq_puts(seq, "callsign dev mode digipeaters\n"); in ax25_rt_seq_show() 300 seq_printf(seq, "%-9s %-4s", in ax25_rt_seq_show() 306 seq_puts(seq, " vc"); in ax25_rt_seq_show() 309 seq_puts(seq, " dg"); in ax25_rt_seq_show() 312 seq_puts(seq, " *"); in ax25_rt_seq_show() 318 seq_printf(seq, " %s", in ax25_rt_seq_show() [all …]
|
/linux-4.1.27/security/apparmor/ |
D | apparmorfs.c | 189 static int aa_fs_seq_show(struct seq_file *seq, void *v) in aa_fs_seq_show() argument 191 struct aa_fs_entry *fs_file = seq->private; in aa_fs_seq_show() 198 seq_printf(seq, "%s\n", fs_file->v.boolean ? "yes" : "no"); in aa_fs_seq_show() 201 seq_printf(seq, "%s\n", fs_file->v.string); in aa_fs_seq_show() 204 seq_printf(seq, "%#08lx\n", fs_file->v.u64); in aa_fs_seq_show() 243 struct seq_file *seq = (struct seq_file *) file->private_data; in aa_fs_seq_profile_release() local 244 if (seq) in aa_fs_seq_profile_release() 245 aa_put_replacedby(seq->private); in aa_fs_seq_profile_release() 249 static int aa_fs_seq_profname_show(struct seq_file *seq, void *v) in aa_fs_seq_profname_show() argument 251 struct aa_replacedby *r = seq->private; in aa_fs_seq_profname_show() [all …]
|
/linux-4.1.27/net/bluetooth/ |
D | af_bluetooth.c | 579 static void *bt_seq_start(struct seq_file *seq, loff_t *pos) in bt_seq_start() argument 580 __acquires(seq->private->l->lock) in bt_seq_start() 582 struct bt_seq_state *s = seq->private; in bt_seq_start() 589 static void *bt_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bt_seq_next() argument 591 struct bt_seq_state *s = seq->private; in bt_seq_next() 597 static void bt_seq_stop(struct seq_file *seq, void *v) in bt_seq_stop() argument 598 __releases(seq->private->l->lock) in bt_seq_stop() 600 struct bt_seq_state *s = seq->private; in bt_seq_stop() 606 static int bt_seq_show(struct seq_file *seq, void *v) in bt_seq_show() argument 608 struct bt_seq_state *s = seq->private; in bt_seq_show() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/fld/ |
D | fld_request.c | 112 static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq) in fld_rrb_hash() argument 115 return do_div(seq, fld->lcf_count); in fld_rrb_hash() 119 fld_rrb_scan(struct lu_client_fld *fld, u64 seq) in fld_rrb_scan() argument 129 if (fid_seq_is_norm(seq)) in fld_rrb_scan() 130 hash = fld_rrb_hash(fld, seq); in fld_rrb_scan() 149 fld->lcf_name, hash, seq, fld->lcf_count); in fld_rrb_scan() 183 fld_client_get_target(struct lu_client_fld *fld, u64 seq) in fld_client_get_target() argument 190 target = fld->lcf_hash->fh_scan_func(fld, seq); in fld_client_get_target() 195 fld->lcf_name, target->ft_idx, seq); in fld_client_get_target() 464 int fld_client_lookup(struct lu_client_fld *fld, u64 seq, u32 *mds, in fld_client_lookup() argument [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 394 #define seq_page_flag(seq, page, flag, has_flags) do { \ argument 396 seq_printf(seq, "%s"#flag, has_flags ? "|" : ""); \ 402 struct seq_file *seq, struct cl_page *page) in vvp_pgcache_page_show() argument 410 seq_printf(seq, " %5i | %p %p %s %s %s %s | %p %lu/%u(%p) %lu %u [", in vvp_pgcache_page_show() 422 seq_page_flag(seq, vmpage, locked, has_flags); in vvp_pgcache_page_show() 423 seq_page_flag(seq, vmpage, error, has_flags); in vvp_pgcache_page_show() 424 seq_page_flag(seq, vmpage, referenced, has_flags); in vvp_pgcache_page_show() 425 seq_page_flag(seq, vmpage, uptodate, has_flags); in vvp_pgcache_page_show() 426 seq_page_flag(seq, vmpage, dirty, has_flags); in vvp_pgcache_page_show() 427 seq_page_flag(seq, vmpage, writeback, has_flags); in vvp_pgcache_page_show() [all …]
|
D | lproc_llite.c | 574 struct seq_file *seq = file->private_data; in ll_track_pid_seq_write() local 575 return ll_wr_track_id(buffer, count, seq->private, STATS_TRACK_PID); in ll_track_pid_seq_write() 588 struct seq_file *seq = file->private_data; in ll_track_ppid_seq_write() local 589 return ll_wr_track_id(buffer, count, seq->private, STATS_TRACK_PPID); in ll_track_ppid_seq_write() 602 struct seq_file *seq = file->private_data; in ll_track_gid_seq_write() local 603 return ll_wr_track_id(buffer, count, seq->private, STATS_TRACK_GID); in ll_track_gid_seq_write() 816 struct seq_file *seq = file->private_data; in ll_xattr_cache_seq_write() local 817 struct super_block *sb = seq->private; in ll_xattr_cache_seq_write() 1136 struct seq_file *seq, int which) in ll_display_extents_info() argument 1159 seq_printf(seq, "%4lu%c - %4lu%c%c: %14lu %4lu %4lu | %14lu %4lu %4lu\n", in ll_display_extents_info() [all …]
|
/linux-4.1.27/net/irda/ircomm/ |
D | ircomm_core.c | 487 static void *ircomm_seq_start(struct seq_file *seq, loff_t *pos) in ircomm_seq_start() argument 504 static void *ircomm_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ircomm_seq_next() argument 511 static void ircomm_seq_stop(struct seq_file *seq, void *v) in ircomm_seq_stop() argument 516 static int ircomm_seq_show(struct seq_file *seq, void *v) in ircomm_seq_show() argument 523 seq_printf(seq, "ircomm%d", self->line); in ircomm_seq_show() 525 seq_printf(seq, "irlpt%d", self->line - 0x10); in ircomm_seq_show() 527 seq_printf(seq, in ircomm_seq_show() 533 seq_printf(seq, " 3-wire-raw"); in ircomm_seq_show() 535 seq_printf(seq, " 3-wire"); in ircomm_seq_show() 537 seq_printf(seq, " 9-wire"); in ircomm_seq_show() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1732 static int sge_qinfo_show(struct seq_file *seq, void *v) in sge_qinfo_show() argument 1734 struct adapter *adapter = seq->private; in sge_qinfo_show() 1739 seq_putc(seq, '\n'); in sge_qinfo_show() 1743 seq_printf(seq, "%-12s", s); \ in sge_qinfo_show() 1745 seq_printf(seq, " %16" fmt_spec, v); \ in sge_qinfo_show() 1746 seq_putc(seq, '\n'); \ in sge_qinfo_show() 1792 seq_printf(seq, "%-12s %16s\n", "QType:", "FW event queue"); in sge_qinfo_show() 1793 seq_printf(seq, "%-12s %16u\n", "RspQ ID:", evtq->abs_id); in sge_qinfo_show() 1794 seq_printf(seq, "%-12s %16u\n", "Intr delay:", in sge_qinfo_show() 1796 seq_printf(seq, "%-12s %16u\n", "Intr pktcnt:", in sge_qinfo_show() [all …]
|
/linux-4.1.27/net/batman-adv/ |
D | bridge_loop_avoidance.h | 28 int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, void *offset); 29 int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq, 64 static inline int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, in batadv_bla_claim_table_seq_print_text() argument 70 static inline int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq, in batadv_bla_backbone_table_seq_print_text() argument
|
D | originator.c | 980 int batadv_orig_seq_print_text(struct seq_file *seq, void *offset) in batadv_orig_seq_print_text() argument 982 struct net_device *net_dev = (struct net_device *)seq->private; in batadv_orig_seq_print_text() 986 primary_if = batadv_seq_print_text_primary_if_get(seq); in batadv_orig_seq_print_text() 990 seq_printf(seq, "[B.A.T.M.A.N. adv %s, MainIF/MAC: %s/%pM (%s %s)]\n", in batadv_orig_seq_print_text() 998 seq_puts(seq, in batadv_orig_seq_print_text() 1003 bat_priv->bat_algo_ops->bat_orig_print(bat_priv, seq, in batadv_orig_seq_print_text() 1017 int batadv_orig_hardif_seq_print_text(struct seq_file *seq, void *offset) in batadv_orig_hardif_seq_print_text() argument 1019 struct net_device *net_dev = (struct net_device *)seq->private; in batadv_orig_hardif_seq_print_text() 1026 seq_puts(seq, "Interface not known to B.A.T.M.A.N.\n"); in batadv_orig_hardif_seq_print_text() 1032 seq_puts(seq, in batadv_orig_hardif_seq_print_text() [all …]
|
/linux-4.1.27/drivers/video/backlight/ |
D | lms283gf05.c | 107 const struct lms283gf05_seq *seq, int sz) in lms283gf05_toggle() argument 115 buf[2] = seq[i].reg; in lms283gf05_toggle() 119 buf[1] = seq[i].value >> 8; in lms283gf05_toggle() 120 buf[2] = seq[i].value & 0xff; in lms283gf05_toggle() 123 mdelay(seq[i].delay); in lms283gf05_toggle()
|
/linux-4.1.27/fs/gfs2/ |
D | glock.c | 897 void gfs2_print_dbg(struct seq_file *seq, const char *fmt, ...) in gfs2_print_dbg() argument 904 if (seq) { in gfs2_print_dbg() 905 seq_vprintf(seq, fmt, args); in gfs2_print_dbg() 1535 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock() argument 1538 gfs2_dump_glock(seq, gl); in dump_glock() 1630 static void dump_holder(struct seq_file *seq, const struct gfs2_holder *gh) in dump_holder() argument 1638 gfs2_print_dbg(seq, " H: s:%s f:%s e:%d p:%ld [%s] %pS\n", in dump_holder() 1702 void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_dump_glock() argument 1713 gfs2_print_dbg(seq, "G: s:%s n:%u/%llx f:%s t:%s d:%s/%llu a:%d v:%d r:%d m:%ld\n", in gfs2_dump_glock() 1725 dump_holder(seq, gh); in gfs2_dump_glock() [all …]
|
/linux-4.1.27/Documentation/connector/ |
D | ucon.c | 58 static __u32 seq; variable 71 nlh->nlmsg_seq = seq++; in netlink_send() 80 __func__, msg->id.idx, msg->id.val, msg->len, msg->seq, msg->ack); in netlink_send() 186 data->seq = seq++; in main() 240 ctime(&tm), data->id.idx, data->id.val, data->seq, data->ack); in main()
|
/linux-4.1.27/arch/arm64/mm/ |
D | dump.c | 71 struct seq_file *seq; member 180 seq_printf(st->seq, " %s", s); in dump_prot() 194 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 201 seq_printf(st->seq, "0x%16lx-0x%16lx ", in note_page() 209 seq_printf(st->seq, "%9lu%c", delta, *unit); in note_page() 213 seq_puts(st->seq, "\n"); in note_page() 218 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 228 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 299 .seq = m, in ptdump_show()
|
/linux-4.1.27/include/crypto/ |
D | skcipher.h | 27 u64 seq; member 103 struct skcipher_givcrypt_request *req, u8 *giv, u64 seq) in skcipher_givcrypt_set_giv() argument 106 req->seq = seq; in skcipher_givcrypt_set_giv()
|
D | aead.h | 27 u64 seq; member 99 u8 *giv, u64 seq) in aead_givcrypt_set_giv() argument 102 req->seq = seq; in aead_givcrypt_set_giv()
|
/linux-4.1.27/drivers/usb/storage/ |
D | karma.c | 106 static unsigned char seq = 1; in rio_karma_send_command() local 113 us->iobuf[6] = seq; in rio_karma_send_command() 127 if (data->recv[5] == seq) in rio_karma_send_command() 138 seq++; in rio_karma_send_command() 139 if (seq == 0) in rio_karma_send_command() 140 seq = 1; in rio_karma_send_command()
|
/linux-4.1.27/net/irda/irlan/ |
D | irlan_common.c | 1092 static void *irlan_seq_start(struct seq_file *seq, loff_t *pos) in irlan_seq_start() argument 1099 static void *irlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in irlan_seq_next() argument 1105 static void irlan_seq_stop(struct seq_file *seq, void *v) in irlan_seq_stop() argument 1114 static int irlan_seq_show(struct seq_file *seq, void *v) in irlan_seq_show() argument 1117 seq_puts(seq, "IrLAN instances:\n"); in irlan_seq_show() 1124 seq_printf(seq,"ifname: %s,\n", in irlan_seq_show() 1126 seq_printf(seq,"client state: %s, ", in irlan_seq_show() 1128 seq_printf(seq,"provider state: %s,\n", in irlan_seq_show() 1130 seq_printf(seq,"saddr: %#08x, ", in irlan_seq_show() 1132 seq_printf(seq,"daddr: %#08x\n", in irlan_seq_show() [all …]
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm_eventlog.c | 224 struct seq_file *seq = file->private_data; in tpm_bios_measurements_release() local 225 struct tpm_bios_log *log = seq->private; in tpm_bios_measurements_release() 286 struct seq_file *seq; in tpm_ascii_bios_measurements_open() local 298 seq = file->private_data; in tpm_ascii_bios_measurements_open() 299 seq->private = log; in tpm_ascii_bios_measurements_open() 324 struct seq_file *seq; in tpm_binary_bios_measurements_open() local 336 seq = file->private_data; in tpm_binary_bios_measurements_open() 337 seq->private = log; in tpm_binary_bios_measurements_open()
|
/linux-4.1.27/fs/f2fs/ |
D | super.c | 572 static int f2fs_show_options(struct seq_file *seq, struct dentry *root) in f2fs_show_options() argument 577 seq_printf(seq, ",background_gc=%s", "on"); in f2fs_show_options() 579 seq_printf(seq, ",background_gc=%s", "off"); in f2fs_show_options() 581 seq_puts(seq, ",disable_roll_forward"); in f2fs_show_options() 583 seq_puts(seq, ",discard"); in f2fs_show_options() 585 seq_puts(seq, ",no_heap_alloc"); in f2fs_show_options() 588 seq_puts(seq, ",user_xattr"); in f2fs_show_options() 590 seq_puts(seq, ",nouser_xattr"); in f2fs_show_options() 592 seq_puts(seq, ",inline_xattr"); in f2fs_show_options() 596 seq_puts(seq, ",acl"); in f2fs_show_options() [all …]
|
/linux-4.1.27/fs/hfs/ |
D | super.c | 133 static int hfs_show_options(struct seq_file *seq, struct dentry *root) in hfs_show_options() argument 138 seq_show_option_n(seq, "creator", (char *)&sbi->s_creator, 4); in hfs_show_options() 140 seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4); in hfs_show_options() 141 seq_printf(seq, ",uid=%u,gid=%u", in hfs_show_options() 145 seq_printf(seq, ",file_umask=%o", sbi->s_file_umask); in hfs_show_options() 147 seq_printf(seq, ",dir_umask=%o", sbi->s_dir_umask); in hfs_show_options() 149 seq_printf(seq, ",part=%u", sbi->part); in hfs_show_options() 151 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options() 153 seq_printf(seq, ",codepage=%s", sbi->nls_disk->charset); in hfs_show_options() 155 seq_printf(seq, ",iocharset=%s", sbi->nls_io->charset); in hfs_show_options() [all …]
|
/linux-4.1.27/net/dcb/ |
D | dcbnl.c | 199 static struct sk_buff *dcbnl_newmsg(int type, u8 cmd, u32 port, u32 seq, in dcbnl_newmsg() argument 210 nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags); in dcbnl_newmsg() 225 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getstate() argument 236 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfccfg() argument 281 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getperm_hwaddr() argument 295 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getcap() argument 339 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getnumtcs() argument 385 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setnumtcs() argument 418 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfcstate() argument 428 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setpfcstate() argument [all …]
|
/linux-4.1.27/drivers/input/ |
D | input.c | 1074 static void *input_devices_seq_start(struct seq_file *seq, loff_t *pos) in input_devices_seq_start() argument 1076 union input_seq_state *state = (union input_seq_state *)&seq->private; in input_devices_seq_start() 1080 BUILD_BUG_ON(sizeof(union input_seq_state) != sizeof(seq->private)); in input_devices_seq_start() 1093 static void *input_devices_seq_next(struct seq_file *seq, void *v, loff_t *pos) in input_devices_seq_next() argument 1098 static void input_seq_stop(struct seq_file *seq, void *v) in input_seq_stop() argument 1100 union input_seq_state *state = (union input_seq_state *)&seq->private; in input_seq_stop() 1106 static void input_seq_print_bitmap(struct seq_file *seq, const char *name, in input_seq_print_bitmap() argument 1113 seq_printf(seq, "B: %s=", name); in input_seq_print_bitmap() 1119 seq_printf(seq, "%s%s", buf, i > 0 ? " " : ""); in input_seq_print_bitmap() 1127 seq_puts(seq, "0"); in input_seq_print_bitmap() [all …]
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_fs.c | 136 struct seq_file *seq; in ipoib_mcg_open() local 143 seq = file->private_data; in ipoib_mcg_open() 144 seq->private = inode->i_private; in ipoib_mcg_open() 241 struct seq_file *seq; in ipoib_path_open() local 248 seq = file->private_data; in ipoib_path_open() 249 seq->private = inode->i_private; in ipoib_path_open()
|
/linux-4.1.27/lib/ |
D | flex_proportions.c | 142 unsigned int seq; in fprop_fraction_single() local 146 seq = read_seqcount_begin(&p->sequence); in fprop_fraction_single() 150 } while (read_seqcount_retry(&p->sequence, seq)); in fprop_fraction_single() 230 unsigned int seq; in fprop_fraction_percpu() local 234 seq = read_seqcount_begin(&p->sequence); in fprop_fraction_percpu() 238 } while (read_seqcount_retry(&p->sequence, seq)); in fprop_fraction_percpu()
|
/linux-4.1.27/net/rose/ |
D | rose_route.c | 1086 static void *rose_node_start(struct seq_file *seq, loff_t *pos) in rose_node_start() argument 1102 static void *rose_node_next(struct seq_file *seq, void *v, loff_t *pos) in rose_node_next() argument 1110 static void rose_node_stop(struct seq_file *seq, void *v) in rose_node_stop() argument 1116 static int rose_node_show(struct seq_file *seq, void *v) in rose_node_show() argument 1122 seq_puts(seq, "address mask n neigh neigh neigh\n"); in rose_node_show() 1130 seq_printf(seq, "%-10s %04d %d", in rose_node_show() 1136 seq_printf(seq, " %05d", in rose_node_show() 1139 seq_puts(seq, "\n"); in rose_node_show() 1165 static void *rose_neigh_start(struct seq_file *seq, loff_t *pos) in rose_neigh_start() argument 1181 static void *rose_neigh_next(struct seq_file *seq, void *v, loff_t *pos) in rose_neigh_next() argument [all …]
|
/linux-4.1.27/ipc/ |
D | util.c | 103 ids->seq = 0; in ipc_init_ids() 257 new->seq = ids->seq++; in ipc_addid() 258 if (ids->seq > IPCID_SEQ_MAX) in ipc_addid() 259 ids->seq = 0; in ipc_addid() 261 new->seq = ipcid_to_seqx(next_id); in ipc_addid() 265 new->id = ipc_buildid(id, new->seq); in ipc_addid() 529 out->seq = in->seq; in kernel_to_ipc64_perm() 548 out->seq = in->seq; in ipc64_perm_to_ipc_perm() 871 struct seq_file *seq = file->private_data; in sysvipc_proc_release() local 872 struct ipc_proc_iter *iter = seq->private; in sysvipc_proc_release()
|
/linux-4.1.27/drivers/net/hamradio/ |
D | yam.c | 796 static void *yam_seq_start(struct seq_file *seq, loff_t *pos) in yam_seq_start() argument 801 static void *yam_seq_next(struct seq_file *seq, void *v, loff_t *pos) in yam_seq_next() argument 807 static void yam_seq_stop(struct seq_file *seq, void *v) in yam_seq_stop() argument 811 static int yam_seq_show(struct seq_file *seq, void *v) in yam_seq_show() argument 816 seq_printf(seq, "Device %s\n", dev->name); in yam_seq_show() 817 seq_printf(seq, " Up %d\n", netif_running(dev)); in yam_seq_show() 818 seq_printf(seq, " Speed %u\n", yp->bitrate); in yam_seq_show() 819 seq_printf(seq, " IoBase 0x%x\n", yp->iobase); in yam_seq_show() 820 seq_printf(seq, " BaudRate %u\n", yp->baudrate); in yam_seq_show() 821 seq_printf(seq, " IRQ %u\n", yp->irq); in yam_seq_show() [all …]
|
D | bpqether.c | 384 static void *bpq_seq_start(struct seq_file *seq, loff_t *pos) in bpq_seq_start() argument 402 static void *bpq_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bpq_seq_next() argument 418 static void bpq_seq_stop(struct seq_file *seq, void *v) in bpq_seq_stop() argument 425 static int bpq_seq_show(struct seq_file *seq, void *v) in bpq_seq_show() argument 428 seq_puts(seq, in bpq_seq_show() 433 seq_printf(seq, "%-5s %-10s %pM ", in bpq_seq_show() 438 seq_printf(seq, "*\n"); in bpq_seq_show() 440 seq_printf(seq, "%pM\n", bpqdev->acpt_addr); in bpq_seq_show()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack_seqadj.h | 20 struct nf_ct_seqadj seq[IP_CT_DIR_MAX]; member 36 __be32 seq, s32 off); 42 s32 nf_ct_seq_offset(const struct nf_conn *ct, enum ip_conntrack_dir, u32 seq);
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | pac7311.c | 211 const __u8 *seq, int len) in reg_w_seq() argument 214 reg_w(gspca_dev, seq[0], seq[1]); in reg_w_seq() 215 seq += 2; in reg_w_seq() 249 const __u8 *seq, in reg_w_var() argument 255 index = *seq++; in reg_w_var() 256 len = *seq++; in reg_w_var() 271 index, seq, len); in reg_w_var() 272 seq += len; in reg_w_var() 275 reg_w_buf(gspca_dev, index, seq, 8); in reg_w_var() 276 seq += 8; in reg_w_var()
|
D | pac7302.c | 293 const u8 *seq, int len) in reg_w_seq() argument 296 reg_w(gspca_dev, seq[0], seq[1]); in reg_w_seq() 297 seq += 2; in reg_w_seq() 331 const u8 *seq, in reg_w_var() argument 337 index = *seq++; in reg_w_var() 338 len = *seq++; in reg_w_var() 353 index, seq, len); in reg_w_var() 354 seq += len; in reg_w_var() 357 reg_w_buf(gspca_dev, index, seq, 8); in reg_w_var() 358 seq += 8; in reg_w_var()
|
/linux-4.1.27/arch/arm/mm/ |
D | dump.c | 40 struct seq_file *seq; member 214 seq_printf(st->seq, " %s", s); in dump_prot() 226 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 233 seq_printf(st->seq, "0x%08lx-0x%08lx ", in note_page() 241 seq_printf(st->seq, "%9lu%c", delta, *unit); in note_page() 244 seq_printf(st->seq, "\n"); in note_page() 249 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 311 st.seq = m; in walk_pgd()
|
/linux-4.1.27/drivers/input/serio/ |
D | hp_sdc.c | 193 curr->seq[curr->idx++] = status; in hp_sdc_take() 194 curr->seq[curr->idx++] = data; in hp_sdc_take() 200 if (curr->seq[curr->actidx] & HP_SDC_ACT_SEMAPHORE) in hp_sdc_take() 204 if (curr->seq[curr->actidx] & HP_SDC_ACT_CALLBACK) in hp_sdc_take() 328 tmp = curr->seq[curr->actidx]; in hp_sdc_tasklet() 329 curr->seq[curr->actidx] |= HP_SDC_ACT_DEAD; in hp_sdc_tasklet() 427 act = curr->seq[idx]; in hp_sdc_put() 447 hp_sdc_status_out8(curr->seq[idx]); in hp_sdc_put() 460 qty = curr->seq[idx]; in hp_sdc_put() 463 hp_sdc_data_out8(curr->seq[curr->idx]); in hp_sdc_put() [all …]
|
/linux-4.1.27/drivers/connector/ |
D | cn_proc.c | 80 get_seq(&msg->seq, &ev->cpu); in proc_fork_connector() 111 get_seq(&msg->seq, &ev->cpu); in proc_exec_connector() 153 get_seq(&msg->seq, &ev->cpu); in proc_id_connector() 175 get_seq(&msg->seq, &ev->cpu); in proc_sid_connector() 200 get_seq(&msg->seq, &ev->cpu); in proc_ptrace_connector() 233 get_seq(&msg->seq, &ev->cpu); in proc_comm_connector() 259 get_seq(&msg->seq, &ev->cpu); in proc_coredump_connector() 284 get_seq(&msg->seq, &ev->cpu); in proc_exit_connector() 319 msg->seq = rcvd_seq; in cn_proc_ack() 373 cn_proc_ack(err, msg->seq, msg->ack); in cn_proc_mcast_ctl()
|
/linux-4.1.27/include/linux/netfilter/ |
D | nf_conntrack_proto_gre.h | 32 seq:1, member 43 seq:1, 62 __be32 seq; /* sequence number. Present if S==1 */ member
|
/linux-4.1.27/kernel/printk/ |
D | printk.c | 512 u64 seq; member 587 while (user->seq == log_next_seq) { in devkmsg_read() 596 user->seq != log_next_seq); in devkmsg_read() 602 if (user->seq < log_first_seq) { in devkmsg_read() 605 user->seq = log_first_seq; in devkmsg_read() 631 user->seq, ts_usec, cont); in devkmsg_read() 673 user->seq++; in devkmsg_read() 706 user->seq = log_first_seq; in devkmsg_llseek() 715 user->seq = clear_seq; in devkmsg_llseek() 720 user->seq = log_next_seq; in devkmsg_llseek() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 156 struct ieee80211_key_seq seq; in iwl_mvm_wowlan_program_keys() local 228 ieee80211_get_key_tx_seq(key, &seq); in iwl_mvm_wowlan_program_keys() 229 tkip_tx_sc->iv16 = cpu_to_le16(seq.tkip.iv16); in iwl_mvm_wowlan_program_keys() 230 tkip_tx_sc->iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_program_keys() 232 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwl_mvm_wowlan_program_keys() 253 ieee80211_get_key_rx_seq(key, i, &seq); in iwl_mvm_wowlan_program_keys() 254 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwl_mvm_wowlan_program_keys() 255 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_program_keys() 257 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_program_keys() 258 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_program_keys() [all …]
|
/linux-4.1.27/fs/hpfs/ |
D | super.c | 474 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument 478 seq_printf(seq, ",uid=%u", from_kuid_munged(&init_user_ns, sbi->sb_uid)); in hpfs_show_options() 479 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, sbi->sb_gid)); in hpfs_show_options() 480 seq_printf(seq, ",umask=%03o", (~sbi->sb_mode & 0777)); in hpfs_show_options() 482 seq_printf(seq, ",case=lower"); in hpfs_show_options() 484 seq_printf(seq, ",check=none"); in hpfs_show_options() 486 seq_printf(seq, ",check=strict"); in hpfs_show_options() 488 seq_printf(seq, ",errors=continue"); in hpfs_show_options() 490 seq_printf(seq, ",errors=panic"); in hpfs_show_options() 492 seq_printf(seq, ",chkdsk=no"); in hpfs_show_options() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | lib.c | 926 struct ieee80211_key_seq seq; in iwlagn_wowlan_program_keys() local 953 ieee80211_get_key_tx_seq(key, &seq); in iwlagn_wowlan_program_keys() 954 tkip_tx_sc->iv16 = cpu_to_le16(seq.tkip.iv16); in iwlagn_wowlan_program_keys() 955 tkip_tx_sc->iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys() 957 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys() 978 ieee80211_get_key_rx_seq(key, i, &seq); in iwlagn_wowlan_program_keys() 979 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwlagn_wowlan_program_keys() 980 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys() 982 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys() 983 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys() [all …]
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_fcp.c | 204 static void fc_fcp_pkt_destroy(struct fc_seq *seq, void *fsp) in fc_fcp_pkt_destroy() argument 559 static int fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, in fc_fcp_send_data() argument 612 seq = lport->tt.seq_start_next(seq); in fc_fcp_send_data() 614 WARN_ON(!seq); in fc_fcp_send_data() 683 ep = fc_seq_exch(seq); in fc_fcp_send_data() 690 error = lport->tt.seq_send(lport, seq, fp); in fc_fcp_send_data() 750 static void fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg) in fc_fcp_recv() argument 789 rc = fc_fcp_send_data(fsp, seq, in fc_fcp_recv() 793 seq->rec_data = fsp->xfer_len; in fc_fcp_recv() 801 seq->rec_data = fsp->xfer_contig_end; in fc_fcp_recv() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 426 static inline int fid_seq_is_mdt0(__u64 seq) in fid_seq_is_mdt0() argument 428 return (seq == FID_SEQ_OST_MDT0); in fid_seq_is_mdt0() 431 static inline int fid_seq_is_mdt(const __u64 seq) in fid_seq_is_mdt() argument 433 return seq == FID_SEQ_OST_MDT0 || seq >= FID_SEQ_NORMAL; in fid_seq_is_mdt() 436 static inline int fid_seq_is_echo(__u64 seq) in fid_seq_is_echo() argument 438 return (seq == FID_SEQ_ECHO); in fid_seq_is_echo() 446 static inline int fid_seq_is_llog(__u64 seq) in fid_seq_is_llog() argument 448 return (seq == FID_SEQ_LLOG); in fid_seq_is_llog() 457 static inline int fid_seq_is_rsvd(const __u64 seq) in fid_seq_is_rsvd() argument 459 return (seq > FID_SEQ_OST_MDT0 && seq <= FID_SEQ_RSVD); in fid_seq_is_rsvd() [all …]
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_auto_parser.c | 35 short seq; member 42 return (int)(a->seq - b->seq); in compare_seq() 145 int seq = get_defcfg_sequence(def_conf); in can_be_headset_mic() local 146 if (seq != seq_number) in can_be_headset_mic() 176 short seq, assoc_line_out; in snd_hda_parse_pin_defcfg() local 224 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg() 247 line_out[cfg->line_outs].seq = seq; in snd_hda_parse_pin_defcfg() 251 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg() 260 speaker_out[cfg->speaker_outs].seq = (assoc << 4) | seq; in snd_hda_parse_pin_defcfg() 264 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg() [all …]
|
/linux-4.1.27/net/netrom/ |
D | nr_route.c | 868 static void *nr_node_start(struct seq_file *seq, loff_t *pos) in nr_node_start() argument 874 static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos) in nr_node_next() argument 879 static void nr_node_stop(struct seq_file *seq, void *v) in nr_node_stop() argument 884 static int nr_node_show(struct seq_file *seq, void *v) in nr_node_show() argument 890 seq_puts(seq, in nr_node_show() 897 seq_printf(seq, "%-9s %-7s %d %d", in nr_node_show() 904 seq_printf(seq, " %3d %d %05d", in nr_node_show() 911 seq_puts(seq, "\n"); in nr_node_show() 936 static void *nr_neigh_start(struct seq_file *seq, loff_t *pos) in nr_neigh_start() argument 942 static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos) in nr_neigh_next() argument [all …]
|
/linux-4.1.27/fs/proc/ |
D | proc_net.c | 89 struct seq_file *seq; in seq_release_net() local 91 seq = f->private_data; in seq_release_net() 93 put_net(seq_file_net(seq)); in seq_release_net() 101 struct seq_file *seq = f->private_data; in single_release_net() local 102 put_net(seq->private); in single_release_net()
|
/linux-4.1.27/include/linux/ceph/ |
D | ceph_fs.h | 281 __le64 seq; member 418 __le32 seq, issue_seq, mseq; member 448 __le32 seq, mseq; member 481 __le32 seq; member 639 __le32 seq, issue_seq; member 665 __le32 seq; member 679 __le32 migrate_seq, seq; member 695 __le32 seq; member 723 __le64 seq; /* snap seq for this snap realm */ member 757 __le64 seq; /* snap: version */ member
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | Makefile | 57 $(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm 60 $(src)/aic7xxx.seq 74 $(obj)/aic79xx_seq.h: $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm 77 $(src)/aic79xx.seq
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 110 nth->seq = htonl(__cookie_v6_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 111 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 151 nth->seq = htonl(recv_seq - 1); in synproxy_send_server_syn() 196 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 197 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 234 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack() 309 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg6() 357 ntohl(th->seq) + 1); in ipv6_synproxy_hook() 385 ntohl(th->seq) + 1)) in ipv6_synproxy_hook() 412 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv6_synproxy_hook()
|
/linux-4.1.27/drivers/ata/ |
D | sata_sx4.c | 210 unsigned int seq; member 564 unsigned int seq, in __pdc20621_push_hdma() argument 574 writel(0x00000001, mmio + PDC_20621_SEQCTL + (seq * 4)); in __pdc20621_push_hdma() 575 readl(mmio + PDC_20621_SEQCTL + (seq * 4)); /* flush */ in __pdc20621_push_hdma() 582 unsigned int seq, in pdc20621_push_hdma() argument 590 __pdc20621_push_hdma(qc, seq, pkt_ofs); in pdc20621_push_hdma() 596 pp->hdma[idx].seq = seq; in pdc20621_push_hdma() 613 __pdc20621_push_hdma(pp->hdma[idx].qc, pp->hdma[idx].seq, in pdc20621_pop_hdma() 644 u8 seq = (u8) (port_no + 1); in pdc20621_packet_start() local 658 seq += 4; in pdc20621_packet_start() [all …]
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | gr_udc.c | 129 static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep) in gr_seq_ep_show() argument 136 seq_printf(seq, "%s:\n", ep->ep.name); in gr_seq_ep_show() 137 seq_printf(seq, " mode = %s\n", gr_modestring[mode]); in gr_seq_ep_show() 138 seq_printf(seq, " halted: %d\n", !!(epctrl & GR_EPCTRL_EH)); in gr_seq_ep_show() 139 seq_printf(seq, " disabled: %d\n", !!(epctrl & GR_EPCTRL_ED)); in gr_seq_ep_show() 140 seq_printf(seq, " valid: %d\n", !!(epctrl & GR_EPCTRL_EV)); in gr_seq_ep_show() 141 seq_printf(seq, " dma_start = %d\n", ep->dma_start); in gr_seq_ep_show() 142 seq_printf(seq, " stopped = %d\n", ep->stopped); in gr_seq_ep_show() 143 seq_printf(seq, " wedged = %d\n", ep->wedged); in gr_seq_ep_show() 144 seq_printf(seq, " callback = %d\n", ep->callback); in gr_seq_ep_show() [all …]
|
/linux-4.1.27/sound/core/seq/oss/ |
D | Makefile | 6 snd-seq-oss-objs := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \ 10 obj-$(CONFIG_SND_SEQUENCER) += snd-seq-oss.o
|