Home
last modified time | relevance | path

Searched refs:old_entry (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c278 struct mac_entry_idx *old_entry; in hns_mac_change_vf_addr() local
280 old_entry = &mac_cb->addr_entry_idx[vmid]; in hns_mac_change_vf_addr()
283 mac_entry.in_vlan_id = old_entry->vlan_id; in hns_mac_change_vf_addr()
290 if ((old_entry->valid != 0) && in hns_mac_change_vf_addr()
291 (memcmp(old_entry->addr, in hns_mac_change_vf_addr()
294 old_entry->vlan_id, in hns_mac_change_vf_addr()
296 old_entry->addr); in hns_mac_change_vf_addr()
309 memcpy(old_entry->addr, addr, sizeof(old_entry->addr)); in hns_mac_change_vf_addr()
310 old_entry->valid = 1; in hns_mac_change_vf_addr()
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c2840 u16 old_entry, new_entry; in rvu_mbox_handler_npc_mcam_shift_entry() local
2853 old_entry = req->curr_entry[index]; in rvu_mbox_handler_npc_mcam_shift_entry()
2859 rc = npc_mcam_verify_entry(mcam, pcifunc, old_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
2877 npc_copy_mcam_entry(rvu, mcam, blkaddr, old_entry, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
2880 cntr = mcam->entry2cntr_map[old_entry]; in rvu_mbox_handler_npc_mcam_shift_entry()
2883 old_entry, cntr); in rvu_mbox_handler_npc_mcam_shift_entry()
2890 npc_enable_mcam_entry(rvu, mcam, blkaddr, old_entry, false); in rvu_mbox_handler_npc_mcam_shift_entry()
/drivers/gpu/drm/i915/gvt/
Dgtt.c2837 struct intel_gvt_gtt_entry old_entry; in intel_vgpu_reset_ggtt() local
2848 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt()
2849 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt()
2858 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt()
2859 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt()
/drivers/scsi/
Dnsp32.c1729 int old_entry = data->cur_entry; in nsp32_adjust_busfree() local
1739 s_sacklen -= le32_to_cpu(sgt[old_entry].addr) & 3; in nsp32_adjust_busfree()
1746 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3752 u16 *old_entry, *vhca_map_entry, vhca_id; in mlx5_esw_vport_vhca_id_set() local
3767 old_entry = xa_store(&esw->offloads.vhca_map, vhca_id, vhca_map_entry, GFP_KERNEL); in mlx5_esw_vport_vhca_id_set()
3768 if (xa_is_err(old_entry)) { in mlx5_esw_vport_vhca_id_set()
3770 return xa_err(old_entry); in mlx5_esw_vport_vhca_id_set()
3772 kfree(old_entry); in mlx5_esw_vport_vhca_id_set()