H A D | vfio_ap_ops.c | 35 static int vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev); 51 * 3. matrix_dev->mdevs_lock: required to access data stored in a matrix_mdev 88 * @matrix_mdev: a pointer to a struct ap_matrix_mdev object containing the AP 94 * 2. matrix_mdev->kvm->lock: required to update a guest's APCB 95 * 3. matrix_dev->mdevs_lock: required to access data stored in a matrix_mdev 97 * Note: If @matrix_mdev is NULL or is not attached to a KVM guest, the KVM 100 static inline void get_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in get_update_locks_for_mdev() argument 103 if (matrix_mdev && matrix_mdev->kvm) in get_update_locks_for_mdev() 104 mutex_lock(&matrix_mdev in get_update_locks_for_mdev() 123 release_update_locks_for_mdev(struct ap_matrix_mdev * matrix_mdev) release_update_locks_for_mdev() argument 152 struct ap_matrix_mdev *matrix_mdev; get_update_locks_by_apqn() local 207 vfio_ap_mdev_get_queue(struct ap_matrix_mdev * matrix_mdev,int apqn) vfio_ap_mdev_get_queue() argument 589 struct ap_matrix_mdev *matrix_mdev; handle_pqap() local 653 signal_guest_ap_cfg_changed(struct ap_matrix_mdev * matrix_mdev) signal_guest_ap_cfg_changed() argument 659 vfio_ap_mdev_update_guest_apcb(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_update_guest_apcb() argument 671 vfio_ap_mdev_filter_cdoms(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_filter_cdoms() argument 720 vfio_ap_mdev_filter_matrix(struct ap_matrix_mdev * matrix_mdev,unsigned long * apm_filtered) vfio_ap_mdev_filter_matrix() argument 778 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_init_dev() local 792 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_probe() local 816 vfio_ap_mdev_link_queue(struct ap_matrix_mdev * matrix_mdev,struct vfio_ap_queue * q) vfio_ap_mdev_link_queue() argument 826 vfio_ap_mdev_link_apqn(struct ap_matrix_mdev * matrix_mdev,int apqn) vfio_ap_mdev_link_apqn() argument 844 vfio_ap_mdev_unlink_fr_queues(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_unlink_fr_queues() argument 862 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(&mdev->dev); vfio_ap_mdev_remove() local 977 vfio_ap_mdev_validate_masks(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_validate_masks() argument 988 vfio_ap_mdev_link_adapter(struct ap_matrix_mdev * matrix_mdev,unsigned long apid) vfio_ap_mdev_link_adapter() argument 998 collect_queues_to_reset(struct ap_matrix_mdev * matrix_mdev,unsigned long apid,struct list_head * qlist) collect_queues_to_reset() argument 1012 reset_queues_for_apid(struct ap_matrix_mdev * matrix_mdev,unsigned long apid) reset_queues_for_apid() argument 1022 reset_queues_for_apids(struct ap_matrix_mdev * matrix_mdev,unsigned long * apm_reset) reset_queues_for_apids() argument 1080 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_adapter_store() local 1124 vfio_ap_unlink_apqn_fr_mdev(struct ap_matrix_mdev * matrix_mdev,unsigned long apid,unsigned long apqi) vfio_ap_unlink_apqn_fr_mdev() argument 1146 vfio_ap_mdev_unlink_adapter(struct ap_matrix_mdev * matrix_mdev,unsigned long apid,struct list_head * qlist) vfio_ap_mdev_unlink_adapter() argument 1164 vfio_ap_mdev_hot_unplug_adapters(struct ap_matrix_mdev * matrix_mdev,unsigned long * apids) vfio_ap_mdev_hot_unplug_adapters() argument 1195 vfio_ap_mdev_hot_unplug_adapter(struct ap_matrix_mdev * matrix_mdev,unsigned long apid) vfio_ap_mdev_hot_unplug_adapter() argument 1226 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_adapter_store() local 1253 vfio_ap_mdev_link_domain(struct ap_matrix_mdev * matrix_mdev,unsigned long apqi) vfio_ap_mdev_link_domain() argument 1304 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_domain_store() local 1347 vfio_ap_mdev_unlink_domain(struct ap_matrix_mdev * matrix_mdev,unsigned long apqi,struct list_head * qlist) vfio_ap_mdev_unlink_domain() argument 1365 vfio_ap_mdev_hot_unplug_domains(struct ap_matrix_mdev * matrix_mdev,unsigned long * apqis) vfio_ap_mdev_hot_unplug_domains() argument 1396 vfio_ap_mdev_hot_unplug_domain(struct ap_matrix_mdev * matrix_mdev,unsigned long apqi) vfio_ap_mdev_hot_unplug_domain() argument 1427 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_domain_store() local 1475 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_control_domain_store() local 1529 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_control_domain_store() local 1566 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); control_domains_show() local 1612 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); matrix_show() local 1626 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); guest_matrix_show() local 1645 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); ap_config_show() local 1672 ap_matrix_overflow_check(struct ap_matrix_mdev * matrix_mdev) ap_matrix_overflow_check() argument 1708 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); ap_config_store() local 1821 vfio_ap_mdev_set_kvm(struct ap_matrix_mdev * matrix_mdev,struct kvm * kvm) vfio_ap_mdev_set_kvm() argument 1850 unmap_iova(struct ap_matrix_mdev * matrix_mdev,u64 iova,u64 length) unmap_iova() argument 1865 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_dma_unmap() local 1881 vfio_ap_mdev_unset_kvm(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_unset_kvm() argument 2017 vfio_ap_mdev_reset_queues(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_reset_queues() argument 2055 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_open_device() local 2066 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_close_device() local 2075 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_request() local 2172 vfio_ap_set_request_irq(struct ap_matrix_mdev * matrix_mdev,unsigned long arg) vfio_ap_set_request_irq() argument 2206 vfio_ap_set_cfg_change_irq(struct ap_matrix_mdev * matrix_mdev,unsigned long arg) vfio_ap_set_cfg_change_irq() argument 2239 vfio_ap_set_irqs(struct ap_matrix_mdev * matrix_mdev,unsigned long arg) vfio_ap_set_irqs() argument 2267 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_ioctl() local 2296 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_for_queue() local 2316 struct ap_matrix_mdev *matrix_mdev; status_show() local 2421 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_probe_queue() local 2474 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_remove_queue() local 2557 vfio_ap_mdev_hot_unplug_cfg(struct ap_matrix_mdev * matrix_mdev,unsigned long * aprem,unsigned long * aqrem,unsigned long * cdrem) vfio_ap_mdev_hot_unplug_cfg() argument 2602 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_cfg_remove() local 2744 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_cfg_add() local 2819 vfio_ap_mdev_hot_plug_cfg(struct ap_matrix_mdev * matrix_mdev) vfio_ap_mdev_hot_plug_cfg() argument 2852 struct ap_matrix_mdev *matrix_mdev; vfio_ap_on_scan_complete() local [all...] |