Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/s390/crypto/
Dap_bus.h23 #define AP_DOMAINS 256 /* Number of AP domains. */ macro
316 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long))
321 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
322 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
Dap_bus.c842 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
867 for (queue = 0; !rc && queue < AP_DOMAINS; queue++) in ap_apqn_in_matrix_owned_by_def_drv()
1450 unsigned long reserved[BITS_TO_LONGS(AP_DOMAINS)]; in aqmask_commit()
1456 if (bitmap_andnot(reserved, newaqm, ap_perms.aqm, AP_DOMAINS)) { in aqmask_commit()
1472 DECLARE_BITMAP(newaqm, AP_DOMAINS); in aqmask_store()
1477 rc = ap_parse_bitmap_str(buf, ap_perms.aqm, AP_DOMAINS, newaqm); in aqmask_store()
2160 ap_parse_mask_str(aqm_str, ap_perms.aqm, AP_DOMAINS, in ap_perms_init()
Dzcrypt_api.c279 AP_DOMAINS, &ap_perms_mutex); in aqmask_store()
321 AP_DOMAINS, &ap_perms_mutex); in admask_store()
927 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
942 if (tdom < AP_DOMAINS && in _zcrypt_send_cprb()
1309 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask()
1334 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask_ext()
Dvfio_ap_ops.c688 DECLARE_BITMAP(aqm, AP_DOMAINS); in vfio_ap_mdev_verify_no_sharing()
706 lstdev->matrix.aqm, AP_DOMAINS)) in vfio_ap_mdev_verify_no_sharing()