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()
115 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument
121 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
202 static void *rxrpc_bundle_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_bundle_seq_start() argument
208 return seq_list_start_head(&rxnet->bundle_proc_list, *_pos); in rxrpc_bundle_seq_start()
312 static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_peer_seq_start() argument
322 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_start()
325 n = *_pos & ((1U << shift) - 1); in rxrpc_peer_seq_start()
326 bucket = *_pos >> shift; in rxrpc_peer_seq_start()
329 *_pos = UINT_MAX; in rxrpc_peer_seq_start()
335 *_pos += 1; in rxrpc_peer_seq_start()
344 *_pos = (bucket << shift) | n; in rxrpc_peer_seq_start()
348 static void *rxrpc_peer_seq_next(struct seq_file *seq, void *v, loff_t *_pos) in rxrpc_peer_seq_next() argument
355 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_next()
358 bucket = *_pos >> shift; in rxrpc_peer_seq_next()
360 p = seq_hlist_next_rcu(v, &rxnet->peer_hash[bucket], _pos); in rxrpc_peer_seq_next()
367 *_pos = (bucket << shift) | n; in rxrpc_peer_seq_next()
370 *_pos = UINT_MAX; in rxrpc_peer_seq_next()
374 *_pos += 1; in rxrpc_peer_seq_next()
427 static void *rxrpc_local_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_local_seq_start() argument
435 if (*_pos >= UINT_MAX) in rxrpc_local_seq_start()
438 n = *_pos; in rxrpc_local_seq_start()
445 static void *rxrpc_local_seq_next(struct seq_file *seq, void *v, loff_t *_pos) in rxrpc_local_seq_next() argument
449 if (*_pos >= UINT_MAX) in rxrpc_local_seq_next()
452 return seq_hlist_next_rcu(v, &rxnet->local_endpoints, _pos); in rxrpc_local_seq_next()