| /net/xfrm/ |
| A D | xfrm_replay.c | 133 if (likely(seq > x->replay.seq)) in xfrm_replay_check_legacy() 136 diff = x->replay.seq - seq; in xfrm_replay_check_legacy() 173 if (seq > x->replay.seq) { in xfrm_replay_advance() 174 diff = seq - x->replay.seq; in xfrm_replay_advance() 179 x->replay.seq = seq; in xfrm_replay_advance() 181 diff = x->replay.seq - seq; in xfrm_replay_advance() 270 if (seq > replay_esn->seq) { in xfrm_replay_advance_bmp() 271 diff = seq - replay_esn->seq; in xfrm_replay_advance_bmp() 287 replay_esn->seq = seq; in xfrm_replay_advance_bmp() 289 diff = replay_esn->seq - seq; in xfrm_replay_advance_bmp() [all …]
|
| /net/atm/ |
| A D | proc.c | 60 seq_puts(seq, " "); in atm_dev_info() 62 seq_puts(seq, " "); in atm_dev_info() 65 seq_putc(seq, '\n'); in atm_dev_info() 136 v = vcc_walk(seq, 1); in vcc_seq_next() 167 seq_putc(seq, '\n'); in pvc_info() 189 seq_printf(seq, "PVC"); in vcc_info() 192 seq_printf(seq, "SVC"); in vcc_info() 221 seq_putc(seq, '\n'); in svc_info() 258 pvc_info(seq, vcc); in pvc_seq_show() 280 vcc_info(seq, vcc); in vcc_seq_show() [all …]
|
| /net/kcm/ |
| A D | kcmproc.c | 88 seq_printf(seq, in kcm_format_mux_header() 92 seq_printf(seq, in kcm_format_mux_header() 106 seq_puts(seq, "\n"); in kcm_format_mux_header() 112 seq_printf(seq, in kcm_format_sock() 136 seq_puts(seq, "\n"); in kcm_format_sock() 142 seq_printf(seq, in kcm_format_psock() 193 seq_printf(seq, in kcm_format_mux() 281 seq_printf(seq, in kcm_stats_seq_show() 294 seq_printf(seq, in kcm_stats_seq_show() 307 seq_printf(seq, in kcm_stats_seq_show() [all …]
|
| /net/sctp/ |
| A D | proc.c | 105 seq_printf(seq, "*"); in sctp_seq_dump_local_addrs() 126 seq_printf(seq, "*"); in sctp_seq_dump_remote_addrs() 184 seq_printf(seq, "\n"); in sctp_eps_seq_show() 262 seq_printf(seq, in sctp_assocs_seq_show() 274 seq_printf(seq, " "); in sctp_assocs_seq_show() 276 seq_printf(seq, "<-> "); in sctp_assocs_seq_show() 288 seq_printf(seq, "\n"); in sctp_assocs_seq_show() 320 seq_printf(seq, " "); in sctp_remaddr_seq_show() 347 seq_puts(seq, "0 "); in sctp_remaddr_seq_show() 354 seq_puts(seq, "0 "); in sctp_remaddr_seq_show() [all …]
|
| A D | objcnt.c | 62 static int sctp_objcnt_seq_show(struct seq_file *seq, void *v) in sctp_objcnt_seq_show() argument 67 seq_setwidth(seq, 127); in sctp_objcnt_seq_show() 68 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show() 70 seq_pad(seq, '\n'); in sctp_objcnt_seq_show() 74 static void *sctp_objcnt_seq_start(struct seq_file *seq, loff_t *pos) in sctp_objcnt_seq_start() argument 79 static void sctp_objcnt_seq_stop(struct seq_file *seq, void *v) in sctp_objcnt_seq_stop() argument 83 static void *sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sctp_objcnt_seq_next() argument
|
| /net/ipv4/ |
| A D | proc.c | 60 socket_seq_show(seq); in sockstat_seq_show() 375 seq_printf(seq, " %lu", in icmp_put() 383 seq_printf(seq, " %lu", in icmp_put() 424 seq_puts(seq, "\nTcp:"); in snmp_seq_show_tcp_udp() 428 seq_puts(seq, "\nTcp:"); in snmp_seq_show_tcp_udp() 443 seq_puts(seq, "\nUdp:"); in snmp_seq_show_tcp_udp() 446 seq_puts(seq, "\nUdp:"); in snmp_seq_show_tcp_udp() 462 seq_putc(seq, '\n'); in snmp_seq_show_tcp_udp() 471 icmpmsg_put(seq); in snmp_seq_show() 529 seq_putc(seq, '\n'); in netstat_seq_show() [all …]
|
| A D | tcp_ipv4.c | 192 if (!seq) in tcp_twsk_unique() 193 seq = 1; in tcp_twsk_unique() 505 u32 seq, snd_una; in tcp_v4_err() local 522 seq = ntohl(th->seq); in tcp_v4_err() 781 rep.th.seq = th->ack_seq; in tcp_v4_send_reset() 971 rep.th.seq = htonl(seq); in tcp_v4_send_ack() 2180 TCP_SKB_CB(skb)->seq = ntohl(th->seq); 3008 st = seq->private; 3017 seq_pad(seq, '\n'); 3391 meta.seq = seq; [all …]
|
| A D | esp4_offload.c | 37 __be32 seq; in esp4_gro_receive() local 87 XFRM_SPI_SKB_CB(skb)->seq = seq; in esp4_gro_receive() 273 __u32 seq; in esp_xmit() local 316 seq = xo->seq.low; in esp_xmit() 324 esph->seq_no = htonl(seq); in esp_xmit() 327 xo->seq.low++; in esp_xmit() 329 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp_xmit() 332 if (xo->seq.low < seq) in esp_xmit() 333 xo->seq.hi++; in esp_xmit() 335 esp.seqno = cpu_to_be64(seq + ((u64)xo->seq.hi << 32)); in esp_xmit() [all …]
|
| A D | tcp_minisocks.c | 29 if (seq == s_win) in tcp_in_window() 33 return seq == e_win && seq == end_seq; in tcp_in_window() 62 if (unlikely(ao && seq < rcv_nxt)) in twsk_rcv_nxt_update() 65 WRITE_ONCE(tcptw->tw_rcv_nxt, seq); in twsk_rcv_nxt_update() 532 u32 seq; in tcp_create_openreq_child() local 546 seq = treq->rcv_isn + 1; in tcp_create_openreq_child() 547 newtp->rcv_wup = seq; in tcp_create_openreq_child() 549 WRITE_ONCE(newtp->rcv_nxt, seq); in tcp_create_openreq_child() 552 seq = treq->snt_isn + 1; in tcp_create_openreq_child() 554 WRITE_ONCE(newtp->snd_nxt, seq); in tcp_create_openreq_child() [all …]
|
| /net/8021q/ |
| A D | vlanproc.c | 187 return vlan_seq_from_index(seq, pos); in vlan_seq_start() 193 return vlan_seq_from_index(seq, pos); in vlan_seq_next() 204 struct net *net = seq_file_net(seq); in vlan_seq_show() 210 seq_puts(seq, "VLAN Dev name | VLAN ID\n"); in vlan_seq_show() 215 seq_printf(seq, "Name-Type: %s\n", in vlan_seq_show() 240 seq_printf(seq, in vlandev_seq_show() 248 seq_puts(seq, "\n"); in vlandev_seq_show() 253 seq_printf(seq, "\nINGRESS priority mappings: " in vlandev_seq_show() 264 seq_printf(seq, " EGRESS priority mappings: "); in vlandev_seq_show() 269 seq_printf(seq, "%u:%d ", in vlandev_seq_show() [all …]
|
| /net/rxrpc/ |
| A D | proc.c | 60 seq_puts(seq, in rxrpc_call_seq_show() 83 seq_printf(seq, in rxrpc_call_seq_show() 148 seq_puts(seq, in rxrpc_connection_seq_show() 170 seq_printf(seq, in rxrpc_connection_seq_show() 234 seq_puts(seq, in rxrpc_bundle_seq_show() 247 seq_printf(seq, in rxrpc_bundle_seq_show() 285 seq_puts(seq, in rxrpc_peer_seq_show() 298 seq_printf(seq, in rxrpc_peer_seq_show() 407 seq_puts(seq, in rxrpc_local_seq_show() 417 seq_printf(seq, in rxrpc_local_seq_show() [all …]
|
| A D | input.c | 302 seq++; in rxrpc_rotate_tx_window() 479 rxrpc_seq_t seq = sp->hdr.seq; in rxrpc_input_data_one() local 491 seq + 1 != wtop) in rxrpc_input_data_one() 517 if (seq == window) { in rxrpc_input_data_one() 547 seq = osp->hdr.seq; in rxrpc_input_data_one() 563 slot = seq - window; in rxrpc_input_data_one() 575 wtop = seq + 1; in rxrpc_input_data_one() 582 if (after(osp->hdr.seq, seq)) { in rxrpc_input_data_one() 646 sp->hdr.seq++; in rxrpc_input_split_jumbo() 874 rxrpc_seq_t seq, in rxrpc_input_soft_ack_tq() argument [all …]
|
| A D | txbuf.c | 53 txb->seq = call->send_top + 1; in rxrpc_alloc_data_txbuf() 56 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 1, in rxrpc_alloc_data_txbuf() 67 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, r, what); in rxrpc_see_txbuf() 72 trace_rxrpc_txbuf(txb->debug_id, txb->call_debug_id, txb->seq, 0, in rxrpc_free_txbuf() 83 rxrpc_seq_t seq; in rxrpc_put_txbuf() local 90 seq = txb->seq; in rxrpc_put_txbuf() 92 trace_rxrpc_txbuf(debug_id, call_debug_id, seq, r - 1, what); in rxrpc_put_txbuf()
|
| /net/core/ |
| A D | net-procfs.c | 29 return dev_seq_from_index(seq, pos); in dev_seq_start() 35 return dev_seq_from_index(seq, pos); in dev_seq_next() 81 dev_seq_printf_stats(seq, v); in dev_seq_show() 145 seq_printf(seq, in softnet_seq_show() 153 input_qlen + process_qlen, (int)seq->index, in softnet_seq_show() 180 for_each_netdev_rcu(seq_file_net(seq), dev) { in ptype_get_idx() 220 struct net *net = seq_file_net(seq); in ptype_seq_next() 228 return ptype_get_idx(seq, 0); in ptype_seq_next() 288 seq_puts(seq, "ALL "); in ptype_seq_show() 290 seq_printf(seq, "%04x", ntohs(pt->type)); in ptype_seq_show() [all …]
|
| /net/netfilter/ |
| A D | nf_conntrack_seqadj.c | 23 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_init() 31 __be32 seq, s32 off) in nf_ct_seqadj_set() argument 48 this_way = &seqadj->seq[dir]; in nf_ct_seqadj_set() 87 seq->correction_pos)) in nf_ct_sack_block_adjust() 89 seq->offset_after); in nf_ct_sack_block_adjust() 92 seq->offset_before); in nf_ct_sack_block_adjust() 95 seq->correction_pos)) in nf_ct_sack_block_adjust() 97 seq->offset_after); in nf_ct_sack_block_adjust() 156 &seqadj->seq[!dir]); in nf_ct_sack_adjust() 193 tcph->seq = newseq; in nf_ct_seq_adjust() [all …]
|
| A D | nf_flow_table_procfs.c | 6 static void *nf_flow_table_cpu_seq_start(struct seq_file *seq, loff_t *pos) in nf_flow_table_cpu_seq_start() argument 8 struct net *net = seq_file_net(seq); in nf_flow_table_cpu_seq_start() 24 static void *nf_flow_table_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nf_flow_table_cpu_seq_next() argument 26 struct net *net = seq_file_net(seq); in nf_flow_table_cpu_seq_next() 39 static void nf_flow_table_cpu_seq_stop(struct seq_file *seq, void *v) in nf_flow_table_cpu_seq_stop() argument 43 static int nf_flow_table_cpu_seq_show(struct seq_file *seq, void *v) in nf_flow_table_cpu_seq_show() argument 48 seq_puts(seq, "wq_add wq_del wq_stats\n"); in nf_flow_table_cpu_seq_show() 52 seq_printf(seq, "%8d %8d %8d\n", in nf_flow_table_cpu_seq_show()
|
| /net/ipv6/ |
| A D | proc.c | 36 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 %lu\n", in sockstat6_seq_show() 163 seq_printf(seq, "%-32s\t%lu\n", name, in snmp6_seq_show_icmpv6msg() 176 seq_printf(seq, "%-32s\t%lu\n", name, val); in snmp6_seq_show_icmpv6msg() 195 seq_printf(seq, "%-32s\t%lu\n", in snmp6_seq_show_item() 219 struct net *net = (struct net *)seq->private; in snmp6_seq_show() [all …]
|
| A D | esp6_offload.c | 60 __be32 seq; in esp6_gro_receive() local 70 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp6_gro_receive() 116 XFRM_SPI_SKB_CB(skb)->seq = seq; in esp6_gro_receive() 311 __u32 seq; in esp6_xmit() local 346 seq = xo->seq.low; in esp6_xmit() 354 esp.esph->seq_no = htonl(seq); in esp6_xmit() 357 xo->seq.low++; in esp6_xmit() 359 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp6_xmit() 362 if (xo->seq.low < seq) in esp6_xmit() 363 xo->seq.hi++; in esp6_xmit() [all …]
|
| /net/sunrpc/ |
| A D | stats.c | 42 seq_printf(seq, in rpc_proc_show() 48 seq_printf(seq, in rpc_proc_show() 58 seq_printf(seq, "proc%u %u", in rpc_proc_show() 62 seq_putc(seq, '\n'); in rpc_proc_show() 89 seq_printf(seq, in svc_seq_show() 95 seq_printf(seq, in svc_seq_show() 112 seq_printf(seq, " %lu", count); in svc_seq_show() 114 seq_putc(seq, '\n'); in svc_seq_show() 215 seq_printf(seq, "\t%12u: ", op); in _print_name() 234 _print_name(seq, op, procs); in _print_rpc_iostats() [all …]
|
| /net/appletalk/ |
| A D | atalk_proc.c | 59 static int atalk_seq_interface_show(struct seq_file *seq, void *v) in atalk_seq_interface_show() argument 64 seq_puts(seq, "Interface Address Networks " in atalk_seq_interface_show() 70 seq_printf(seq, "%-16s %04X:%02X %04X-%04X %d\n", in atalk_seq_interface_show() 114 static void atalk_seq_route_stop(struct seq_file *seq, void *v) in atalk_seq_route_stop() argument 120 static int atalk_seq_route_show(struct seq_file *seq, void *v) in atalk_seq_route_show() argument 125 seq_puts(seq, "Target Router Flags Dev\n"); in atalk_seq_route_show() 131 seq_printf(seq, "Default %04X:%02X %-4d %s\n", in atalk_seq_route_show() 137 seq_printf(seq, "%04X:%02X %04X:%02X %-4d %s\n", in atalk_seq_route_show() 163 static int atalk_seq_socket_show(struct seq_file *seq, void *v) in atalk_seq_socket_show() argument 169 seq_printf(seq, "Type Local_addr Remote_addr Tx_queue " in atalk_seq_socket_show() [all …]
|
| /net/x25/ |
| A D | x25_proc.c | 25 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_stop(struct seq_file *seq, void *v) in x25_seq_route_stop() argument 43 static int x25_seq_route_show(struct seq_file *seq, void *v) in x25_seq_route_show() argument 48 seq_puts(seq, "Address Digits Device\n"); in x25_seq_route_show() 53 seq_printf(seq, "%-15s %-6d %-5s\n", in x25_seq_route_show() 72 static void x25_seq_socket_stop(struct seq_file *seq, void *v) in x25_seq_socket_stop() argument 78 static int x25_seq_socket_show(struct seq_file *seq, void *v) in x25_seq_socket_show() argument 85 seq_printf(seq, "dest_addr src_addr dev lci st vs vr " in x25_seq_socket_show() 130 static int x25_seq_forward_show(struct seq_file *seq, void *v) in x25_seq_forward_show() argument 135 seq_printf(seq, "lci dev1 dev2\n"); in x25_seq_forward_show() [all …]
|
| /net/llc/ |
| A D | llc_proc.c | 31 seq_printf(seq, "%pM", addr); in llc_ui_format_mac() 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 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() 148 seq_printf(seq, "@%02X ", llc->sap->laddr.lsap); in llc_seq_socket_show() 149 llc_ui_format_mac(seq, llc->daddr.mac); in llc_seq_socket_show() 154 from_kuid_munged(seq_user_ns(seq), sk_uid(sk)), in llc_seq_socket_show() 175 static int llc_seq_core_show(struct seq_file *seq, void *v) in llc_seq_core_show() argument [all …]
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_app.c | 290 __u32 seq = ntohl(th->seq); in vs_fix_seq() local 298 if(after(seq, vseq->init_seq)) { in vs_fix_seq() 299 th->seq = htonl(seq + vseq->delta); in vs_fix_seq() 303 th->seq = htonl(seq + vseq->previous_delta); in vs_fix_seq() 354 vseq->init_seq = seq; in vs_seq_update() 367 __u32 seq; in app_tcp_pkt_out() local 377 seq = ntohl(th->seq); in app_tcp_pkt_out() 444 __u32 seq; in app_tcp_pkt_in() local 454 seq = ntohl(th->seq); in app_tcp_pkt_in() 535 struct net *net = seq_file_net(seq); in ip_vs_app_seq_start() [all …]
|
| /net/phonet/ |
| A D | socket.c | 518 struct net *net = seq_file_net(seq); in pn_sock_get_idx() 559 sk = pn_sock_get_idx(seq, 0); in pn_sock_seq_next() 561 sk = pn_sock_get_next(seq, v); in pn_sock_seq_next() 574 seq_setwidth(seq, 127); in pn_sock_seq_show() 592 seq_pad(seq, '\n'); in pn_sock_seq_show() 734 sk = pn_res_get_idx(seq, 0); in pn_res_seq_next() 736 sk = pn_res_get_next(seq, v); in pn_res_seq_next() 749 seq_setwidth(seq, 63); in pn_res_seq_show() 751 seq_puts(seq, "rs uid inode"); in pn_res_seq_show() 756 seq_printf(seq, "%02X %5u %lu", in pn_res_seq_show() [all …]
|
| /net/wireless/ |
| A 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
|