Lines Matching refs:ping_table
57 struct ping_table { struct
62 static struct ping_table ping_table; variable
77 static inline struct hlist_nulls_head *ping_hashslot(struct ping_table *table, in ping_hashslot()
91 spin_lock(&ping_table.lock); in ping_get_port()
99 hlist = ping_hashslot(&ping_table, sock_net(sk), in ping_get_port()
117 hlist = ping_hashslot(&ping_table, sock_net(sk), ident); in ping_get_port()
141 spin_unlock(&ping_table.lock); in ping_get_port()
145 spin_unlock(&ping_table.lock); in ping_get_port()
163 spin_lock(&ping_table.lock); in ping_unhash()
171 spin_unlock(&ping_table.lock); in ping_unhash()
178 struct hlist_nulls_head *hslot = ping_hashslot(&ping_table, net, ident); in ping_lookup()
1051 hslot = &ping_table.hash[state->bucket]; in ping_get_first()
1209 INIT_HLIST_NULLS_HEAD(&ping_table.hash[i], i); in ping_init()
1210 spin_lock_init(&ping_table.lock); in ping_init()