Lines Matching refs:upl
181 rwlock_t upl; /* protects `ppp' and 'bridge' */ member
643 write_lock_bh(&pch->upl); in ppp_bridge_channels()
645 rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl))) { in ppp_bridge_channels()
646 write_unlock_bh(&pch->upl); in ppp_bridge_channels()
651 write_unlock_bh(&pch->upl); in ppp_bridge_channels()
653 write_lock_bh(&pchb->upl); in ppp_bridge_channels()
655 rcu_dereference_protected(pchb->bridge, lockdep_is_held(&pchb->upl))) { in ppp_bridge_channels()
656 write_unlock_bh(&pchb->upl); in ppp_bridge_channels()
661 write_unlock_bh(&pchb->upl); in ppp_bridge_channels()
666 write_lock_bh(&pch->upl); in ppp_bridge_channels()
668 pchb = rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl)); in ppp_bridge_channels()
670 write_unlock_bh(&pch->upl); in ppp_bridge_channels()
684 write_lock_bh(&pch->upl); in ppp_unbridge_channels()
685 pchb = rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl)); in ppp_unbridge_channels()
687 write_unlock_bh(&pch->upl); in ppp_unbridge_channels()
691 write_unlock_bh(&pch->upl); in ppp_unbridge_channels()
698 write_lock_bh(&pchb->upl); in ppp_unbridge_channels()
699 pchbb = rcu_dereference_protected(pchb->bridge, lockdep_is_held(&pchb->upl)); in ppp_unbridge_channels()
702 write_unlock_bh(&pchb->upl); in ppp_unbridge_channels()
2186 read_lock_bh(&pch->upl); in ppp_channel_push()
2194 read_unlock_bh(&pch->upl); in ppp_channel_push()
2307 read_lock_bh(&pch->upl); in ppp_input()
2331 read_unlock_bh(&pch->upl); in ppp_input()
2344 read_lock_bh(&pch->upl); in ppp_input_error()
2353 read_unlock_bh(&pch->upl); in ppp_input_error()
2914 rwlock_init(&pch->upl); in ppp_register_net_channel()
2946 read_lock_bh(&pch->upl); in ppp_unit_number()
2949 read_unlock_bh(&pch->upl); in ppp_unit_number()
2963 read_lock_bh(&pch->upl); in ppp_dev_name()
2966 read_unlock_bh(&pch->upl); in ppp_dev_name()
3478 write_lock_bh(&pch->upl); in ppp_connect_channel()
3481 rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl))) in ppp_connect_channel()
3507 write_unlock_bh(&pch->upl); in ppp_connect_channel()
3522 write_lock_bh(&pch->upl); in ppp_disconnect_channel()
3525 write_unlock_bh(&pch->upl); in ppp_disconnect_channel()