Lines Matching defs:pos
16 static void *ipx_seq_interface_start(struct seq_file *seq, loff_t *pos)
19 return seq_list_start_head(&ipx_interfaces, *pos);
22 static void *ipx_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos)
24 return seq_list_next(v, &ipx_interfaces, pos);
62 static void *ipx_seq_route_start(struct seq_file *seq, loff_t *pos)
65 return seq_list_start_head(&ipx_routes, *pos);
68 static void *ipx_seq_route_next(struct seq_file *seq, void *v, loff_t *pos)
70 return seq_list_next(v, &ipx_routes, pos);
102 static __inline__ struct sock *ipx_get_socket_idx(loff_t pos)
111 if (!pos)
113 --pos;
116 if (!pos) {
127 static void *ipx_seq_socket_start(struct seq_file *seq, loff_t *pos)
129 loff_t l = *pos;
135 static void *ipx_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
141 ++*pos;