/openbmc/linux/arch/x86/hyperv/ |
H A D | irqdomain.c | 72 static int hv_unmap_interrupt(u64 id, struct hv_interrupt_entry *old_entry) in hv_unmap_interrupt() argument 86 *intr_entry = *old_entry; in hv_unmap_interrupt() 188 static int hv_unmap_msi_interrupt(struct pci_dev *dev, struct hv_interrupt_entry *old_entry); 251 static int hv_unmap_msi_interrupt(struct pci_dev *dev, struct hv_interrupt_entry *old_entry) in hv_unmap_msi_interrupt() argument 253 return hv_unmap_interrupt(hv_build_pci_dev_id(dev).as_uint64, old_entry); in hv_unmap_msi_interrupt() 258 struct hv_interrupt_entry old_entry; in hv_teardown_msi_irq() local 267 old_entry = *(struct hv_interrupt_entry *)irqd->chip_data; in hv_teardown_msi_irq() 268 entry_to_msi_msg(&old_entry, &msg); in hv_teardown_msi_irq() 273 status = hv_unmap_msi_interrupt(dev, &old_entry); in hv_teardown_msi_irq()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 278 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()
|
/openbmc/linux/fs/ |
H A D | mbcache.c | 156 struct mb_cache_entry *old_entry = entry; in __entry_find() local 178 if (old_entry) in __entry_find() 179 mb_cache_entry_put(cache, old_entry); in __entry_find()
|
H A D | dax.c | 941 void *old_entry = entry; in dax_writeback_one() local 953 if (dax_to_pfn(old_entry) != dax_to_pfn(entry)) in dax_writeback_one()
|
/openbmc/linux/fs/smb/client/ |
H A D | readdir.c | 445 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) in nxt_dir_entry() argument 448 FILE_DIRECTORY_INFO *pDirInfo = (FILE_DIRECTORY_INFO *)old_entry; in nxt_dir_entry() 454 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + 1 + in nxt_dir_entry() 459 if (old_entry + next_offset < old_entry) { in nxt_dir_entry() 463 new_entry = old_entry + next_offset; in nxt_dir_entry() 465 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry() 469 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
|
/openbmc/linux/fs/f2fs/ |
H A D | namei.c | 897 struct f2fs_dir_entry *old_entry; in f2fs_rename() local 953 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename() 954 if (!old_entry) { in f2fs_rename() 1032 f2fs_delete_entry(old_entry, old_page, old_dir, NULL); in f2fs_rename() 1093 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local 1119 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename() 1120 if (!old_entry) { in f2fs_cross_rename() 1184 f2fs_set_link(old_dir, old_entry, old_page, new_inode); in f2fs_cross_rename()
|
/openbmc/linux/mm/ |
H A D | mremap.c | 460 void *old_entry, void *new_entry, bool need_rmap_locks) in move_pgt_entry() argument 470 moved = move_normal_pmd(vma, old_addr, new_addr, old_entry, in move_pgt_entry() 474 moved = move_normal_pud(vma, old_addr, new_addr, old_entry, in move_pgt_entry() 479 move_huge_pmd(vma, old_addr, new_addr, old_entry, in move_pgt_entry() 484 move_huge_pud(vma, old_addr, new_addr, old_entry, in move_pgt_entry()
|
/openbmc/linux/net/ipv6/ |
H A D | calipso.c | 270 struct calipso_map_cache_entry *old_entry = NULL; in calipso_cache_add() local 297 old_entry = list_entry(calipso_cache[bkt].list.prev, in calipso_cache_add() 299 list_del(&old_entry->list); in calipso_cache_add() 301 calipso_cache_entry_free(old_entry); in calipso_cache_add()
|
/openbmc/linux/net/ipv4/ |
H A D | cipso_ipv4.c | 303 struct cipso_v4_map_cache_entry *old_entry = NULL; in cipso_v4_cache_add() local 330 old_entry = list_entry(cipso_v4_cache[bkt].list.prev, in cipso_v4_cache_add() 332 list_del(&old_entry->list); in cipso_v4_cache_add() 334 cipso_v4_cache_entry_free(old_entry); in cipso_v4_cache_add()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 2908 u16 old_entry, new_entry; in rvu_mbox_handler_npc_mcam_shift_entry() local 2921 old_entry = req->curr_entry[index]; in rvu_mbox_handler_npc_mcam_shift_entry() 2927 rc = npc_mcam_verify_entry(mcam, pcifunc, old_entry); in rvu_mbox_handler_npc_mcam_shift_entry() 2945 npc_copy_mcam_entry(rvu, mcam, blkaddr, old_entry, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry() 2948 cntr = mcam->entry2cntr_map[old_entry]; in rvu_mbox_handler_npc_mcam_shift_entry() 2951 old_entry, cntr); in rvu_mbox_handler_npc_mcam_shift_entry() 2958 npc_enable_mcam_entry(rvu, mcam, blkaddr, old_entry, false); in rvu_mbox_handler_npc_mcam_shift_entry()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | gtt.c | 2790 struct intel_gvt_gtt_entry old_entry; in intel_vgpu_reset_ggtt() local 2801 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt() 2802 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt() 2811 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt() 2812 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt()
|
/openbmc/linux/security/selinux/ss/ |
H A D | services.c | 857 struct sidtab_entry *old_entry, *new_entry; in security_bounded_transition() local 871 old_entry = sidtab_search_entry(sidtab, old_sid); in security_bounded_transition() 872 if (!old_entry) { in security_bounded_transition() 888 if (old_entry->context.type == new_entry->context.type) in security_bounded_transition() 903 if (type->bounds == old_entry->context.type) in security_bounded_transition() 914 if (!sidtab_entry_to_string(policydb, sidtab, old_entry, in security_bounded_transition()
|
/openbmc/linux/drivers/scsi/ |
H A D | nsp32.c | 1722 int old_entry = data->cur_entry; in nsp32_adjust_busfree() local 1732 s_sacklen -= le32_to_cpu(sgt[old_entry].addr) & 3; in nsp32_adjust_busfree() 1739 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads.c | 4150 u16 *old_entry, *vhca_map_entry, vhca_id; in mlx5_esw_vport_vhca_id_set() local 4165 old_entry = xa_store(&esw->offloads.vhca_map, vhca_id, vhca_map_entry, GFP_KERNEL); in mlx5_esw_vport_vhca_id_set() 4166 if (xa_is_err(old_entry)) { in mlx5_esw_vport_vhca_id_set() 4168 return xa_err(old_entry); in mlx5_esw_vport_vhca_id_set() 4170 kfree(old_entry); in mlx5_esw_vport_vhca_id_set()
|
/openbmc/qemu/block/ |
H A D | qcow2-refcount.c | 1250 int64_t old_entry, old_l2_offset; in qcow2_update_snapshot_refcount() local 1317 old_entry = entry; in qcow2_update_snapshot_refcount() 1385 if (entry != old_entry) { in qcow2_update_snapshot_refcount()
|