Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dllist.c55 struct llist_node *entry, *old_entry, *next; in llist_del_first() local
61 old_entry = entry; in llist_del_first()
63 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first()
64 if (entry == old_entry) in llist_del_first()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c249 struct mac_entry_idx *old_entry; in hns_mac_change_vf_addr() local
251 old_entry = &mac_cb->addr_entry_idx[vmid]; in hns_mac_change_vf_addr()
254 mac_entry.in_vlan_id = old_entry->vlan_id; in hns_mac_change_vf_addr()
261 if ((old_entry->valid != 0) && in hns_mac_change_vf_addr()
262 (memcmp(old_entry->addr, in hns_mac_change_vf_addr()
265 old_entry->vlan_id, in hns_mac_change_vf_addr()
267 old_entry->addr); in hns_mac_change_vf_addr()
280 memcpy(old_entry->addr, addr, sizeof(old_entry->addr)); in hns_mac_change_vf_addr()
281 old_entry->valid = 1; in hns_mac_change_vf_addr()
/kernel/linux/linux-5.10/fs/cifs/
Dreaddir.c481 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) in nxt_dir_entry() argument
484 FILE_DIRECTORY_INFO *pDirInfo = (FILE_DIRECTORY_INFO *)old_entry; in nxt_dir_entry()
490 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + in nxt_dir_entry()
495 if (old_entry + next_offset < old_entry) { in nxt_dir_entry()
499 new_entry = old_entry + next_offset; in nxt_dir_entry()
501 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry()
505 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
/kernel/linux/linux-5.10/fs/
Dmbcache.c156 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()
Ddax.c892 void *old_entry = entry; in dax_writeback_one() local
904 if (dax_to_pfn(old_entry) != dax_to_pfn(entry)) in dax_writeback_one()
/kernel/linux/linux-5.10/fs/f2fs/
Dnamei.c924 struct f2fs_dir_entry *old_entry; in f2fs_rename() local
973 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename()
974 if (!old_entry) { in f2fs_rename()
1052 f2fs_delete_entry(old_entry, old_page, old_dir, NULL); in f2fs_rename()
1114 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local
1140 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename()
1141 if (!old_entry) { in f2fs_cross_rename()
1205 f2fs_set_link(old_dir, old_entry, old_page, new_inode); in f2fs_cross_rename()
/kernel/linux/linux-5.10/net/ipv6/
Dcalipso.c270 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1882 u16 old_entry, new_entry; in rvu_mbox_handler_npc_mcam_shift_entry() local
1895 old_entry = req->curr_entry[index]; in rvu_mbox_handler_npc_mcam_shift_entry()
1901 rc = npc_mcam_verify_entry(mcam, pcifunc, old_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
1919 npc_copy_mcam_entry(rvu, mcam, blkaddr, old_entry, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
1922 cntr = mcam->entry2cntr_map[old_entry]; in rvu_mbox_handler_npc_mcam_shift_entry()
1925 old_entry, cntr); in rvu_mbox_handler_npc_mcam_shift_entry()
1932 npc_enable_mcam_entry(rvu, mcam, blkaddr, old_entry, false); in rvu_mbox_handler_npc_mcam_shift_entry()
/kernel/linux/linux-5.10/net/ipv4/
Dcipso_ipv4.c304 struct cipso_v4_map_cache_entry *old_entry = NULL; in cipso_v4_cache_add() local
331 old_entry = list_entry(cipso_v4_cache[bkt].list.prev, in cipso_v4_cache_add()
333 list_del(&old_entry->list); in cipso_v4_cache_add()
335 cipso_v4_cache_entry_free(old_entry); in cipso_v4_cache_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dgtt.c2817 struct intel_gvt_gtt_entry old_entry; in intel_vgpu_reset_ggtt() local
2828 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt()
2829 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt()
2838 ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); in intel_vgpu_reset_ggtt()
2839 ggtt_invalidate_pte(vgpu, &old_entry); in intel_vgpu_reset_ggtt()
/kernel/linux/linux-5.10/security/selinux/ss/
Dservices.c871 struct sidtab_entry *old_entry, *new_entry; in security_bounded_transition() local
885 old_entry = sidtab_search_entry(sidtab, old_sid); in security_bounded_transition()
886 if (!old_entry) { in security_bounded_transition()
902 if (old_entry->context.type == new_entry->context.type) in security_bounded_transition()
917 if (type->bounds == old_entry->context.type) in security_bounded_transition()
928 if (!sidtab_entry_to_string(policydb, sidtab, old_entry, in security_bounded_transition()
/kernel/linux/linux-5.10/drivers/scsi/
Dnsp32.c1709 int old_entry = data->cur_entry; in nsp32_adjust_busfree() local
1719 s_sacklen -= le32_to_cpu(sgt[old_entry].addr) & 3; in nsp32_adjust_busfree()
1726 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()