Lines Matching defs:pos
132 static void *sctp_eps_seq_start(struct seq_file *seq, loff_t *pos)
134 if (*pos >= sctp_ep_hashsize)
137 if (*pos < 0)
138 *pos = 0;
140 if (*pos == 0)
143 return (void *)pos;
151 static void *sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos)
153 if (++*pos >= sctp_ep_hashsize)
156 return pos;
205 static void *sctp_transport_seq_start(struct seq_file *seq, loff_t *pos)
211 return sctp_transport_get_idx(seq_file_net(seq), &iter->hti, *pos);
227 static void *sctp_transport_seq_next(struct seq_file *seq, void *v, loff_t *pos)
237 ++*pos;