Lines Matching refs:l2tp_ip_lock
33 rwlock_t l2tp_ip_lock; member
185 read_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv()
189 read_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv()
193 read_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv()
219 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_hash()
221 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_hash()
232 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_unhash()
234 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_unhash()
250 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_close()
253 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_close()
307 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_bind()
310 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_bind()
320 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_bind()
357 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_connect()
360 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_connect()
669 rwlock_init(&pn->l2tp_ip_lock); in l2tp_ip_init_net()
679 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_exit_net()
682 write_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_exit_net()