Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/s390/crypto/
Dvfio_ap_ops.c647 DECLARE_BITMAP(prev_shadow_adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
649 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
651 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
654 AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
678 DECLARE_BITMAP(prev_shadow_aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
682 bitmap_copy(prev_shadow_aqm, matrix_mdev->shadow_apcb.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
693 (unsigned long *)matrix_dev->info.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
696 for_each_set_bit_inv(apqi, aqm, AP_DOMAINS) { in vfio_ap_mdev_filter_matrix()
718 AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
794 AP_DOMAINS) { in vfio_ap_mdev_unlink_fr_queues()
[all …]
Dap_bus.h23 #define AP_DOMAINS 256 /* Number of AP domains. */ macro
295 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long))
300 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
301 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
Dvfio_ap_private.h124 DECLARE_BITMAP(aqm_add, AP_DOMAINS);
125 DECLARE_BITMAP(adm_add, AP_DOMAINS);
Dap_bus.c869 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv()
900 for (queue = 0; !rc && queue < AP_DOMAINS; queue++) in ap_apqn_in_matrix_owned_by_def_drv()
1482 unsigned long reserved[BITS_TO_LONGS(AP_DOMAINS)]; in aqmask_commit()
1488 if (bitmap_andnot(reserved, newaqm, ap_perms.aqm, AP_DOMAINS)) { in aqmask_commit()
1504 DECLARE_BITMAP(newaqm, AP_DOMAINS); in aqmask_store()
1509 rc = ap_parse_bitmap_str(buf, ap_perms.aqm, AP_DOMAINS, newaqm); in aqmask_store()
2221 ap_parse_mask_str(aqm_str, ap_perms.aqm, AP_DOMAINS, in ap_perms_init()
Dzcrypt_api.c258 AP_DOMAINS, &ap_perms_mutex); in aqmask_store()
295 AP_DOMAINS, &ap_perms_mutex); in admask_store()
870 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
885 if (tdom < AP_DOMAINS && in _zcrypt_send_cprb()
1239 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask()
1264 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask_ext()