Lines Matching refs:_pos

27 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos)  in rxrpc_call_seq_start()  argument
33 return seq_list_start_head_rcu(&rxnet->calls, *_pos); in rxrpc_call_seq_start()
117 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument
123 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
241 static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_peer_seq_start() argument
251 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_start()
254 n = *_pos & ((1U << shift) - 1); in rxrpc_peer_seq_start()
255 bucket = *_pos >> shift; in rxrpc_peer_seq_start()
258 *_pos = UINT_MAX; in rxrpc_peer_seq_start()
264 *_pos += 1; in rxrpc_peer_seq_start()
273 *_pos = (bucket << shift) | n; in rxrpc_peer_seq_start()
277 static void *rxrpc_peer_seq_next(struct seq_file *seq, void *v, loff_t *_pos) in rxrpc_peer_seq_next() argument
284 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_next()
287 bucket = *_pos >> shift; in rxrpc_peer_seq_next()
289 p = seq_hlist_next_rcu(v, &rxnet->peer_hash[bucket], _pos); in rxrpc_peer_seq_next()
296 *_pos = (bucket << shift) | n; in rxrpc_peer_seq_next()
299 *_pos = UINT_MAX; in rxrpc_peer_seq_next()
303 *_pos += 1; in rxrpc_peer_seq_next()
356 static void *rxrpc_local_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_local_seq_start() argument
364 if (*_pos >= UINT_MAX) in rxrpc_local_seq_start()
367 n = *_pos; in rxrpc_local_seq_start()
374 static void *rxrpc_local_seq_next(struct seq_file *seq, void *v, loff_t *_pos) in rxrpc_local_seq_next() argument
378 if (*_pos >= UINT_MAX) in rxrpc_local_seq_next()
381 return seq_hlist_next_rcu(v, &rxnet->local_endpoints, _pos); in rxrpc_local_seq_next()