Lines Matching refs:access
853 static inline u32 resource_to_perm(uint8_t access) in resource_to_perm() argument
855 if ( access ) in resource_to_perm()
1011 static int flask_irq_permission (struct domain *d, int pirq, uint8_t access) in flask_irq_permission() argument
1014 return current_has_perm(d, SECCLASS_RESOURCE, resource_to_perm(access)); in flask_irq_permission()
1042 static int flask_iomem_permission(struct domain *d, uint64_t start, uint64_t end, uint8_t access) in flask_iomem_permission() argument
1048 resource_to_perm(access)); in flask_iomem_permission()
1052 if ( access ) in flask_iomem_permission()
1064 static int flask_iomem_mapping(struct domain *d, uint64_t start, uint64_t end, uint8_t access) in flask_iomem_mapping() argument
1066 return flask_iomem_permission(d, start, end, access); in flask_iomem_mapping()
1069 …ig_permission(struct domain *d, uint32_t machine_bdf, uint16_t start, uint16_t end, uint8_t access) in flask_pci_config_permission() argument
1081 if ( access && (end >= 0x10 && start < 0x28) ) in flask_pci_config_permission()
1540 static int flask_ioport_permission(struct domain *d, uint32_t start, uint32_t end, uint8_t access) in flask_ioport_permission() argument
1546 resource_to_perm(access)); in flask_ioport_permission()
1551 if ( access ) in flask_ioport_permission()
1563 static int flask_ioport_mapping(struct domain *d, uint32_t start, uint32_t end, uint8_t access) in flask_ioport_mapping() argument
1565 return flask_ioport_permission(d, start, end, access); in flask_ioport_mapping()