/linux-4.4.14/drivers/staging/lustre/lustre/fid/ |
D | fid_request.c | 58 static int seq_client_rpc(struct lu_client_seq *seq, in seq_client_rpc() argument 62 struct obd_export *exp = seq->lcs_exp; in seq_client_rpc() 84 in->lsr_index = seq->lcs_space.lsr_index; in seq_client_rpc() 85 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 99 if (seq->lcs_type == LUSTRE_SEQ_DATA) in seq_client_rpc() 103 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 112 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 115 if (seq->lcs_type == LUSTRE_SEQ_METADATA) in seq_client_rpc() 125 DRANGE"\n", seq->lcs_name, PRANGE(output)); in seq_client_rpc() 132 DRANGE"]\n", seq->lcs_name, PRANGE(output)); in seq_client_rpc() [all …]
|
D | lproc_fid.c | 101 struct lu_client_seq *seq; in ldebugfs_fid_space_seq_write() local 104 seq = ((struct seq_file *)file->private_data)->private; in ldebugfs_fid_space_seq_write() 105 LASSERT(seq != NULL); in ldebugfs_fid_space_seq_write() 107 mutex_lock(&seq->lcs_mutex); in ldebugfs_fid_space_seq_write() 108 rc = ldebugfs_fid_write_common(buffer, count, &seq->lcs_space); in ldebugfs_fid_space_seq_write() 112 seq->lcs_name, PRANGE(&seq->lcs_space)); in ldebugfs_fid_space_seq_write() 115 mutex_unlock(&seq->lcs_mutex); in ldebugfs_fid_space_seq_write() 123 struct lu_client_seq *seq = (struct lu_client_seq *)m->private; in ldebugfs_fid_space_seq_show() local 125 LASSERT(seq != NULL); in ldebugfs_fid_space_seq_show() 127 mutex_lock(&seq->lcs_mutex); in ldebugfs_fid_space_seq_show() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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-$(CONFIG_SND_PROC_FS) += seq_info.o 11 snd-seq-midi-objs := seq_midi.o 12 snd-seq-midi-emul-objs := seq_midi_emul.o 13 snd-seq-midi-event-objs := seq_midi_event.o 14 snd-seq-dummy-objs := seq_dummy.o 15 snd-seq-virmidi-objs := seq_virmidi.o 17 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o 19 obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o [all …]
|
/linux-4.4.14/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 trace_raw_output_prep() 251 struct trace_seq *s = &iter->seq; in trace_output_raw() 484 struct trace_seq *s = &iter->seq; in lat_print_timestamp() 524 struct trace_seq *s = &iter->seq; in trace_print_context() 554 struct trace_seq *s = &iter->seq; in trace_print_lat_context() 768 trace_seq_printf(&iter->seq, "type: %d\n", iter->ent->type); in trace_nop_print() 770 return trace_handle_return(&iter->seq); in trace_nop_print() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 | 1039 unsigned long seq, struct timeval *now) in send_vblank_event() argument 1043 e->event.sequence = seq; in send_vblank_event() 1120 unsigned int seq; in drm_send_vblank_event() local 1123 seq = drm_vblank_count_and_time(dev, pipe, &now); in drm_send_vblank_event() 1125 seq = 0; in drm_send_vblank_event() 1130 send_vblank_event(dev, e, seq, &now); in drm_send_vblank_event() 1366 unsigned int seq; in drm_vblank_off() local 1394 seq = drm_vblank_count_and_time(dev, pipe, &now); in drm_vblank_off() 1401 e->event.sequence, seq); in drm_vblank_off() 1404 send_vblank_event(dev, e, seq, &now); in drm_vblank_off() [all …]
|
/linux-4.4.14/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.4.14/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() 308 static void icmpmsg_put_line(struct seq_file *seq, unsigned long *vals, in icmpmsg_put_line() argument 314 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, bool abort) in tcp_req_err() argument 323 if (seq != tcp_rsk(req)->snt_isn) { in tcp_req_err() 367 __u32 seq, snd_una; in tcp_v4_err() local 383 seq = ntohl(th->seq); in tcp_v4_err() 385 return tcp_req_err(sk, seq, in tcp_v4_err() 416 !between(seq, snd_una, tp->snd_nxt)) { in tcp_v4_err() 458 if (seq != tp->snd_una || !icsk->icsk_retransmits || in tcp_v4_err() 619 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 622 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 712 struct sk_buff *skb, u32 seq, u32 ack, in tcp_v4_send_ack() argument [all …]
|
D | fib_trie.c | 2130 static void trie_show_stats(struct seq_file *seq, struct trie_stat *stat) in trie_show_stats() argument 2139 seq_printf(seq, "\tAver depth: %u.%02d\n", in trie_show_stats() 2141 seq_printf(seq, "\tMax depth: %u\n", stat->maxdepth); in trie_show_stats() 2143 seq_printf(seq, "\tLeaves: %u\n", stat->leaves); in trie_show_stats() 2146 seq_printf(seq, "\tPrefixes: %u\n", stat->prefixes); in trie_show_stats() 2149 seq_printf(seq, "\tInternal nodes: %u\n\t", stat->tnodes); in trie_show_stats() 2159 seq_printf(seq, " %u: %u", i, stat->nodesizes[i]); in trie_show_stats() 2162 seq_putc(seq, '\n'); in trie_show_stats() 2163 seq_printf(seq, "\tPointers: %u\n", pointers); in trie_show_stats() 2166 seq_printf(seq, "Null ptrs: %u\n", stat->nullpointers); in trie_show_stats() [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() 1016 static struct sock *ping_get_first(struct seq_file *seq, int start) in ping_get_first() argument 1019 struct ping_iter_state *state = seq->private; in ping_get_first() 1020 struct net *net = seq_file_net(seq); in ping_get_first() 1043 static struct sock *ping_get_next(struct seq_file *seq, struct sock *sk) in ping_get_next() argument 1045 struct ping_iter_state *state = seq->private; in ping_get_next() 1046 struct net *net = seq_file_net(seq); in ping_get_next() 1053 return ping_get_first(seq, state->bucket + 1); in ping_get_next() [all …]
|
D | tcp_input.c | 420 tp->rcvq_space.seq = tp->copied_seq; in tcp_init_buffer_space() 533 if (before(tp->rcv_nxt, tp->rcv_rtt_est.seq)) in tcp_rcv_rtt_measure() 538 tp->rcv_rtt_est.seq = tp->rcv_nxt + tp->rcv_wnd; in tcp_rcv_rtt_measure() 548 TCP_SKB_CB(skb)->seq >= inet_csk(sk)->icsk_ack.rcv_mss)) in tcp_rcv_rtt_measure_ts() 567 copied = tp->copied_seq - tp->rcvq_space.seq; in tcp_rcv_space_adjust() 618 tp->rcvq_space.seq = tp->copied_seq; in tcp_rcv_space_adjust() 891 before(TCP_SKB_CB(skb)->seq, in tcp_verify_retransmit_hint() 892 TCP_SKB_CB(tp->retransmit_skb_hint)->seq)) in tcp_verify_retransmit_hint() 1114 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) && in tcp_match_skb_to_sack() 1120 in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq); in tcp_match_skb_to_sack() [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() 189 (TCP_SKB_CB(skb)->seq == tcptw->tw_rcv_nxt && in tcp_timewait_state_process() 190 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process() 233 (after(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt) || in tcp_timewait_state_process() [all …]
|
D | raw.c | 946 static struct sock *raw_get_first(struct seq_file *seq) in raw_get_first() argument 949 struct raw_iter_state *state = raw_seq_private(seq); in raw_get_first() 954 if (sock_net(sk) == seq_file_net(seq)) in raw_get_first() 962 static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk) in raw_get_next() argument 964 struct raw_iter_state *state = raw_seq_private(seq); in raw_get_next() 970 } while (sk && sock_net(sk) != seq_file_net(seq)); in raw_get_next() 979 static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos) in raw_get_idx() argument 981 struct sock *sk = raw_get_first(seq); in raw_get_idx() 984 while (pos && (sk = raw_get_next(seq, sk)) != NULL) in raw_get_idx() 989 void *raw_seq_start(struct seq_file *seq, loff_t *pos) in raw_seq_start() argument [all …]
|
/linux-4.4.14/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.4.14/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 | 592 static inline void *l2t_get_idx(struct seq_file *seq, loff_t pos) in l2t_get_idx() argument 594 struct l2t_data *d = seq->private; in l2t_get_idx() 599 static void *l2t_seq_start(struct seq_file *seq, loff_t *pos) in l2t_seq_start() argument 601 return *pos ? l2t_get_idx(seq, *pos - 1) : SEQ_START_TOKEN; in l2t_seq_start() 604 static void *l2t_seq_next(struct seq_file *seq, void *v, loff_t *pos) in l2t_seq_next() argument 606 v = l2t_get_idx(seq, *pos); in l2t_seq_next() 612 static void l2t_seq_stop(struct seq_file *seq, void *v) in l2t_seq_stop() argument 629 static int l2t_seq_show(struct seq_file *seq, void *v) in l2t_seq_show() argument 632 seq_puts(seq, " Idx IP address " in l2t_seq_show() 636 struct l2t_data *d = seq->private; in l2t_seq_show() [all …]
|
/linux-4.4.14/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 | 705 static void svc_addr(struct seq_file *seq, struct sockaddr_atmsvc *addr) in svc_addr() argument 711 seq_printf(seq, "%s", addr->sas_addr.pub); in svc_addr() 713 seq_putc(seq, '+'); in svc_addr() 715 seq_printf(seq, "%s", "(none)"); in svc_addr() 726 seq_printf(seq, "%02X", *prv++); in svc_addr() 728 seq_putc(seq, '.'); in svc_addr() 736 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info() argument 756 seq_printf(seq, "%-6s%-4s%-4s%5ld ", in atmarp_info() 763 seq_printf(seq, "%s", buf); in atmarp_info() 767 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.4.14/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.4.14/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.4.14/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 | 554 struct asd_seq_data *seq = &asd_ha->seq; in asd_free_edbs() local 557 for (i = 0; i < seq->num_edbs; i++) in asd_free_edbs() 558 asd_free_coherent(asd_ha, seq->edb_arr[i]); in asd_free_edbs() 559 kfree(seq->edb_arr); in asd_free_edbs() 560 seq->edb_arr = NULL; in asd_free_edbs() 565 struct asd_seq_data *seq = &asd_ha->seq; in asd_free_escbs() local 568 for (i = 0; i < seq->num_escbs; i++) { in asd_free_escbs() 569 if (!list_empty(&seq->escb_arr[i]->list)) in asd_free_escbs() 570 list_del_init(&seq->escb_arr[i]->list); in asd_free_escbs() 572 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.4.14/net/tipc/ |
D | name_table.c | 466 struct name_seq *seq = nametbl_find_seq(net, type); in tipc_nametbl_insert_publ() local 476 if (!seq) in tipc_nametbl_insert_publ() 477 seq = tipc_nameseq_create(type, &tn->nametbl->seq_hlist[index]); in tipc_nametbl_insert_publ() 478 if (!seq) in tipc_nametbl_insert_publ() 481 spin_lock_bh(&seq->lock); in tipc_nametbl_insert_publ() 482 publ = tipc_nameseq_insert_publ(net, seq, type, lower, upper, in tipc_nametbl_insert_publ() 484 spin_unlock_bh(&seq->lock); in tipc_nametbl_insert_publ() 493 struct name_seq *seq = nametbl_find_seq(net, type); in tipc_nametbl_remove_publ() local 495 if (!seq) in tipc_nametbl_remove_publ() 498 spin_lock_bh(&seq->lock); in tipc_nametbl_remove_publ() [all …]
|
D | subscr.c | 98 if (found_lower < sub->seq.lower) in tipc_subscrp_check_overlap() 99 found_lower = sub->seq.lower; in tipc_subscrp_check_overlap() 100 if (found_upper > sub->seq.upper) in tipc_subscrp_check_overlap() 101 found_upper = sub->seq.upper; in tipc_subscrp_check_overlap() 126 tipc_subscrp_send_event(sub, sub->evt.s.seq.lower, sub->evt.s.seq.upper, in tipc_subscrp_timeout() 253 sub->seq.type = htohl(s->seq.type, swap); in tipc_subscrp_create() 254 sub->seq.lower = htohl(s->seq.lower, swap); in tipc_subscrp_create() 255 sub->seq.upper = htohl(s->seq.upper, swap); in tipc_subscrp_create() 260 (sub->seq.lower > sub->seq.upper)) { in tipc_subscrp_create()
|
/linux-4.4.14/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.4.14/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.4.14/kernel/time/ |
D | timekeeping.c | 40 seqcount_t seq; member 57 seqcount_t seq; member 165 unsigned int seq; in timekeeping_get_delta() local 175 seq = read_seqcount_begin(&tk_core.seq); in timekeeping_get_delta() 180 } while (read_seqcount_retry(&tk_core.seq, seq)); in timekeeping_get_delta() 333 raw_write_seqcount_latch(&tkf->seq); in update_fast_timekeeper() 339 raw_write_seqcount_latch(&tkf->seq); in update_fast_timekeeper() 380 unsigned int seq; in __ktime_get_fast_ns() local 384 seq = raw_read_seqcount_latch(&tkf->seq); in __ktime_get_fast_ns() 385 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.4.14/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 | nf_conntrack_expect.c | 469 static struct hlist_node *ct_expect_get_first(struct seq_file *seq) in ct_expect_get_first() argument 471 struct net *net = seq_file_net(seq); in ct_expect_get_first() 472 struct ct_expect_iter_state *st = seq->private; in ct_expect_get_first() 483 static struct hlist_node *ct_expect_get_next(struct seq_file *seq, in ct_expect_get_next() argument 486 struct net *net = seq_file_net(seq); in ct_expect_get_next() 487 struct ct_expect_iter_state *st = seq->private; in ct_expect_get_next() 498 static struct hlist_node *ct_expect_get_idx(struct seq_file *seq, loff_t pos) in ct_expect_get_idx() argument 500 struct hlist_node *head = ct_expect_get_first(seq); in ct_expect_get_idx() 503 while (pos && (head = ct_expect_get_next(seq, head))) in ct_expect_get_idx() 508 static void *exp_seq_start(struct seq_file *seq, loff_t *pos) in exp_seq_start() argument [all …]
|
D | x_tables.c | 1150 static void *xt_table_seq_start(struct seq_file *seq, loff_t *pos) in xt_table_seq_start() argument 1152 struct xt_names_priv *priv = seq->private; in xt_table_seq_start() 1153 struct net *net = seq_file_net(seq); in xt_table_seq_start() 1160 static void *xt_table_seq_next(struct seq_file *seq, void *v, loff_t *pos) in xt_table_seq_next() argument 1162 struct xt_names_priv *priv = seq->private; in xt_table_seq_next() 1163 struct net *net = seq_file_net(seq); in xt_table_seq_next() 1169 static void xt_table_seq_stop(struct seq_file *seq, void *v) in xt_table_seq_stop() argument 1171 struct xt_names_priv *priv = seq->private; in xt_table_seq_stop() 1177 static int xt_table_seq_show(struct seq_file *seq, void *v) in xt_table_seq_show() argument 1182 seq_printf(seq, "%s\n", table->name); in xt_table_seq_show() [all …]
|
D | nf_synproxy_core.c | 247 static void *synproxy_cpu_seq_start(struct seq_file *seq, loff_t *pos) in synproxy_cpu_seq_start() argument 249 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_start() 265 static void *synproxy_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos) in synproxy_cpu_seq_next() argument 267 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_next() 280 static void synproxy_cpu_seq_stop(struct seq_file *seq, void *v) in synproxy_cpu_seq_stop() argument 285 static int synproxy_cpu_seq_show(struct seq_file *seq, void *v) in synproxy_cpu_seq_show() argument 290 seq_printf(seq, "entries\t\tsyn_received\t" in synproxy_cpu_seq_show() 296 seq_printf(seq, "%08x\t%08x\t%08x\t%08x\t%08x\t%08x\n", 0, in synproxy_cpu_seq_show()
|
/linux-4.4.14/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 | 478 static int pgctrl_show(struct seq_file *seq, void *v) in pgctrl_show() argument 480 seq_puts(seq, version); in pgctrl_show() 533 static int pktgen_if_show(struct seq_file *seq, void *v) in pktgen_if_show() argument 535 const struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_show() 539 seq_printf(seq, in pktgen_if_show() 544 seq_printf(seq, in pktgen_if_show() 549 seq_printf(seq, " flows: %u flowlen: %u\n", pkt_dev->cflows, in pktgen_if_show() 552 seq_printf(seq, in pktgen_if_show() 558 seq_printf(seq, " skb_priority: %u\n", in pktgen_if_show() 562 seq_printf(seq, in pktgen_if_show() [all …]
|
D | neighbour.c | 1298 unsigned int seq; in neigh_resolve_output() local 1305 seq = read_seqbegin(&neigh->ha_lock); in neigh_resolve_output() 1308 } while (read_seqretry(&neigh->ha_lock, seq)); in neigh_resolve_output() 1329 unsigned int seq; in neigh_connected_output() local 1334 seq = read_seqbegin(&neigh->ha_lock); in neigh_connected_output() 1337 } while (read_seqretry(&neigh->ha_lock, seq)); in neigh_connected_output() 1790 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument 1795 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info() 1880 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument 1886 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info() [all …]
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fence.c | 61 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write() argument 66 *drv->cpu_addr = cpu_to_le32(seq); in amdgpu_fence_write() 80 u32 seq = 0; in amdgpu_fence_read() local 83 seq = le32_to_cpu(*drv->cpu_addr); in amdgpu_fence_read() 85 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in amdgpu_fence_read() 87 return seq; in amdgpu_fence_read() 110 (*fence)->seq = ++ring->fence_drv.sync_seq[ring->idx]; in amdgpu_fence_emit() 116 (*fence)->seq); in amdgpu_fence_emit() 118 (*fence)->seq, in amdgpu_fence_emit() 147 uint64_t seq, last_seq, last_emitted; in amdgpu_fence_activity() local [all …]
|
D | amdgpu_ctx.c | 238 uint64_t seq = cring->sequence; in amdgpu_ctx_add_fence() local 242 idx = seq % AMDGPU_CTX_MAX_CS_PENDING; in amdgpu_ctx_add_fence() 260 return seq; in amdgpu_ctx_add_fence() 264 struct amdgpu_ring *ring, uint64_t seq) in amdgpu_ctx_get_fence() argument 271 if (seq >= cring->sequence) { in amdgpu_ctx_get_fence() 277 if (seq + AMDGPU_CTX_MAX_CS_PENDING < cring->sequence) { in amdgpu_ctx_get_fence() 282 fence = fence_get(cring->fences[seq % AMDGPU_CTX_MAX_CS_PENDING]); in amdgpu_ctx_get_fence()
|
/linux-4.4.14/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 | 700 #define ip6fl_seq_private(seq) ((struct ip6fl_iter_state *)(seq)->private) argument 702 static struct ip6_flowlabel *ip6fl_get_first(struct seq_file *seq) in ip6fl_get_first() argument 705 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_first() 706 struct net *net = seq_file_net(seq); in ip6fl_get_first() 719 static struct ip6_flowlabel *ip6fl_get_next(struct seq_file *seq, struct ip6_flowlabel *fl) in ip6fl_get_next() argument 721 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_next() 722 struct net *net = seq_file_net(seq); in ip6fl_get_next() 743 static struct ip6_flowlabel *ip6fl_get_idx(struct seq_file *seq, loff_t pos) in ip6fl_get_idx() argument 745 struct ip6_flowlabel *fl = ip6fl_get_first(seq); in ip6fl_get_idx() 747 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()
|
/linux-4.4.14/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 | 99 nth->seq = htonl(__cookie_v4_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 100 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 140 nth->seq = htonl(recv_seq - 1); in synproxy_send_server_syn() 185 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 186 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 223 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack() 299 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg4() 340 ntohl(th->seq) + 1); in ipv4_synproxy_hook() 368 ntohl(th->seq) + 1)) in ipv4_synproxy_hook() 395 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv4_synproxy_hook()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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_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_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_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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/unisys/visorbus/ |
D | visorchannel.c | 542 sigqueue_debug(struct signal_queue_header *q, int which, struct seq_file *seq) in sigqueue_debug() argument 544 seq_printf(seq, "Signal Queue #%d\n", which); in sigqueue_debug() 545 seq_printf(seq, " VersionId = %lu\n", (ulong)q->version); in sigqueue_debug() 546 seq_printf(seq, " Type = %lu\n", (ulong)q->chtype); in sigqueue_debug() 547 seq_printf(seq, " oSignalBase = %llu\n", in sigqueue_debug() 549 seq_printf(seq, " SignalSize = %lu\n", (ulong)q->signal_size); in sigqueue_debug() 550 seq_printf(seq, " MaxSignalSlots = %lu\n", in sigqueue_debug() 552 seq_printf(seq, " MaxSignals = %lu\n", (ulong)q->max_signals); in sigqueue_debug() 553 seq_printf(seq, " FeatureFlags = %-16.16Lx\n", in sigqueue_debug() 555 seq_printf(seq, " NumSignalsSent = %llu\n", in sigqueue_debug() [all …]
|
/linux-4.4.14/include/linux/ |
D | u64_stats_sync.h | 66 seqcount_t seq; member 74 seqcount_init(&syncp->seq); in u64_stats_init() 81 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin() 88 write_seqcount_end(&syncp->seq); in u64_stats_update_end() 95 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin() 108 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry() 126 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin_irq() 139 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry_irq()
|
D | rbtree_latch.h | 43 seqcount_t seq; member 146 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 148 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 173 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() 175 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() 202 unsigned int seq; in latch_tree_find() local 205 seq = raw_read_seqcount_latch(&root->seq); in latch_tree_find() 206 node = __lt_find(key, root, seq & 1, ops->comp); in latch_tree_find() 207 } while (read_seqcount_retry(&root->seq, seq)); in latch_tree_find()
|
D | seqlock.h | 523 static inline void read_seqbegin_or_lock(seqlock_t *lock, int *seq) in read_seqbegin_or_lock() argument 525 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock() 526 *seq = read_seqbegin(lock); in read_seqbegin_or_lock() 531 static inline int need_seqretry(seqlock_t *lock, int seq) in need_seqretry() argument 533 return !(seq & 1) && read_seqretry(lock, seq); in need_seqretry() 536 static inline void done_seqretry(seqlock_t *lock, int seq) in done_seqretry() argument 538 if (seq & 1) in done_seqretry() 580 read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) in read_seqbegin_or_lock_irqsave() argument 584 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock_irqsave() 585 *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.4.14/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.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_lproc.c | 72 static int sptlrpc_info_lprocfs_seq_show(struct seq_file *seq, void *v) in sptlrpc_info_lprocfs_seq_show() argument 74 struct obd_device *dev = seq->private; in sptlrpc_info_lprocfs_seq_show() 90 seq_printf(seq, "rpc flavor: %s\n", in sptlrpc_info_lprocfs_seq_show() 92 seq_printf(seq, "bulk flavor: %s\n", in sptlrpc_info_lprocfs_seq_show() 94 seq_printf(seq, "flags: %s\n", in sptlrpc_info_lprocfs_seq_show() 96 seq_printf(seq, "id: %d\n", sec->ps_id); in sptlrpc_info_lprocfs_seq_show() 97 seq_printf(seq, "refcount: %d\n", in sptlrpc_info_lprocfs_seq_show() 99 seq_printf(seq, "nctx: %d\n", atomic_read(&sec->ps_nctx)); in sptlrpc_info_lprocfs_seq_show() 100 seq_printf(seq, "gc internal %ld\n", sec->ps_gc_interval); in sptlrpc_info_lprocfs_seq_show() 101 seq_printf(seq, "gc next %lld\n", in sptlrpc_info_lprocfs_seq_show() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/kernel/ |
D | user_namespace.c | 430 static int uid_m_show(struct seq_file *seq, void *v) in uid_m_show() argument 432 struct user_namespace *ns = seq->private; in uid_m_show() 437 lower_ns = seq_user_ns(seq); in uid_m_show() 443 seq_printf(seq, "%10u %10u %10u\n", in uid_m_show() 451 static int gid_m_show(struct seq_file *seq, void *v) in gid_m_show() argument 453 struct user_namespace *ns = seq->private; in gid_m_show() 458 lower_ns = seq_user_ns(seq); in gid_m_show() 464 seq_printf(seq, "%10u %10u %10u\n", in gid_m_show() 472 static int projid_m_show(struct seq_file *seq, void *v) in projid_m_show() argument 474 struct user_namespace *ns = seq->private; in projid_m_show() [all …]
|
/linux-4.4.14/net/mac80211/ |
D | key.c | 377 size_t seq_len, const u8 *seq, in ieee80211_key_alloc() argument 409 if (seq) { in ieee80211_key_alloc() 412 get_unaligned_le32(&seq[2]); in ieee80211_key_alloc() 414 get_unaligned_le16(seq); in ieee80211_key_alloc() 422 if (seq) { in ieee80211_key_alloc() 426 seq[IEEE80211_CCMP_PN_LEN - j - 1]; in ieee80211_key_alloc() 443 for (i = 0; seq && i < IEEE80211_NUM_TIDS + 1; i++) in ieee80211_key_alloc() 446 seq[IEEE80211_CCMP_256_PN_LEN - j - 1]; in ieee80211_key_alloc() 465 if (seq) in ieee80211_key_alloc() 468 seq[IEEE80211_CMAC_PN_LEN - j - 1]; in ieee80211_key_alloc() [all …]
|
/linux-4.4.14/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.4.14/net/netfilter/ipvs/ |
D | ip_vs_app.c | 287 __u32 seq = ntohl(th->seq); in vs_fix_seq() local 295 if(after(seq, vseq->init_seq)) { in vs_fix_seq() 296 th->seq = htonl(seq + vseq->delta); in vs_fix_seq() 300 th->seq = htonl(seq + vseq->previous_delta); in vs_fix_seq() 344 unsigned int flag, __u32 seq, int diff) in vs_seq_update() argument 348 if (!(cp->flags & flag) || after(seq, vseq->init_seq)) { in vs_seq_update() 351 vseq->init_seq = seq; in vs_seq_update() 363 __u32 seq; in app_tcp_pkt_out() local 373 seq = ntohl(th->seq); in app_tcp_pkt_out() 397 IP_VS_CONN_F_OUT_SEQ, seq, diff); in app_tcp_pkt_out() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/acpi/ |
D | battery.c | 790 static int acpi_battery_print_info(struct seq_file *seq, int result) in acpi_battery_print_info() argument 792 struct acpi_battery *battery = seq->private; in acpi_battery_print_info() 797 seq_printf(seq, "present: %s\n", in acpi_battery_print_info() 802 seq_printf(seq, "design capacity: unknown\n"); in acpi_battery_print_info() 804 seq_printf(seq, "design capacity: %d %sh\n", in acpi_battery_print_info() 809 seq_printf(seq, "last full capacity: unknown\n"); in acpi_battery_print_info() 811 seq_printf(seq, "last full capacity: %d %sh\n", in acpi_battery_print_info() 815 seq_printf(seq, "battery technology: %srechargeable\n", in acpi_battery_print_info() 819 seq_printf(seq, "design voltage: unknown\n"); in acpi_battery_print_info() 821 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 | 172 static int acpi_ac_seq_show(struct seq_file *seq, void *offset) in acpi_ac_seq_show() argument 174 struct acpi_ac *ac = seq->private; in acpi_ac_seq_show() 181 seq_puts(seq, "ERROR: Unable to read AC Adapter state\n"); in acpi_ac_seq_show() 185 seq_puts(seq, "state: "); in acpi_ac_seq_show() 188 seq_puts(seq, "off-line\n"); in acpi_ac_seq_show() 191 seq_puts(seq, "on-line\n"); in acpi_ac_seq_show() 194 seq_puts(seq, "unknown\n"); in acpi_ac_seq_show()
|
/linux-4.4.14/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.4.14/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() 137 if (seq != r->head_seq_num) { in wil_rx_reorder() 138 if (seq_less(seq, r->head_seq_num)) { in wil_rx_reorder() 141 seq, r->head_seq_num); in wil_rx_reorder() 148 seq, r->head_seq_num); in wil_rx_reorder() 149 r->head_seq_num = seq; in wil_rx_reorder() 150 r->ssn = seq; in wil_rx_reorder() [all …]
|
/linux-4.4.14/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()
|
D | raid5-cache.c | 52 u64 seq; /* log head sequence */ member 107 u64 seq; /* seq number of the metablock */ member 300 block->seq = cpu_to_le64(log->seq); in r5l_new_meta() 305 io->seq = log->seq++; in r5l_new_meta() 554 log->next_cp_seq = io->seq; in r5l_complete_finished_ios() 819 u64 seq; /* recovery position seq */ member 837 le64_to_cpu(mb->seq) != ctx->seq || in r5l_read_meta_block() 986 ctx->seq++; in r5l_recovery_flush_log() 992 u64 seq) in r5l_log_write_empty_meta_block() argument 1005 mb->seq = cpu_to_le64(seq); in r5l_log_write_empty_meta_block() [all …]
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | tfc_io.c | 83 ep = fc_seq_exch(cmd->seq); in ft_queue_data_in() 85 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_queue_data_in() 104 struct fc_seq *seq = cmd->seq; in ft_queue_data_in() local 106 if (!seq) { in ft_queue_data_in() 177 error = lport->tt.seq_send(lport, seq, fp); in ft_queue_data_in() 212 struct fc_seq *seq = cmd->seq; in ft_recv_write_data() local 234 ep = fc_seq_exch(seq); in ft_recv_write_data() 344 struct fc_seq *seq; in ft_invl_hw_context() local 349 seq = cmd->seq; in ft_invl_hw_context() 352 if (cmd->was_ddp_setup && seq) { in ft_invl_hw_context() [all …]
|
D | tfc_cmd.c | 55 caller, cmd, cmd->sess, cmd->seq, se_cmd); in _ft_dump_cmd() 67 sp = cmd->seq; in _ft_dump_cmd() 130 ep = fc_seq_exch(cmd->seq); in ft_queue_status() 165 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_queue_status() 169 rc = lport->tt.seq_send(lport, cmd->seq, fp); in ft_queue_status() 181 lport->tt.exch_done(cmd->seq); in ft_queue_status() 209 ep = fc_seq_exch(cmd->seq); in ft_write_pending() 219 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_write_pending() 240 lport->tt.seq_send(lport, cmd->seq, fp); in ft_write_pending() 259 cmd->seq = NULL; in ft_recv_seq() [all …]
|
/linux-4.4.14/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.4.14/drivers/usb/dwc2/ |
D | debugfs.c | 133 static int state_show(struct seq_file *seq, void *v) in state_show() argument 135 struct dwc2_hsotg *hsotg = seq->private; in state_show() 139 seq_printf(seq, "DCFG=0x%08x, DCTL=0x%08x, DSTS=0x%08x\n", in state_show() 144 seq_printf(seq, "DIEPMSK=0x%08x, DOEPMASK=0x%08x\n", in state_show() 147 seq_printf(seq, "GINTMSK=0x%08x, GINTSTS=0x%08x\n", in state_show() 151 seq_printf(seq, "DAINTMSK=0x%08x, DAINT=0x%08x\n", in state_show() 155 seq_printf(seq, "GNPTXSTS=0x%08x, GRXSTSR=%08x\n", in state_show() 159 seq_puts(seq, "\nEndpoint status:\n"); in state_show() 167 seq_printf(seq, "ep%d: DIEPCTL=0x%08x, DOEPCTL=0x%08x", in state_show() 173 seq_printf(seq, ", DIEPTSIZ=0x%08x, DOEPTSIZ=0x%08x", in state_show() [all …]
|
/linux-4.4.14/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.4.14/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()
|
/linux-4.4.14/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.4.14/arch/x86/entry/vdso/ |
D | vclock_gettime.c | 220 unsigned long seq; in do_realtime() local 225 seq = gtod_read_begin(gtod); in do_realtime() 231 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime() 241 unsigned long seq; in do_monotonic() local 246 seq = gtod_read_begin(gtod); in do_monotonic() 252 } while (unlikely(gtod_read_retry(gtod, seq))); in do_monotonic() 262 unsigned long seq; in do_realtime_coarse() local 264 seq = gtod_read_begin(gtod); in do_realtime_coarse() 267 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime_coarse() 272 unsigned long seq; in do_monotonic_coarse() local [all …]
|
/linux-4.4.14/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() 2102 unsigned int seq, in slow_dentry_cmp() argument 2108 if (read_seqcount_retry(&dentry->d_seq, seq)) { in slow_dentry_cmp() 2177 unsigned seq; in __d_lookup_rcu() local [all …]
|
D | namei.c | 502 unsigned seq, m_seq; member 511 unsigned seq; member 626 struct path *path, unsigned seq) in legitimize_path() argument 639 return !read_seqcount_retry(&path->dentry->d_seq, seq); in legitimize_path() 647 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links() 680 static int unlazy_walk(struct nameidata *nd, struct dentry *dentry, unsigned seq) in unlazy_walk() argument 706 if (read_seqcount_retry(&parent->d_seq, nd->seq)) in unlazy_walk() 712 if (read_seqcount_retry(&dentry->d_seq, seq)) in unlazy_walk() 747 static int unlazy_link(struct nameidata *nd, struct path *link, unsigned seq) in unlazy_link() argument 749 if (unlikely(!legitimize_path(nd, link, seq))) { in unlazy_link() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 599 static int osc_rpc_stats_seq_show(struct seq_file *seq, void *v) in osc_rpc_stats_seq_show() argument 602 struct obd_device *dev = seq->private; in osc_rpc_stats_seq_show() 611 seq_printf(seq, "snapshot_time: %llu.%9lu (secs.usecs)\n", in osc_rpc_stats_seq_show() 613 seq_printf(seq, "read RPCs in flight: %d\n", in osc_rpc_stats_seq_show() 615 seq_printf(seq, "write RPCs in flight: %d\n", in osc_rpc_stats_seq_show() 617 seq_printf(seq, "pending write pages: %d\n", in osc_rpc_stats_seq_show() 619 seq_printf(seq, "pending read pages: %d\n", in osc_rpc_stats_seq_show() 622 seq_puts(seq, "\n\t\t\tread\t\t\twrite\n"); in osc_rpc_stats_seq_show() 623 seq_puts(seq, "pages per rpc rpcs % cum % |"); in osc_rpc_stats_seq_show() 624 seq_puts(seq, " rpcs % cum %\n"); in osc_rpc_stats_seq_show() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/fs/btrfs/ |
D | delayed-ref.c | 204 u64 seq) in merge_ref() argument 220 if (seq && next->seq >= seq) in merge_ref() 273 u64 seq = 0; in btrfs_merge_delayed_refs() local 290 seq = elem->seq; in btrfs_merge_delayed_refs() 297 if (seq && ref->seq >= seq) in btrfs_merge_delayed_refs() 300 if (merge_ref(trans, delayed_refs, head, ref, seq)) { in btrfs_merge_delayed_refs() 315 u64 seq) in btrfs_check_delayed_seq() argument 324 if (seq >= elem->seq) { in btrfs_check_delayed_seq() 326 (u32)(seq >> 32), (u32)seq, in btrfs_check_delayed_seq() 327 (u32)(elem->seq >> 32), (u32)elem->seq, in btrfs_check_delayed_seq() [all …]
|
D | super.c | 1118 static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) in btrfs_show_options() argument 1125 seq_puts(seq, ",degraded"); in btrfs_show_options() 1127 seq_puts(seq, ",nodatasum"); in btrfs_show_options() 1129 seq_puts(seq, ",nodatacow"); in btrfs_show_options() 1131 seq_puts(seq, ",nobarrier"); in btrfs_show_options() 1133 seq_printf(seq, ",max_inline=%llu", info->max_inline); in btrfs_show_options() 1135 seq_printf(seq, ",alloc_start=%llu", info->alloc_start); in btrfs_show_options() 1138 seq_printf(seq, ",thread_pool=%d", info->thread_pool_size); in btrfs_show_options() 1145 seq_printf(seq, ",compress-force=%s", compress_type); in btrfs_show_options() 1147 seq_printf(seq, ",compress=%s", compress_type); in btrfs_show_options() [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | feature.c | 60 static int brcmf_feat_debugfs_read(struct seq_file *seq, void *data) in brcmf_feat_debugfs_read() argument 62 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_debugfs_read() 67 seq_printf(seq, "Features: %08x\n", feats); in brcmf_feat_debugfs_read() 70 seq_printf(seq, "\t%s\n", brcmf_feat_names[id]); in brcmf_feat_debugfs_read() 71 seq_printf(seq, "\nQuirks: %08x\n", quirks); in brcmf_feat_debugfs_read() 74 seq_printf(seq, "\t%s\n", brcmf_quirk_names[id]); in brcmf_feat_debugfs_read() 78 static int brcmf_feat_debugfs_read(struct seq_file *seq, void *data) in brcmf_feat_debugfs_read() argument
|
/linux-4.4.14/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 | 654 static int rtllib_tkip_set_key(void *key, int len, u8 *seq, void *priv) in rtllib_tkip_set_key() argument 675 if (seq) { in rtllib_tkip_set_key() 676 tkey->rx_iv32 = (seq[5] << 24) | (seq[4] << 16) | in rtllib_tkip_set_key() 677 (seq[3] << 8) | seq[2]; in rtllib_tkip_set_key() 678 tkey->rx_iv16 = (seq[1] << 8) | seq[0]; in rtllib_tkip_set_key() 689 static int rtllib_tkip_get_key(void *key, int len, u8 *seq, void *priv) in rtllib_tkip_get_key() argument 700 if (seq) { in rtllib_tkip_get_key() 708 seq[0] = tkey->tx_iv16; in rtllib_tkip_get_key() 709 seq[1] = tkey->tx_iv16 >> 8; in rtllib_tkip_get_key() 710 seq[2] = tkey->tx_iv32; in rtllib_tkip_get_key() [all …]
|
/linux-4.4.14/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() 351 snapc->seq = realm->seq; in build_snap_context() 362 if (parent->cached_context->seq > snapc->seq) in build_snap_context() 363 snapc->seq = parent->cached_context->seq; in build_snap_context() 375 realm->ino, realm, snapc, snapc->seq, in build_snap_context() 438 return n->snaps[0] > o->seq; in has_new_snaps() 529 capsnap->follows = old_snapc->seq; in ceph_queue_cap_snap() 561 capsnap, old_snapc, old_snapc->seq); in ceph_queue_cap_snap() [all …]
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 48 if (atomic64_read(&fence->drv->last_seq) >= fence->seq) in virtio_signaled() 57 snprintf(str, size, "%llu", fence->seq); in virtio_fence_value_str() 90 (*fence)->seq = ++drv->sync_seq; in virtio_gpu_fence_emit() 92 0, (*fence)->seq); in virtio_gpu_fence_emit() 98 cmd_hdr->fence_id = cpu_to_le64((*fence)->seq); in virtio_gpu_fence_emit() 112 if (last_seq < fence->seq) in virtio_gpu_fence_event_process()
|
/linux-4.4.14/lib/ |
D | nmi_backtrace.c | 30 struct seq_buf seq; member 79 seq_buf_init(&s->seq, s->buffer, NMI_BUF_SIZE); in nmi_trigger_all_cpu_backtrace() 104 len = seq_buf_used(&s->seq); in nmi_trigger_all_cpu_backtrace() 142 unsigned int len = seq_buf_used(&s->seq); in nmi_vprintk() 144 seq_buf_vprintf(&s->seq, fmt, args); in nmi_vprintk() 145 return seq_buf_used(&s->seq) - len; in nmi_vprintk()
|
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.4.14/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.4.14/fs/ext4/ |
D | mmp.c | 138 u32 seq = 0; in kmmpd() local 162 if (++seq > EXT4_MMP_SEQ_MAX) in kmmpd() 163 seq = 1; in kmmpd() 165 mmp->mmp_seq = cpu_to_le32(seq); in kmmpd() 282 u32 seq; in ext4_multi_mount_protect() local 309 seq = le32_to_cpu(mmp->mmp_seq); in ext4_multi_mount_protect() 310 if (seq == EXT4_MMP_SEQ_CLEAN) in ext4_multi_mount_protect() 313 if (seq == EXT4_MMP_SEQ_FSCK) { in ext4_multi_mount_protect() 335 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect() 345 seq = mmp_new_seq(); in ext4_multi_mount_protect() [all …]
|
/linux-4.4.14/block/ |
D | blk-flush.c | 116 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq() 168 unsigned int seq, int error) in blk_flush_complete_seq() argument 174 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq() 175 rq->flush.seq |= seq; in blk_flush_complete_seq() 178 seq = blk_flush_cur_seq(rq); in blk_flush_complete_seq() 180 seq = REQ_FSEQ_DONE; in blk_flush_complete_seq() 182 switch (seq) { in blk_flush_complete_seq() 250 unsigned int seq = blk_flush_cur_seq(rq); in flush_end_io() local 252 BUG_ON(seq != REQ_FSEQ_PREFLUSH && seq != REQ_FSEQ_POSTFLUSH); in flush_end_io() 253 queued |= blk_flush_complete_seq(rq, fq, seq, error); in flush_end_io()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 370 static int ieee80211_ccmp_set_key(void *key, int len, u8 *seq, void *priv) in ieee80211_ccmp_set_key() argument 383 if (seq) { in ieee80211_ccmp_set_key() 384 data->rx_pn[0] = seq[5]; in ieee80211_ccmp_set_key() 385 data->rx_pn[1] = seq[4]; in ieee80211_ccmp_set_key() 386 data->rx_pn[2] = seq[3]; in ieee80211_ccmp_set_key() 387 data->rx_pn[3] = seq[2]; in ieee80211_ccmp_set_key() 388 data->rx_pn[4] = seq[1]; in ieee80211_ccmp_set_key() 389 data->rx_pn[5] = seq[0]; in ieee80211_ccmp_set_key() 401 static int ieee80211_ccmp_get_key(void *key, int len, u8 *seq, void *priv) in ieee80211_ccmp_get_key() argument 412 if (seq) { in ieee80211_ccmp_get_key() [all …]
|
D | ieee80211_crypt_tkip.c | 659 static int ieee80211_tkip_set_key(void *key, int len, u8 *seq, void *priv) in ieee80211_tkip_set_key() argument 680 if (seq) { in ieee80211_tkip_set_key() 681 tkey->rx_iv32 = (seq[5] << 24) | (seq[4] << 16) | in ieee80211_tkip_set_key() 682 (seq[3] << 8) | seq[2]; in ieee80211_tkip_set_key() 683 tkey->rx_iv16 = (seq[1] << 8) | seq[0]; in ieee80211_tkip_set_key() 694 static int ieee80211_tkip_get_key(void *key, int len, u8 *seq, void *priv) in ieee80211_tkip_get_key() argument 705 if (seq) { in ieee80211_tkip_get_key() 713 seq[0] = tkey->tx_iv16; in ieee80211_tkip_get_key() 714 seq[1] = tkey->tx_iv16 >> 8; in ieee80211_tkip_get_key() 715 seq[2] = tkey->tx_iv32; in ieee80211_tkip_get_key() [all …]
|
/linux-4.4.14/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.4.14/net/ax25/ |
D | ax25_uid.c | 149 static void *ax25_uid_seq_start(struct seq_file *seq, loff_t *pos) in ax25_uid_seq_start() argument 156 static void *ax25_uid_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ax25_uid_seq_next() argument 161 static void ax25_uid_seq_stop(struct seq_file *seq, void *v) in ax25_uid_seq_stop() argument 167 static int ax25_uid_seq_show(struct seq_file *seq, void *v) in ax25_uid_seq_show() argument 172 seq_printf(seq, "Policy: %d\n", ax25_uid_policy); in ax25_uid_seq_show() 177 seq_printf(seq, "%6d %s\n", in ax25_uid_seq_show() 178 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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 391 #define seq_page_flag(seq, page, flag, has_flags) do { \ argument 393 seq_printf(seq, "%s"#flag, has_flags ? "|" : ""); \ 399 struct seq_file *seq, struct cl_page *page) in vvp_pgcache_page_show() argument 407 seq_printf(seq, " %5i | %p %p %s %s %s %s | %p %lu/%u(%p) %lu %u [", in vvp_pgcache_page_show() 419 seq_page_flag(seq, vmpage, locked, has_flags); in vvp_pgcache_page_show() 420 seq_page_flag(seq, vmpage, error, has_flags); in vvp_pgcache_page_show() 421 seq_page_flag(seq, vmpage, referenced, has_flags); in vvp_pgcache_page_show() 422 seq_page_flag(seq, vmpage, uptodate, has_flags); in vvp_pgcache_page_show() 423 seq_page_flag(seq, vmpage, dirty, has_flags); in vvp_pgcache_page_show() 424 seq_page_flag(seq, vmpage, writeback, has_flags); in vvp_pgcache_page_show() [all …]
|
D | lproc_llite.c | 1106 struct seq_file *seq, int which) in ll_display_extents_info() argument 1129 seq_printf(seq, "%4lu%c - %4lu%c%c: %14lu %4lu %4lu | %14lu %4lu %4lu\n", in ll_display_extents_info() 1145 static int ll_rw_extents_stats_pp_seq_show(struct seq_file *seq, void *v) in ll_rw_extents_stats_pp_seq_show() argument 1148 struct ll_sb_info *sbi = seq->private; in ll_rw_extents_stats_pp_seq_show() 1155 seq_printf(seq, "disabled\n" in ll_rw_extents_stats_pp_seq_show() 1159 seq_printf(seq, "snapshot_time: %llu.%09lu (secs.usecs)\n", in ll_rw_extents_stats_pp_seq_show() 1161 seq_printf(seq, "%15s %19s | %20s\n", " ", "read", "write"); in ll_rw_extents_stats_pp_seq_show() 1162 seq_printf(seq, "%13s %14s %4s %4s | %14s %4s %4s\n", in ll_rw_extents_stats_pp_seq_show() 1168 seq_printf(seq, "\nPID: %d\n", in ll_rw_extents_stats_pp_seq_show() 1170 ll_display_extents_info(io_extents, seq, k); in ll_rw_extents_stats_pp_seq_show() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/fld/ |
D | fld_request.c | 111 static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq) in fld_rrb_hash() argument 114 return do_div(seq, fld->lcf_count); in fld_rrb_hash() 118 fld_rrb_scan(struct lu_client_fld *fld, u64 seq) in fld_rrb_scan() argument 128 if (fid_seq_is_norm(seq)) in fld_rrb_scan() 129 hash = fld_rrb_hash(fld, seq); in fld_rrb_scan() 148 fld->lcf_name, hash, seq, fld->lcf_count); in fld_rrb_scan() 182 fld_client_get_target(struct lu_client_fld *fld, u64 seq) in fld_client_get_target() argument 189 target = fld->lcf_hash->fh_scan_func(fld, seq); in fld_client_get_target() 194 fld->lcf_name, target->ft_idx, seq); in fld_client_get_target() 449 int fld_client_lookup(struct lu_client_fld *fld, u64 seq, u32 *mds, in fld_client_lookup() argument [all …]
|
/linux-4.4.14/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.4.14/arch/mips/include/asm/ |
D | vdso.h | 99 u32 seq; in vdso_data_read_begin() local 102 seq = ACCESS_ONCE(data->seq_count); in vdso_data_read_begin() 103 if (likely(!(seq & 1))) { in vdso_data_read_begin() 106 return seq; in vdso_data_read_begin()
|
/linux-4.4.14/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.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 136 API-seq-open 137 API-seq-read 138 API-seq-lseek 139 API-seq-release 140 API-seq-escape 142 API-seq-path 143 API-seq-file-path 144 API-seq-write 145 API-seq-pad 146 API-seq-hlist-start [all …]
|
/linux-4.4.14/tools/testing/selftests/zram/ |
D | zram_lib.sh | 38 for i in $(seq 0 $dev_makeswap); do 42 for i in $(seq 0 $dev_mounted); do 46 for i in $(seq 0 $(($dev_num - 1))); do 168 for i in $(seq 0 $(($dev_num - 1))); do 191 for i in $(seq 0 $dev_makeswap); do 224 for i in $(seq 0 $(($dev_num - 1))); do
|
/linux-4.4.14/fs/gfs2/ |
D | glock.c | 849 void gfs2_print_dbg(struct seq_file *seq, const char *fmt, ...) in gfs2_print_dbg() argument 856 if (seq) { in gfs2_print_dbg() 857 seq_vprintf(seq, fmt, args); in gfs2_print_dbg() 1483 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock() argument 1486 gfs2_dump_glock(seq, gl); in dump_glock() 1578 static void dump_holder(struct seq_file *seq, const struct gfs2_holder *gh) in dump_holder() argument 1586 gfs2_print_dbg(seq, " H: s:%s f:%s e:%d p:%ld [%s] %pS\n", in dump_holder() 1650 void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_dump_glock() argument 1661 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() 1673 dump_holder(seq, gh); in gfs2_dump_glock() [all …]
|
/linux-4.4.14/net/batman-adv/ |
D | bridge_loop_avoidance.h | 35 int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, void *offset); 36 int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq, 71 static inline int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, in batadv_bla_claim_table_seq_print_text() argument 77 static inline int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq, in batadv_bla_backbone_table_seq_print_text() argument
|
/linux-4.4.14/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.4.14/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.4.14/arch/arm64/mm/ |
D | dump.c | 77 struct seq_file *seq; member 196 seq_printf(st->seq, " %s", s); in dump_prot() 210 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 217 seq_printf(st->seq, "0x%016lx-0x%016lx ", in note_page() 225 seq_printf(st->seq, "%9lu%c", delta, *unit); in note_page() 229 seq_puts(st->seq, "\n"); in note_page() 234 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 244 seq_printf(st->seq, "---[ %s ]---\n", st->marker->name); in note_page() 315 .seq = m, in ptdump_show()
|
/linux-4.4.14/drivers/usb/storage/ |
D | karma.c | 109 static unsigned char seq = 1; in rio_karma_send_command() local 116 us->iobuf[6] = seq; in rio_karma_send_command() 130 if (data->recv[5] == seq) in rio_karma_send_command() 141 seq++; in rio_karma_send_command() 142 if (seq == 0) in rio_karma_send_command() 143 seq = 1; in rio_karma_send_command()
|
/linux-4.4.14/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.4.14/fs/hfs/ |
D | super.c | 134 static int hfs_show_options(struct seq_file *seq, struct dentry *root) in hfs_show_options() argument 139 seq_show_option_n(seq, "creator", (char *)&sbi->s_creator, 4); in hfs_show_options() 141 seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4); in hfs_show_options() 142 seq_printf(seq, ",uid=%u,gid=%u", in hfs_show_options() 146 seq_printf(seq, ",file_umask=%o", sbi->s_file_umask); in hfs_show_options() 148 seq_printf(seq, ",dir_umask=%o", sbi->s_dir_umask); in hfs_show_options() 150 seq_printf(seq, ",part=%u", sbi->part); in hfs_show_options() 152 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options() 154 seq_printf(seq, ",codepage=%s", sbi->nls_disk->charset); in hfs_show_options() 156 seq_printf(seq, ",iocharset=%s", sbi->nls_io->charset); in hfs_show_options() [all …]
|
/linux-4.4.14/drivers/input/ |
D | input.c | 1077 static void *input_devices_seq_start(struct seq_file *seq, loff_t *pos) in input_devices_seq_start() argument 1079 union input_seq_state *state = (union input_seq_state *)&seq->private; in input_devices_seq_start() 1083 BUILD_BUG_ON(sizeof(union input_seq_state) != sizeof(seq->private)); in input_devices_seq_start() 1096 static void *input_devices_seq_next(struct seq_file *seq, void *v, loff_t *pos) in input_devices_seq_next() argument 1101 static void input_seq_stop(struct seq_file *seq, void *v) in input_seq_stop() argument 1103 union input_seq_state *state = (union input_seq_state *)&seq->private; in input_seq_stop() 1109 static void input_seq_print_bitmap(struct seq_file *seq, const char *name, in input_seq_print_bitmap() argument 1116 seq_printf(seq, "B: %s=", name); in input_seq_print_bitmap() 1122 seq_printf(seq, "%s%s", buf, i > 0 ? " " : ""); in input_seq_print_bitmap() 1130 seq_puts(seq, "0"); in input_seq_print_bitmap() [all …]
|
/linux-4.4.14/net/dcb/ |
D | dcbnl.c | 196 static struct sk_buff *dcbnl_newmsg(int type, u8 cmd, u32 port, u32 seq, in dcbnl_newmsg() argument 207 nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags); in dcbnl_newmsg() 222 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getstate() argument 233 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfccfg() argument 278 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getperm_hwaddr() argument 292 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getcap() argument 336 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getnumtcs() argument 382 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setnumtcs() argument 415 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfcstate() argument 425 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setpfcstate() argument [all …]
|
/linux-4.4.14/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.4.14/net/rose/ |
D | rose_route.c | 1085 static void *rose_node_start(struct seq_file *seq, loff_t *pos) in rose_node_start() argument 1101 static void *rose_node_next(struct seq_file *seq, void *v, loff_t *pos) in rose_node_next() argument 1109 static void rose_node_stop(struct seq_file *seq, void *v) in rose_node_stop() argument 1115 static int rose_node_show(struct seq_file *seq, void *v) in rose_node_show() argument 1121 seq_puts(seq, "address mask n neigh neigh neigh\n"); in rose_node_show() 1129 seq_printf(seq, "%-10s %04d %d", in rose_node_show() 1135 seq_printf(seq, " %05d", in rose_node_show() 1138 seq_puts(seq, "\n"); in rose_node_show() 1164 static void *rose_neigh_start(struct seq_file *seq, loff_t *pos) in rose_neigh_start() argument 1180 static void *rose_neigh_next(struct seq_file *seq, void *v, loff_t *pos) in rose_neigh_next() argument [all …]
|
/linux-4.4.14/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() 526 out->seq = in->seq; in kernel_to_ipc64_perm() 545 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.4.14/fs/f2fs/ |
D | super.c | 639 static int f2fs_show_options(struct seq_file *seq, struct dentry *root) in f2fs_show_options() argument 645 seq_printf(seq, ",background_gc=%s", "sync"); in f2fs_show_options() 647 seq_printf(seq, ",background_gc=%s", "on"); in f2fs_show_options() 649 seq_printf(seq, ",background_gc=%s", "off"); in f2fs_show_options() 652 seq_puts(seq, ",disable_roll_forward"); in f2fs_show_options() 654 seq_puts(seq, ",discard"); in f2fs_show_options() 656 seq_puts(seq, ",no_heap_alloc"); in f2fs_show_options() 659 seq_puts(seq, ",user_xattr"); in f2fs_show_options() 661 seq_puts(seq, ",nouser_xattr"); in f2fs_show_options() 663 seq_puts(seq, ",inline_xattr"); in f2fs_show_options() [all …]
|
/linux-4.4.14/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 | 383 static void *bpq_seq_start(struct seq_file *seq, loff_t *pos) in bpq_seq_start() argument 401 static void *bpq_seq_next(struct seq_file *seq, void *v, loff_t *pos) in bpq_seq_next() argument 417 static void bpq_seq_stop(struct seq_file *seq, void *v) in bpq_seq_stop() argument 424 static int bpq_seq_show(struct seq_file *seq, void *v) in bpq_seq_show() argument 427 seq_puts(seq, in bpq_seq_show() 432 seq_printf(seq, "%-5s %-10s %pM ", in bpq_seq_show() 437 seq_printf(seq, "*\n"); in bpq_seq_show() 439 seq_printf(seq, "%pM\n", bpqdev->acpt_addr); in bpq_seq_show()
|
/linux-4.4.14/kernel/printk/ |
D | printk.c | 532 struct printk_log *msg, u64 seq, in msg_print_ext_header() argument 555 (msg->facility << 3) | msg->level, seq, ts_usec, cont); in msg_print_ext_header() 608 u64 seq; member 680 while (user->seq == log_next_seq) { in devkmsg_read() 689 user->seq != log_next_seq); in devkmsg_read() 695 if (user->seq < log_first_seq) { in devkmsg_read() 698 user->seq = log_first_seq; in devkmsg_read() 706 msg, user->seq, user->prev); in devkmsg_read() 713 user->seq++; in devkmsg_read() 746 user->seq = log_first_seq; in devkmsg_llseek() [all …]
|
/linux-4.4.14/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.4.14/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()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_eventlog.c | 263 struct seq_file *seq = file->private_data; in tpm_bios_measurements_release() local 264 struct tpm_bios_log *log = seq->private; in tpm_bios_measurements_release() 326 struct seq_file *seq; in tpm_ascii_bios_measurements_open() local 338 seq = file->private_data; in tpm_ascii_bios_measurements_open() 339 seq->private = log; in tpm_ascii_bios_measurements_open() 364 struct seq_file *seq; in tpm_binary_bios_measurements_open() local 376 seq = file->private_data; in tpm_binary_bios_measurements_open() 377 seq->private = log; in tpm_binary_bios_measurements_open()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/fs/hpfs/ |
D | super.c | 501 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument 505 seq_printf(seq, ",uid=%u", from_kuid_munged(&init_user_ns, sbi->sb_uid)); in hpfs_show_options() 506 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, sbi->sb_gid)); in hpfs_show_options() 507 seq_printf(seq, ",umask=%03o", (~sbi->sb_mode & 0777)); in hpfs_show_options() 509 seq_printf(seq, ",case=lower"); in hpfs_show_options() 511 seq_printf(seq, ",check=none"); in hpfs_show_options() 513 seq_printf(seq, ",check=strict"); in hpfs_show_options() 515 seq_printf(seq, ",errors=continue"); in hpfs_show_options() 517 seq_printf(seq, ",errors=panic"); in hpfs_show_options() 519 seq_printf(seq, ",chkdsk=no"); in hpfs_show_options() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | lib.c | 924 struct ieee80211_key_seq seq; in iwlagn_wowlan_program_keys() local 951 ieee80211_get_key_tx_seq(key, &seq); in iwlagn_wowlan_program_keys() 952 tkip_tx_sc->iv16 = cpu_to_le16(seq.tkip.iv16); in iwlagn_wowlan_program_keys() 953 tkip_tx_sc->iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys() 955 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys() 976 ieee80211_get_key_rx_seq(key, i, &seq); in iwlagn_wowlan_program_keys() 977 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwlagn_wowlan_program_keys() 978 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys() 980 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys() 981 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys() [all …]
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 431 static inline int fid_seq_is_mdt0(__u64 seq) in fid_seq_is_mdt0() argument 433 return (seq == FID_SEQ_OST_MDT0); in fid_seq_is_mdt0() 436 static inline int fid_seq_is_mdt(const __u64 seq) in fid_seq_is_mdt() argument 438 return seq == FID_SEQ_OST_MDT0 || seq >= FID_SEQ_NORMAL; in fid_seq_is_mdt() 441 static inline int fid_seq_is_echo(__u64 seq) in fid_seq_is_echo() argument 443 return (seq == FID_SEQ_ECHO); in fid_seq_is_echo() 451 static inline int fid_seq_is_llog(__u64 seq) in fid_seq_is_llog() argument 453 return (seq == FID_SEQ_LLOG); in fid_seq_is_llog() 462 static inline int fid_seq_is_rsvd(const __u64 seq) in fid_seq_is_rsvd() argument 464 return (seq > FID_SEQ_OST_MDT0 && seq <= FID_SEQ_RSVD); in fid_seq_is_rsvd() [all …]
|
/linux-4.4.14/net/netrom/ |
D | nr_route.c | 867 static void *nr_node_start(struct seq_file *seq, loff_t *pos) in nr_node_start() argument 873 static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos) in nr_node_next() argument 878 static void nr_node_stop(struct seq_file *seq, void *v) in nr_node_stop() argument 883 static int nr_node_show(struct seq_file *seq, void *v) in nr_node_show() argument 889 seq_puts(seq, in nr_node_show() 896 seq_printf(seq, "%-9s %-7s %d %d", in nr_node_show() 903 seq_printf(seq, " %3d %d %05d", in nr_node_show() 910 seq_puts(seq, "\n"); in nr_node_show() 935 static void *nr_neigh_start(struct seq_file *seq, loff_t *pos) in nr_neigh_start() argument 941 static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos) in nr_neigh_next() argument [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/amd/scheduler/ |
D | sched_fence.c | 33 unsigned seq; in amd_sched_fence_create() local 44 seq = atomic_inc_return(&s_entity->fence_seq); in amd_sched_fence_create() 46 s_entity->fence_context, seq); in amd_sched_fence_create()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 112 nth->seq = htonl(__cookie_v6_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 113 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 153 nth->seq = htonl(recv_seq - 1); in synproxy_send_server_syn() 198 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 199 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 236 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack() 312 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg6() 360 ntohl(th->seq) + 1); in ipv6_synproxy_hook() 388 ntohl(th->seq) + 1)) in ipv6_synproxy_hook() 415 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv6_synproxy_hook()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/nvdimm/ |
D | label.c | 101 u32 seq; in nd_label_validate() local 124 seq = __le32_to_cpu(nsindex[i]->seq); in nd_label_validate() 125 if ((seq & NSINDEX_SEQ_MASK) == 0) { in nd_label_validate() 127 __func__, i, seq); in nd_label_validate() 180 seq = best_seq(__le32_to_cpu(nsindex[0]->seq), in nd_label_validate() 181 __le32_to_cpu(nsindex[1]->seq)); in nd_label_validate() 182 if (seq == (__le32_to_cpu(nsindex[1]->seq) & NSINDEX_SEQ_MASK)) in nd_label_validate() 424 static int nd_label_write_index(struct nvdimm_drvdata *ndd, int index, u32 seq, in nd_label_write_index() argument 441 nsindex->seq = __cpu_to_le32(seq); in nd_label_write_index() 548 nd_inc_seq(__le32_to_cpu(nsindex->seq)), 0); in __pmem_label_update() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 43 u8 seq, enum mcu_cmd cmd) in mt7601u_dma_skb_wrap_cmd() argument 46 MT76_SET(MT_TXD_CMD_INFO_SEQ, seq) | in mt7601u_dma_skb_wrap_cmd() 75 static int mt7601u_mcu_wait_resp(struct mt7601u_dev *dev, u8 seq) in mt7601u_mcu_wait_resp() argument 103 if (MT76_GET(MT_RXD_CMD_INFO_CMD_SEQ, rxfce) == seq && in mt7601u_mcu_wait_resp() 109 seq, MT76_GET(MT_RXD_CMD_INFO_CMD_SEQ, rxfce)); in mt7601u_mcu_wait_resp() 124 u8 seq = 0; in mt7601u_mcu_msg_send() local 132 while (!seq) in mt7601u_mcu_msg_send() 133 seq = ++dev->mcu.msg_seq & 0xf; in mt7601u_mcu_msg_send() 135 mt7601u_dma_skb_wrap_cmd(skb, seq, cmd); in mt7601u_mcu_msg_send() 151 ret = mt7601u_mcu_wait_resp(dev, seq); in mt7601u_mcu_msg_send()
|