Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/s390/crypto/
Dap_bus.h21 #define AP_DEVICES 256 /* Number of AP devices. */ macro
271 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
Dap_bus.c738 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
760 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1206 rc = ap_parse_mask_str(buf, ap_perms.apm, AP_DEVICES, &ap_perms_mutex); in apmask_store()
1291 for (j = 0; j < AP_DEVICES; j++) { in ap_select_domain()
1550 for (id = 0; id < AP_DEVICES; id++) in ap_scan_bus()
1597 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
Dzcrypt_api.c236 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1398 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1400 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1406 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1408 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1416 reqcnt = kcalloc(AP_DEVICES, sizeof(int), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1419 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
Dvfio_ap_ops.c539 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
554 lstdev->matrix.apm, AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()