Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/s390/crypto/
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)];
Dap_bus.c842 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
864 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1357 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit()
1363 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit()
1379 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store()
1384 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store()
2153 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()
Dvfio_ap_ops.c687 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
702 lstdev->matrix.apm, AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()