Searched refs:tmp_rings (Results 1 – 1 of 1) sorted by relevance
1091 struct hns3_enet_ring *tmp_rings; in hns3_backup_ringparam() local1094 tmp_rings = kcalloc(handle->kinfo.num_tqps * 2, in hns3_backup_ringparam()1096 if (!tmp_rings) in hns3_backup_ringparam()1100 memcpy(&tmp_rings[i], &priv->ring[i], in hns3_backup_ringparam()1102 tmp_rings[i].skb = NULL; in hns3_backup_ringparam()1105 return tmp_rings; in hns3_backup_ringparam()1222 struct hns3_enet_ring *tmp_rings; in hns3_set_ringparam() local1238 tmp_rings = hns3_backup_ringparam(priv); in hns3_set_ringparam()1239 if (!tmp_rings) { in hns3_set_ringparam()1265 memcpy(&priv->ring[i], &tmp_rings[i], in hns3_set_ringparam()[all …]