Lines Matching refs:ping_table
51 struct ping_table { struct
56 static struct ping_table ping_table; argument
71 static inline struct hlist_nulls_head *ping_hashslot(struct ping_table *table, in ping_hashslot()
85 write_lock_bh(&ping_table.lock); in ping_get_port()
93 hlist = ping_hashslot(&ping_table, sock_net(sk), in ping_get_port()
111 hlist = ping_hashslot(&ping_table, sock_net(sk), ident); in ping_get_port()
134 write_unlock_bh(&ping_table.lock); in ping_get_port()
138 write_unlock_bh(&ping_table.lock); in ping_get_port()
156 write_lock_bh(&ping_table.lock); in ping_unhash()
165 write_unlock_bh(&ping_table.lock); in ping_unhash()
171 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup()
193 read_lock_bh(&ping_table.lock); in ping_lookup()
239 read_unlock_bh(&ping_table.lock); in ping_lookup()
1036 hslot = &ping_table.hash[state->bucket]; in ping_get_first()
1077 __acquires(ping_table.lock) in ping_seq_start()
1083 read_lock_bh(&ping_table.lock); in ping_seq_start()
1109 __releases(ping_table.lock) in ping_seq_stop()
1111 read_unlock_bh(&ping_table.lock); in ping_seq_stop()
1194 INIT_HLIST_NULLS_HEAD(&ping_table.hash[i], i); in ping_init()
1195 rwlock_init(&ping_table.lock); in ping_init()