Lines Matching defs:pos
17 static __inline__ struct atalk_iface *atalk_get_interface_idx(loff_t pos)
21 for (i = atalk_interfaces; pos && i; i = i->next)
22 --pos;
27 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;
78 static __inline__ struct atalk_route *atalk_get_route_idx(loff_t pos)
82 for (r = atalk_routes; pos && r; r = r->next)
83 --pos;
88 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos)
91 loff_t l = *pos;
97 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos)
101 ++*pos;
145 static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos)
149 return seq_hlist_start_head(&atalk_sockets, *pos);
152 static void *atalk_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
154 return seq_hlist_next(v, &atalk_sockets, pos);