Lines Matching refs:seq
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, "%08lX ", (unsigned long int)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()
53 seq_printf(seq, "%-11s", ipx_device_name(i)); in ipx_seq_interface_show()
54 seq_printf(seq, "%-9s", ipx_frame_name(i->if_dlink_type)); in ipx_seq_interface_show()
56 seq_printf(seq, "%6d", atomic_read(&i->refcnt)); in ipx_seq_interface_show()
58 seq_puts(seq, "\n"); in ipx_seq_interface_show()
63 static void *ipx_seq_route_start(struct seq_file *seq, loff_t *pos) in ipx_seq_route_start() argument
69 static void *ipx_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_route_next() argument
74 static void ipx_seq_route_stop(struct seq_file *seq, void *v) in ipx_seq_route_stop() argument
79 static int ipx_seq_route_show(struct seq_file *seq, void *v) in ipx_seq_route_show() argument
84 seq_puts(seq, "Network Router_Net Router_Node\n"); in ipx_seq_route_show()
90 seq_printf(seq, "%08lX ", (unsigned long int)ntohl(rt->ir_net)); in ipx_seq_route_show()
92 seq_printf(seq, "%08lX %02X%02X%02X%02X%02X%02X\n", in ipx_seq_route_show()
98 seq_puts(seq, "Directly Connected\n"); in ipx_seq_route_show()
127 static void *ipx_seq_socket_start(struct seq_file *seq, loff_t *pos) in ipx_seq_socket_start() argument
135 static void *ipx_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_socket_next() argument
177 static int ipx_seq_socket_show(struct seq_file *seq, void *v) in ipx_seq_socket_show() argument
184 seq_puts(seq, "Local_Address " in ipx_seq_socket_show()
188 seq_puts(seq, "Local_Address Remote_Address " in ipx_seq_socket_show()
197 seq_printf(seq, "%08lX:%02X%02X%02X%02X%02X%02X:%04X ", in ipx_seq_socket_show()
202 seq_printf(seq, "%08lX:%04X ", (unsigned long) ntohl(ipxs->intrfc->if_netnum), in ipx_seq_socket_show()
206 seq_printf(seq, "%-28s", "Not_Connected"); in ipx_seq_socket_show()
208 seq_printf(seq, "%08lX:%02X%02X%02X%02X%02X%02X:%04X ", in ipx_seq_socket_show()
216 seq_printf(seq, "%08X %08X %02X %03d\n", in ipx_seq_socket_show()
220 from_kuid_munged(seq_user_ns(seq), sock_i_uid(s))); in ipx_seq_socket_show()