Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/s390/crypto/
Dap_bus.h22 #define AP_DEVICES 256 /* Number of AP devices. */ macro
292 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
Dzcrypt_api.c238 AP_DEVICES, &ap_perms_mutex); in apmask_store()
1622 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1624 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl()
1630 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl()
1632 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1640 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1643 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1645 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()
Dap_bus.c634 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
656 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv()
1118 rc = ap_parse_mask_str(buf, ap_perms.apm, AP_DEVICES, &ap_perms_mutex); in apmask_store()
1630 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
Dvfio_ap_ops.c540 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
555 lstdev->matrix.apm, AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()