Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c624 static int ppp_bridge_channels(struct channel *pch, struct channel *pchb) in ppp_bridge_channels() argument
632 refcount_inc(&pchb->file.refcnt); in ppp_bridge_channels()
633 rcu_assign_pointer(pch->bridge, pchb); in ppp_bridge_channels()
636 write_lock_bh(&pchb->upl); in ppp_bridge_channels()
637 if (pchb->ppp || in ppp_bridge_channels()
638 rcu_dereference_protected(pchb->bridge, lockdep_is_held(&pchb->upl))) { in ppp_bridge_channels()
639 write_unlock_bh(&pchb->upl); in ppp_bridge_channels()
643 rcu_assign_pointer(pchb->bridge, pch); in ppp_bridge_channels()
644 write_unlock_bh(&pchb->upl); in ppp_bridge_channels()
651 pchb = rcu_dereference_protected(pch->bridge, lockdep_is_held(&pch->upl)); in ppp_bridge_channels()
[all …]