Home
last modified time | relevance | path

Searched refs:its_fd (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dvgic.c174 int its_fd = kvm_create_device(vm, KVM_DEV_TYPE_ARM_VGIC_ITS); in vgic_its_setup() local
178 kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in vgic_its_setup()
181 kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_CTRL, in vgic_its_setup()
187 return its_fd; in vgic_its_setup()
/linux/tools/testing/selftests/kvm/aarch64/
H A Dvgic_init.c641 int its_fd, ret; in test_v3_its_region() local
644 its_fd = kvm_create_device(v.vm, KVM_DEV_TYPE_ARM_VGIC_ITS); in test_v3_its_region()
647 ret = __kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in test_v3_its_region()
653 ret = __kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in test_v3_its_region()
659 ret = __kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in test_v3_its_region()
666 kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in test_v3_its_region()
670 ret = __kvm_device_attr_set(its_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in test_v3_its_region()
674 close(its_fd); in test_v3_its_region()
H A Dvgic_lpi_stress.c30 static int gic_fd, its_fd; variable
220 its_fd = vgic_its_setup(vm); in setup_gic()
357 close(its_fd); in destroy_vm()