Searched refs:AP_DOMAINS (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 652 DECLARE_BITMAP(prev_shadow_adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms() 654 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms() 656 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms() 659 AP_DOMAINS); in vfio_ap_mdev_filter_cdoms() 704 DECLARE_BITMAP(prev_shadow_aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix() 707 bitmap_copy(prev_shadow_aqm, matrix_mdev->shadow_apcb.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix() 719 (unsigned long *)matrix_dev->info.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix() 723 AP_DOMAINS) { in vfio_ap_mdev_filter_matrix() 752 AP_DOMAINS); in vfio_ap_mdev_filter_matrix() 829 AP_DOMAINS) { in vfio_ap_mdev_unlink_fr_queues() [all …]
|
D | vfio_ap_private.h | 80 DECLARE_BITMAP(aqm, AP_DOMAINS); 82 DECLARE_BITMAP(adm, AP_DOMAINS); 124 DECLARE_BITMAP(aqm_add, AP_DOMAINS); 125 DECLARE_BITMAP(adm_add, AP_DOMAINS);
|
D | ap_bus.h | 23 #define AP_DOMAINS 256 /* Number of AP domains. */ macro 285 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long)) 290 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)]; 291 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
|
D | ap_bus.c | 830 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv() 861 for (queue = 0; !rc && queue < AP_DOMAINS; queue++) in ap_apqn_in_matrix_owned_by_def_drv() 1504 unsigned long reserved[BITS_TO_LONGS(AP_DOMAINS)]; in aqmask_commit() 1510 if (bitmap_andnot(reserved, newaqm, ap_perms.aqm, AP_DOMAINS)) { in aqmask_commit() 1526 DECLARE_BITMAP(newaqm, AP_DOMAINS); in aqmask_store() 1531 rc = ap_parse_bitmap_str(buf, ap_perms.aqm, AP_DOMAINS, newaqm); in aqmask_store() 2192 unsigned long m[BITS_TO_LONGS(AP_DOMAINS)]; in ap_config_has_new_doms() 2198 (unsigned long *)ap_qci_info_old->aqm, AP_DOMAINS); in ap_config_has_new_doms() 2199 if (!bitmap_empty(m, AP_DOMAINS)) in ap_config_has_new_doms() 2408 ap_parse_mask_str(aqm_str, ap_perms.aqm, AP_DOMAINS, in ap_perms_init()
|
D | zcrypt_api.c | 256 AP_DOMAINS, &ap_perms_mutex); in aqmask_store() 293 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() 1284 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask() 1306 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask_ext()
|