Home
last modified time | relevance | path

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

/drivers/s390/crypto/
Dap_bus.h22 #define AP_DEVICES 256 /* Number of AP devices. */ macro
294 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
Dzcrypt_api.c237 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1628 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1630 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1636 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1638 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1646 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1649 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1651 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()
Dap_bus.c807 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
829 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1290 rc = ap_parse_mask_str(buf, ap_perms.apm, AP_DEVICES, &ap_perms_mutex); in apmask_store()
1855 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
Dvfio_ap_ops.c559 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
574 lstdev->matrix.apm, AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()