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 206 vfio_ap_mdev_get_queue( struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_mdev_get_queue() argument 574 struct ap_matrix_mdev *matrix_mdev; handle_pqap() local 638 vfio_ap_mdev_update_guest_apcb(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_update_guest_apcb() argument 647 vfio_ap_mdev_filter_cdoms(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_filter_cdoms() argument 681 vfio_ap_mdev_filter_matrix(struct ap_matrix_mdev *matrix_mdev, unsigned long *apm_filtered) vfio_ap_mdev_filter_matrix() argument 741 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_init_dev() local 755 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_probe() local 778 vfio_ap_mdev_link_queue(struct ap_matrix_mdev *matrix_mdev, struct vfio_ap_queue *q) vfio_ap_mdev_link_queue() argument 787 vfio_ap_mdev_link_apqn(struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_mdev_link_apqn() argument 805 vfio_ap_mdev_unlink_fr_queues(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_unlink_fr_queues() argument 823 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(&mdev->dev); vfio_ap_mdev_remove() local 840 vfio_ap_mdev_log_sharing_err(struct ap_matrix_mdev *matrix_mdev, unsigned long *apm, unsigned long *aqm) vfio_ap_mdev_log_sharing_err() argument 868 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_verify_no_sharing() local 919 vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_validate_masks() argument 929 vfio_ap_mdev_link_adapter(struct ap_matrix_mdev *matrix_mdev, unsigned long apid) vfio_ap_mdev_link_adapter() argument 939 collect_queues_to_reset(struct ap_matrix_mdev *matrix_mdev, unsigned long apid, struct list_head *qlist) collect_queues_to_reset() argument 953 reset_queues_for_apid(struct ap_matrix_mdev *matrix_mdev, unsigned long apid) reset_queues_for_apid() argument 963 reset_queues_for_apids(struct ap_matrix_mdev *matrix_mdev, unsigned long *apm_reset) reset_queues_for_apids() argument 1021 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_adapter_store() local 1065 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 1087 vfio_ap_mdev_unlink_adapter(struct ap_matrix_mdev *matrix_mdev, unsigned long apid, struct list_head *qlist) vfio_ap_mdev_unlink_adapter() argument 1105 vfio_ap_mdev_hot_unplug_adapter(struct ap_matrix_mdev *matrix_mdev, unsigned long apid) vfio_ap_mdev_hot_unplug_adapter() argument 1148 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_adapter_store() local 1175 vfio_ap_mdev_link_domain(struct ap_matrix_mdev *matrix_mdev, unsigned long apqi) vfio_ap_mdev_link_domain() argument 1226 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_domain_store() local 1269 vfio_ap_mdev_unlink_domain(struct ap_matrix_mdev *matrix_mdev, unsigned long apqi, struct list_head *qlist) vfio_ap_mdev_unlink_domain() argument 1287 vfio_ap_mdev_hot_unplug_domain(struct ap_matrix_mdev *matrix_mdev, unsigned long apqi) vfio_ap_mdev_hot_unplug_domain() argument 1330 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_domain_store() local 1378 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); assign_control_domain_store() local 1432 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); unassign_control_domain_store() local 1472 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); control_domains_show() local 1533 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); matrix_show() local 1547 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); guest_matrix_show() local 1589 vfio_ap_mdev_set_kvm(struct ap_matrix_mdev *matrix_mdev, struct kvm *kvm) vfio_ap_mdev_set_kvm() argument 1618 unmap_iova(struct ap_matrix_mdev *matrix_mdev, u64 iova, u64 length) unmap_iova() argument 1633 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_dma_unmap() local 1649 vfio_ap_mdev_unset_kvm(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_unset_kvm() argument 1797 vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_reset_queues() argument 1835 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_open_device() local 1846 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_close_device() local 1855 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_request() local 1939 vfio_ap_set_request_irq(struct ap_matrix_mdev *matrix_mdev, unsigned long arg) vfio_ap_set_request_irq() argument 1973 vfio_ap_set_irqs(struct ap_matrix_mdev *matrix_mdev, unsigned long arg) vfio_ap_set_irqs() argument 1999 struct ap_matrix_mdev *matrix_mdev = vfio_ap_mdev_ioctl() local 2028 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_for_queue() local 2048 struct ap_matrix_mdev *matrix_mdev; status_show() local 2156 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_probe_queue() local 2209 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_remove_queue() local 2292 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 2337 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_cfg_remove() local 2479 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_cfg_add() local 2554 vfio_ap_mdev_hot_plug_cfg(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_hot_plug_cfg() argument 2587 struct ap_matrix_mdev *matrix_mdev; vfio_ap_on_scan_complete() local [all...] |