Lines Matching defs:hn
93 struct handshake_net *hn = handshake_pernet(net);
99 if (!hn)
108 req = handshake_req_next(hn, class);
175 struct handshake_net *hn = net_generic(net, handshake_net_id);
186 hn->hn_pending_max = clamp(tmp, 3UL, 50UL);
188 spin_lock_init(&hn->hn_lock);
189 hn->hn_pending = 0;
190 hn->hn_flags = 0;
191 INIT_LIST_HEAD(&hn->hn_requests);
197 struct handshake_net *hn = net_generic(net, handshake_net_id);
206 spin_lock(&hn->hn_lock);
207 set_bit(HANDSHAKE_F_NET_DRAINING, &hn->hn_flags);
208 list_splice_init(&requests, &hn->hn_requests);
209 spin_unlock(&hn->hn_lock);