Home
last modified time | relevance | path

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

/xen/xen/include/xsm/
A Dxsm.h111 int (*get_device_group) (uint32_t machine_bdf);
112 int (*assign_device) (struct domain *d, uint32_t machine_bdf);
123 int (*resource_plug_pci) (uint32_t machine_bdf);
124 int (*resource_unplug_pci) (uint32_t machine_bdf);
125 int (*resource_setup_pci) (uint32_t machine_bdf);
471 return xsm_ops->get_device_group(machine_bdf); in xsm_get_device_group()
476 return xsm_ops->assign_device(d, machine_bdf); in xsm_assign_device()
481 return xsm_ops->deassign_device(d, machine_bdf); in xsm_deassign_device()
502 return xsm_ops->resource_plug_pci(machine_bdf); in xsm_resource_plug_pci()
507 return xsm_ops->resource_unplug_pci(machine_bdf); in xsm_resource_unplug_pci()
[all …]
A Ddummy.h352 static XSM_INLINE int xsm_get_device_group(XSM_DEFAULT_ARG uint32_t machine_bdf) in xsm_get_device_group() argument
358 static XSM_INLINE int xsm_assign_device(XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf) in xsm_assign_device() argument
364 static XSM_INLINE int xsm_deassign_device(XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf) in xsm_deassign_device() argument
401 static XSM_INLINE int xsm_resource_plug_pci(XSM_DEFAULT_ARG uint32_t machine_bdf) in xsm_resource_plug_pci() argument
407 static XSM_INLINE int xsm_resource_unplug_pci(XSM_DEFAULT_ARG uint32_t machine_bdf) in xsm_resource_unplug_pci() argument
413 static XSM_INLINE int xsm_resource_setup_pci(XSM_DEFAULT_ARG uint32_t machine_bdf) in xsm_resource_setup_pci() argument
516 …ic XSM_INLINE int xsm_pci_config_permission(XSM_DEFAULT_ARG struct domain *d, uint32_t machine_bdf, in xsm_pci_config_permission() argument
/xen/xen/xsm/flask/
A Dhooks.c876 ad->device = machine_bdf; in flask_map_domain_msi()
878 return security_device_sid(machine_bdf, sid); in flask_map_domain_msi()
942 ad->device = machine_bdf; in flask_unmap_domain_msi()
944 return security_device_sid(machine_bdf, sid); in flask_unmap_domain_msi()
1064 rc = security_device_sid(machine_bdf, &rsid); in flask_pci_config_permission()
1075 ad.device = (unsigned long) machine_bdf; in flask_pci_config_permission()
1102 rc = security_device_sid(machine_bdf, &rsid); in flask_resource_plug_pci()
1107 ad.device = (unsigned long) machine_bdf; in flask_resource_plug_pci()
1122 ad.device = (unsigned long) machine_bdf; in flask_resource_unplug_pci()
1137 ad.device = (unsigned long) machine_bdf; in flask_resource_setup_pci()
[all …]
/xen/xen/drivers/passthrough/amd/
A Diommu_guest.c41 static unsigned int machine_bdf(struct domain *d, uint16_t guest_bdf) in machine_bdf() function
46 static uint16_t guest_bdf(struct domain *d, uint16_t machine_bdf) in guest_bdf() argument
48 return machine_bdf; in guest_bdf()
242 dev_id = machine_bdf(d, iommu_get_devid_from_cmd(cmd->data[0])); in do_complete_ppr_request()
294 dev_id = machine_bdf(d, iommu_get_devid_from_cmd(cmd->data[0])); in do_invalidate_iotlb_pages()
370 mbdf = machine_bdf(d, gbdf); in do_invalidate_dte()
/xen/xen/arch/x86/pv/
A Demul-priv-op.c222 uint32_t machine_bdf; in pci_cfg_ok() local
230 machine_bdf = CF8_BDF(currd->arch.pci_cf8); in pci_cfg_ok()
235 if ( ro_map && test_bit(machine_bdf, ro_map) ) in pci_cfg_ok()
253 xsm_pci_config_permission(XSM_HOOK, currd, machine_bdf, in pci_cfg_ok()
255 pci_conf_write_intercept(0, machine_bdf, start, size, write) >= 0; in pci_cfg_ok()

Completed in 19 milliseconds