Lines Matching refs:pib
82 struct hwsim_pib __rcu *pib; member
105 struct hwsim_pib *pib, *pib_old; in hwsim_hw_channel() local
107 pib = kzalloc(sizeof(*pib), GFP_KERNEL); in hwsim_hw_channel()
108 if (!pib) in hwsim_hw_channel()
111 pib->page = page; in hwsim_hw_channel()
112 pib->channel = channel; in hwsim_hw_channel()
114 pib_old = rtnl_dereference(phy->pib); in hwsim_hw_channel()
115 rcu_assign_pointer(phy->pib, pib); in hwsim_hw_channel()
130 current_pib = rcu_dereference(current_phy->pib); in hwsim_hw_xmit()
140 endpoint_pib = rcu_dereference(e->endpoint->pib); in hwsim_hw_xmit()
754 struct hwsim_pib *pib; in hwsim_add_one() local
802 pib = kzalloc(sizeof(*pib), GFP_KERNEL); in hwsim_add_one()
803 if (!pib) { in hwsim_add_one()
808 rcu_assign_pointer(phy->pib, pib); in hwsim_add_one()
835 kfree(pib); in hwsim_add_one()
843 struct hwsim_pib *pib; in hwsim_del() local
850 pib = rcu_dereference(phy->pib); in hwsim_del()
853 kfree_rcu(pib, rcu); in hwsim_del()