Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/s390/crypto/
Dvfio_ap_ops.c677 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
681 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
691 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
695 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
716 AP_DEVICES) || in vfio_ap_mdev_filter_matrix()
792 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
830 for_each_set_bit_inv(apid, apm, AP_DEVICES) in vfio_ap_mdev_log_sharing_err()
851 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
871 AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()
961 DECLARE_BITMAP(apm_delta, AP_DEVICES); in assign_adapter_store()
[all …]
Dap_bus.h22 #define AP_DEVICES 256 /* Number of AP devices. */ macro
294 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
299 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
Dvfio_ap_private.h123 DECLARE_BITMAP(apm_add, AP_DEVICES);
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()
1390 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit()
1396 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit()
1412 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store()
1417 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store()
2214 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
Dzcrypt_api.c221 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1588 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1590 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1596 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1598 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1606 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1609 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1611 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()