Lines Matching refs:pos
17 static void *ipx_seq_interface_start(struct seq_file *seq, loff_t *pos) in ipx_seq_interface_start() argument
20 return seq_list_start_head(&ipx_interfaces, *pos); in ipx_seq_interface_start()
23 static void *ipx_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_interface_next() argument
25 return seq_list_next(v, &ipx_interfaces, pos); in ipx_seq_interface_next()
63 static void *ipx_seq_route_start(struct seq_file *seq, loff_t *pos) in ipx_seq_route_start() argument
66 return seq_list_start_head(&ipx_routes, *pos); in ipx_seq_route_start()
69 static void *ipx_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_route_next() argument
71 return seq_list_next(v, &ipx_routes, pos); in ipx_seq_route_next()
103 static __inline__ struct sock *ipx_get_socket_idx(loff_t pos) in ipx_get_socket_idx() argument
111 if (!pos) in ipx_get_socket_idx()
113 --pos; in ipx_get_socket_idx()
116 if (!pos) { in ipx_get_socket_idx()
127 static void *ipx_seq_socket_start(struct seq_file *seq, loff_t *pos) in ipx_seq_socket_start() argument
129 loff_t l = *pos; in ipx_seq_socket_start()
135 static void *ipx_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in ipx_seq_socket_next() argument
141 ++*pos; in ipx_seq_socket_next()