Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/crypto/
Dvfio_ap_ops.c643 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
647 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
657 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
661 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
682 AP_DEVICES) || in vfio_ap_mdev_filter_matrix()
757 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
800 for_each_set_bit_inv(apid, apm, AP_DEVICES) in vfio_ap_mdev_log_sharing_err()
821 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
841 AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()
931 DECLARE_BITMAP(apm_delta, AP_DEVICES); in assign_adapter_store()
[all …]
Dap_bus.h22 #define AP_DEVICES 256 /* Number of AP devices. */ macro
315 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
320 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
Dvfio_ap_private.h120 DECLARE_BITMAP(apm_add, AP_DEVICES);
Dap_bus.c859 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
887 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1378 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit()
1384 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit()
1400 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store()
1405 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store()
2174 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
Dzcrypt_api.c237 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1708 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1710 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1716 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1718 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1726 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1729 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1731 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()