Lines Matching refs:ptk_pn
3462 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local
3573 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3574 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key()
3577 if (!ptk_pn) { in __iwl_mvm_mac_set_key()
3585 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key()
3590 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3647 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key()
3648 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
3650 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key()
3651 if (ptk_pn) in __iwl_mvm_mac_set_key()
3652 kfree_rcu(ptk_pn, rcu_head); in __iwl_mvm_mac_set_key()