Lines Matching refs:pib
72 struct hwsim_pib __rcu *pib; member
94 struct hwsim_pib *pib, *pib_old; in hwsim_hw_channel() local
96 pib = kzalloc(sizeof(*pib), GFP_KERNEL); in hwsim_hw_channel()
97 if (!pib) in hwsim_hw_channel()
100 pib->page = page; in hwsim_hw_channel()
101 pib->channel = channel; in hwsim_hw_channel()
103 pib_old = rtnl_dereference(phy->pib); in hwsim_hw_channel()
104 rcu_assign_pointer(phy->pib, pib); in hwsim_hw_channel()
119 current_pib = rcu_dereference(current_phy->pib); in hwsim_hw_xmit()
129 endpoint_pib = rcu_dereference(e->endpoint->pib); in hwsim_hw_xmit()
735 struct hwsim_pib *pib; in hwsim_add_one() local
783 pib = kzalloc(sizeof(*pib), GFP_KERNEL); in hwsim_add_one()
784 if (!pib) { in hwsim_add_one()
789 rcu_assign_pointer(phy->pib, pib); in hwsim_add_one()
818 kfree(pib); in hwsim_add_one()
826 struct hwsim_pib *pib; in hwsim_del() local
833 pib = rcu_dereference(phy->pib); in hwsim_del()
836 kfree_rcu(pib, rcu); in hwsim_del()