new_cc_state     3780 drivers/infiniband/hw/hfi1/mad.c 	struct cc_state *old_cc_state, *new_cc_state;
new_cc_state     3782 drivers/infiniband/hw/hfi1/mad.c 	new_cc_state = kzalloc(sizeof(*new_cc_state), GFP_KERNEL);
new_cc_state     3783 drivers/infiniband/hw/hfi1/mad.c 	if (!new_cc_state)
new_cc_state     3796 drivers/infiniband/hw/hfi1/mad.c 		kfree(new_cc_state);
new_cc_state     3800 drivers/infiniband/hw/hfi1/mad.c 	*new_cc_state = *old_cc_state;
new_cc_state     3803 drivers/infiniband/hw/hfi1/mad.c 		new_cc_state->cct.ccti_limit = ppd->total_cct_entry - 1;
new_cc_state     3805 drivers/infiniband/hw/hfi1/mad.c 		new_cc_state->cct.ccti_limit = 0;
new_cc_state     3807 drivers/infiniband/hw/hfi1/mad.c 	memcpy(new_cc_state->cct.entries, ppd->ccti_entries,
new_cc_state     3810 drivers/infiniband/hw/hfi1/mad.c 	new_cc_state->cong_setting.port_control = IB_CC_CCS_PC_SL_BASED;
new_cc_state     3811 drivers/infiniband/hw/hfi1/mad.c 	new_cc_state->cong_setting.control_map = ppd->cc_sl_control_map;
new_cc_state     3812 drivers/infiniband/hw/hfi1/mad.c 	memcpy(new_cc_state->cong_setting.entries, ppd->congestion_entries,
new_cc_state     3815 drivers/infiniband/hw/hfi1/mad.c 	rcu_assign_pointer(ppd->cc_state, new_cc_state);