Home
last modified time | relevance | path

Searched refs:matrix_mdev (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dvfio_ap_ops.c35 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...]
H A Dvfio_ap_private.h131 * @matrix_mdev: the matrix mediated device
142 struct ap_matrix_mdev *matrix_mdev; member
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dvfio_ap_ops.c39 * @matrix_mdev: the associated mediated matrix
49 struct ap_matrix_mdev *matrix_mdev, in vfio_ap_get_queue()
54 if (!test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm)) in vfio_ap_get_queue()
56 if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) in vfio_ap_get_queue()
61 q->matrix_mdev = matrix_mdev; in vfio_ap_get_queue()
121 !WARN_ON(!(q->matrix_mdev && q->matrix_mdev->kvm))) { in vfio_ap_free_aqic_resources()
122 kvm_s390_gisc_unregister(q->matrix_mdev->kvm, q->saved_isc); in vfio_ap_free_aqic_resources()
125 if (q->saved_pfn && !WARN_ON(!q->matrix_mdev)) { in vfio_ap_free_aqic_resources()
48 vfio_ap_get_queue( struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_get_queue() argument
283 struct ap_matrix_mdev *matrix_mdev; handle_pqap() local
327 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_create() local
352 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); vfio_ap_mdev_remove() local
507 vfio_ap_mdev_verify_queues_reserved_for_apid(struct ap_matrix_mdev *matrix_mdev, unsigned long apid) vfio_ap_mdev_verify_queues_reserved_for_apid() argument
537 vfio_ap_mdev_verify_no_sharing(struct ap_matrix_mdev *matrix_mdev) vfio_ap_mdev_verify_no_sharing() argument
607 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); assign_adapter_store() local
673 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); unassign_adapter_store() local
695 vfio_ap_mdev_verify_queues_reserved_for_apqi(struct ap_matrix_mdev *matrix_mdev, unsigned long apqi) vfio_ap_mdev_verify_queues_reserved_for_apqi() argument
753 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); assign_domain_store() local
815 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); unassign_domain_store() local
859 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); assign_control_domain_store() local
908 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); unassign_control_domain_store() local
938 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); control_domains_show() local
957 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); matrix_show() local
1036 vfio_ap_mdev_set_kvm(struct ap_matrix_mdev *matrix_mdev, struct kvm *kvm) vfio_ap_mdev_set_kvm() argument
1072 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_iommu_notifier() local
1091 struct ap_matrix_mdev *matrix_mdev; vfio_ap_mdev_group_notifier() local
1190 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); vfio_ap_mdev_reset_queues() local
1213 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); vfio_ap_mdev_open() local
1246 struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); vfio_ap_mdev_release() local
[all...]
H A Dvfio_ap_private.h92 struct ap_matrix_mdev *matrix_mdev; member

Completed in 3 milliseconds