Lines Matching refs:rxnet
29 __acquires(rxnet->call_lock) in rxrpc_call_seq_start()
31 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_call_seq_start() local
34 read_lock(&rxnet->call_lock); in rxrpc_call_seq_start()
35 return seq_list_start_head(&rxnet->calls, *_pos); in rxrpc_call_seq_start()
40 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_call_seq_next() local
42 return seq_list_next(v, &rxnet->calls, pos); in rxrpc_call_seq_next()
46 __releases(rxnet->call_lock) in rxrpc_call_seq_stop()
49 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_call_seq_stop() local
51 read_unlock(&rxnet->call_lock); in rxrpc_call_seq_stop()
61 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_call_seq_show() local
66 if (v == &rxnet->calls) { in rxrpc_call_seq_show()
133 __acquires(rxnet->conn_lock) in rxrpc_connection_seq_start()
135 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_connection_seq_start() local
137 read_lock(&rxnet->conn_lock); in rxrpc_connection_seq_start()
138 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
144 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_connection_seq_next() local
146 return seq_list_next(v, &rxnet->conn_proc_list, pos); in rxrpc_connection_seq_next()
150 __releases(rxnet->conn_lock) in rxrpc_connection_seq_stop()
152 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_connection_seq_stop() local
154 read_unlock(&rxnet->conn_lock); in rxrpc_connection_seq_stop()
160 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_connection_seq_show() local
163 if (v == &rxnet->conn_proc_list) { in rxrpc_connection_seq_show()
255 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_peer_seq_start() local
257 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_start()
268 if (bucket >= HASH_SIZE(rxnet->peer_hash)) { in rxrpc_peer_seq_start()
279 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1); in rxrpc_peer_seq_start()
290 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_peer_seq_next() local
292 unsigned int shift = 32 - HASH_BITS(rxnet->peer_hash); in rxrpc_peer_seq_next()
300 p = seq_hlist_next_rcu(v, &rxnet->peer_hash[bucket], _pos); in rxrpc_peer_seq_next()
309 if (bucket >= HASH_SIZE(rxnet->peer_hash)) { in rxrpc_peer_seq_next()
318 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1); in rxrpc_peer_seq_next()
369 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_local_seq_start() local
381 return seq_hlist_start_rcu(&rxnet->local_endpoints, n - 1); in rxrpc_local_seq_start()
386 struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq)); in rxrpc_local_seq_next() local
391 return seq_hlist_next_rcu(v, &rxnet->local_endpoints, _pos); in rxrpc_local_seq_next()