Lines Matching refs:seq
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()
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()
150 seq_printf(seq, "@%02X %8d %8d %2d %3u %4d\n", llc->daddr.lsap, in llc_seq_socket_show()
154 from_kuid_munged(seq_user_ns(seq), sock_i_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
181 seq_puts(seq, "Connection list:\n" in llc_seq_core_show()
189 seq_printf(seq, " %02X %-10s %3d %3d %3d %2d %2d %2d %2d %2d %2d " in llc_seq_core_show()