Searched refs:AP_DEVICES (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/s390/crypto/ ! |
| H A D | vfio_ap_ops.c | 724 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 727 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 730 bitmap_clear(apm_filtered, 0, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 738 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 742 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix() 771 AP_DEVICES) || in vfio_ap_mdev_filter_matrix() 849 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues() 886 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_log_sharing_err() 899 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_log_in_use_err() 927 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing() [all …]
|
| H A D | vfio_ap_private.h | 78 DECLARE_BITMAP(apm, AP_DEVICES); 125 DECLARE_BITMAP(apm_add, AP_DEVICES);
|
| H A D | ap_bus.h | 22 #define AP_DEVICES 256 /* Number of AP devices. */ macro 273 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long)) 278 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
|
| H A D | ap_bus.c | 924 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv() 966 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv() 1535 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit() 1541 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit() 1555 bitmap_full(ap_perms.apm, AP_DEVICES) && in apmask_commit() 1565 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store() 1575 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store() 1617 unsigned long apm_any[BITS_TO_LONGS(AP_DEVICES)]; in __verify_queue_reservations() 1627 bitmap_fill(apm_any, AP_DEVICES); in __verify_queue_reservations() 1662 bitmap_full(ap_perms.apm, AP_DEVICES) && in aqmask_commit() [all …]
|
| H A D | zcrypt_api.c | 222 AP_DEVICES, &ap_attr_mutex); in apmask_store() 1644 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1646 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl() 1652 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1654 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1662 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl() 1665 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl() 1667 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()
|