/kernel/linux/linux-5.10/net/core/ |
H A D | dev_addr_lists.c | 229 * @unsync: function to call if address should be removed 233 * notifications. The unsync function may be NULL in which case 240 int (*unsync)(struct net_device *, in __hw_addr_sync_dev() 251 /* if unsync is defined and fails defer unsyncing address */ in __hw_addr_sync_dev() 252 if (unsync && unsync(dev, ha->addr)) in __hw_addr_sync_dev() 282 * @unsync: function to call if address or some reference on it should removed 286 * add/remove notifications. The unsync function may be NULL in which case 296 int (*unsync)(struct net_device *, in __hw_addr_ref_sync_dev() 310 if (unsync in __hw_addr_ref_sync_dev() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | dev_addr_lists.c | 306 * @unsync: function to call if address should be removed 310 * notifications. The unsync function may be NULL in which case 317 int (*unsync)(struct net_device *, in __hw_addr_sync_dev() 328 /* if unsync is defined and fails defer unsyncing address */ in __hw_addr_sync_dev() 329 if (unsync && unsync(dev, ha->addr)) in __hw_addr_sync_dev() 359 * @unsync: function to call if address or some reference on it should removed 363 * add/remove notifications. The unsync function may be NULL in which case 373 int (*unsync)(struct net_device *, in __hw_addr_ref_sync_dev() 387 if (unsync in __hw_addr_ref_sync_dev() [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
H A D | mmu_audit.c | 102 if (sp->unsync) { in audit_mappings() 104 audit_printk(vcpu->kvm, "unsync sp: %p " in audit_mappings() 170 if (vcpu->kvm->arch.audit_point == AUDIT_POST_SYNC && sp->unsync) in audit_spte_after_sync() 171 audit_printk(vcpu->kvm, "meet unsync sp(%p) after sync " in audit_spte_after_sync() 198 if (sp->role.direct || sp->unsync || sp->role.invalid) in audit_write_protection()
|
H A D | mmutrace.h | 16 __field(bool, unsync) 23 __entry->unsync = sp->unsync; 46 __entry->unsync ? "unsync" : "sync", 0); \
|
H A D | mmu_internal.h | 28 bool unsync; member
|
H A D | mmu.c | 1101 * - for spte protection, the spte can be writable only after unsync-ing 1729 if (sp->unsync) in mmu_pages_add() 1775 } else if (child->unsync) { in __mmu_unsync_walk() 1801 WARN_ON(!sp->unsync); in kvm_unlink_unsync_page() 1803 sp->unsync = 0; in kvm_unlink_unsync_page() 1893 if (!s->unsync) in kvm_sync_pages() 2056 if (!need_sync && sp->unsync) in kvm_mmu_get_page() 2065 if (sp->unsync) { in kvm_mmu_get_page() 2191 if (sp->unsync_children || sp->unsync) in link_shadow_page() 2315 if (sp->unsync) in __kvm_mmu_prepare_zap_page() [all...] |
H A D | paging_tmpl.h | 933 if (!sp->unsync) in invlpg() 1026 /* direct kvm_mmu_page can not be unsync. */ in sync_page()
|
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/ |
H A D | mmutrace.h | 16 __field(bool, unsync) 23 __entry->unsync = sp->unsync; 46 __entry->unsync ? "unsync" : "sync", 0); \
|
H A D | mmu_internal.h | 60 bool unsync; member
|
H A D | mmu.c | 1218 * - for spte protection, the spte can be writable only after unsync-ing 1808 if (sp->unsync) in mmu_pages_add() 1854 } else if (child->unsync) { in __mmu_unsync_walk() 1880 WARN_ON_ONCE(!sp->unsync); in kvm_unlink_unsync_page() 1882 sp->unsync = 0; in kvm_unlink_unsync_page() 1933 * Direct pages can never be unsync, and KVM should never attempt to in kvm_sync_page_check() 2143 * unsync, thus @vcpu can be NULL if @role.direct is true. 2165 * unsync pages for the same gfn. While it's possible in kvm_mmu_find_shadow_page() 2167 * likelihood the guest has stopped using the unsync in kvm_mmu_find_shadow_page() 2172 if (role.level > PG_LEVEL_4K && sp->unsync) in kvm_mmu_find_shadow_page() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | netdevice.h | 4461 int (*unsync)(struct net_device *, 4467 int (*unsync)(struct net_device *, 4471 int (*unsync)(struct net_device *, 4475 int (*unsync)(struct net_device *, 4519 * @unsync: function to call if address should be removed 4527 int (*unsync)(struct net_device *, in __dev_uc_sync() 4530 return __hw_addr_sync_dev(&dev->uc, dev, sync, unsync); in __dev_uc_sync() 4536 * @unsync: function to call if address should be removed 4541 int (*unsync)(struct net_device *, in __dev_uc_unsync() 4544 __hw_addr_unsync_dev(&dev->uc, dev, unsync); in __dev_uc_unsync() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | netdevice.h | 4576 int (*unsync)(struct net_device *, 4582 int (*unsync)(struct net_device *, 4586 int (*unsync)(struct net_device *, 4590 int (*unsync)(struct net_device *, 4628 * @unsync: function to call if address should be removed 4636 int (*unsync)(struct net_device *, in __dev_uc_sync() 4639 return __hw_addr_sync_dev(&dev->uc, dev, sync, unsync); in __dev_uc_sync() 4645 * @unsync: function to call if address should be removed 4650 int (*unsync)(struct net_device *, in __dev_uc_unsync() 4653 __hw_addr_unsync_dev(&dev->uc, dev, unsync); in __dev_uc_unsync() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 8757 int (*unsync)(struct hclge_vport *vport, const unsigned char *addr); in hclge_unsync_vport_mac_list() 8762 unsync = hclge_rm_uc_addr_common; in hclge_unsync_vport_mac_list() 8764 unsync = hclge_rm_mc_addr_common; in hclge_unsync_vport_mac_list() 8767 ret = unsync(vport, mac_node->mac_addr); in hclge_unsync_vport_mac_list() 8963 int (*unsync)(struct hclge_vport *vport, in hclge_unsync_del_list() 8972 ret = unsync(vport, mac_cfg->mac_addr); in hclge_unsync_del_list() 8994 int (*unsync)(struct hclge_vport *vport, const unsigned char *addr); in hclge_rm_vport_all_mac_table() 9000 unsync = hclge_rm_uc_addr_common; in hclge_rm_vport_all_mac_table() 9003 unsync = hclge_rm_mc_addr_common; in hclge_rm_vport_all_mac_table() 9017 hclge_unsync_del_list(vport, unsync, is_del_lis in hclge_rm_vport_all_mac_table() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 7771 int (*unsync)(struct hclge_vport *, in hclge_unsync_vport_mac_list() 7778 ret = unsync(vport, mac_node->mac_addr); in hclge_unsync_vport_mac_list() 7966 int (*unsync)(struct hclge_vport *vport, const unsigned char *addr); in hclge_rm_vport_all_mac_table() 7974 unsync = hclge_rm_uc_addr_common; in hclge_rm_vport_all_mac_table() 7977 unsync = hclge_rm_mc_addr_common; in hclge_rm_vport_all_mac_table() 8006 ret = unsync(vport, mac_cfg->mac_addr); in hclge_rm_vport_all_mac_table()
|