Lines Matching defs:pos
18 static __inline__ struct atalk_iface *atalk_get_interface_idx(loff_t pos)
22 for (i = atalk_interfaces; pos && i; i = i->next)
23 --pos;
28 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos)
30 loff_t l = *pos;
36 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos)
40 ++*pos;
77 static __inline__ struct atalk_route *atalk_get_route_idx(loff_t pos)
81 for (r = atalk_routes; pos && r; r = r->next)
82 --pos;
87 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos)
89 loff_t l = *pos;
95 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos)
99 ++*pos;
142 static __inline__ struct sock *atalk_get_socket_idx(loff_t pos)
148 if (!pos--)
155 static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos)
157 loff_t l = *pos;
163 static void *atalk_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
167 ++*pos;