Home
last modified time | relevance | path

Searched refs:pchb (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ppp/
H A Dppp_generic.c646 static int ppp_bridge_channels(struct channel *pch, struct channel *pchb) in ppp_bridge_channels() argument
654 refcount_inc(&pchb->file.refcnt); in ppp_bridge_channels()
655 rcu_assign_pointer(pch->bridge, pchb); in ppp_bridge_channels()
658 spin_lock(&pchb->upl); in ppp_bridge_channels()
659 if (rcu_dereference_protected(pchb->ppp, lockdep_is_held(&pchb->upl)) || in ppp_bridge_channels()
660 rcu_dereference_protected(pchb->bridge, lockdep_is_held(&pchb->upl))) { in ppp_bridge_channels()
661 spin_unlock(&pchb->upl); in ppp_bridge_channels()
665 rcu_assign_pointer(pchb->bridge, pch); in ppp_bridge_channels()
666 spin_unlock(&pchb->upl); in ppp_bridge_channels()
673 pchb = rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl)); in ppp_bridge_channels()
[all …]