Home
last modified time | relevance | path

Searched refs:AP_DEVICES (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c685 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
689 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
692 bitmap_clear(apm_filtered, 0, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
700 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
704 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
734 AP_DEVICES) || in vfio_ap_mdev_filter_matrix()
810 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
848 for_each_set_bit_inv(apid, apm, AP_DEVICES) in vfio_ap_mdev_log_sharing_err()
869 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
889 AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()
[all …]
H A Dap_bus.h22 #define AP_DEVICES 256 /* Number of AP devices. */ macro
295 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
300 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
H A Dvfio_ap_private.h123 DECLARE_BITMAP(apm_add, AP_DEVICES);
H A Dap_bus.c869 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
897 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1394 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit()
1400 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit()
1416 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store()
1421 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store()
2217 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
H A Dzcrypt_api.c221 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1590 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1592 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1598 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1600 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1608 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1611 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1613 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()