Searched refs:AP_DEVICES (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | vfio_ap_ops.c | 685 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 689 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 692 bitmap_clear(apm_filtered, 0, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 700 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix() 704 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix() 734 AP_DEVICES) || in vfio_ap_mdev_filter_matrix() 810 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues() 848 for_each_set_bit_inv(apid, apm, AP_DEVICES) in vfio_ap_mdev_log_sharing_err() 869 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing() 889 AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing() [all...] |
H A D | ap_bus.h | 22 #define AP_DEVICES 256 /* Number of AP devices. */ macro 295 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long)) 300 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)]; 335 * as DECLARE_BITMAP(apm, AP_DEVICES), the aqm parameter is
|
H A D | vfio_ap_private.h | 123 DECLARE_BITMAP(apm_add, AP_DEVICES);
|
H A D | zcrypt_api.c | 221 AP_DEVICES, &ap_perms_mutex); in apmask_store() 1588 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1590 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl() 1596 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1598 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1606 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl() 1609 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl() 1611 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()
|
H A D | ap_bus.c | 869 if (card < 0 || card >= AP_DEVICES || queue < 0 || queue >= AP_DOMAINS) in ap_owned_by_def_drv() 897 for (card = 0; !rc && card < AP_DEVICES; card++) in ap_apqn_in_matrix_owned_by_def_drv() 1394 unsigned long reserved[BITS_TO_LONGS(AP_DEVICES)]; in apmask_commit() 1400 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit() 1416 DECLARE_BITMAP(newapm, AP_DEVICES); in apmask_store() 1421 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store() 2217 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | ap_bus.h | 22 #define AP_DEVICES 256 /* Number of AP devices. */ macro 292 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)]; 325 * as DECLARE_BITMAP(apm, AP_DEVICES), the aqm parameter is
|
H A D | zcrypt_api.c | 238 AP_DEVICES, &ap_perms_mutex); in apmask_store() 1623 char status[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1625 zcrypt_status_mask(status, AP_DEVICES); in zcrypt_unlocked_ioctl() 1631 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() 1633 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1641 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl() 1644 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl() 1646 sizeof(u32) * AP_DEVICES)) in zcrypt_unlocked_ioctl()
|
H A D | ap_bus.c | 634 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()
|
H A D | vfio_ap_ops.c | 540 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()
|
Completed in 16 milliseconds