| /Linux-v6.6/drivers/vfio/pci/pds/ |
| D | dirty.c | 35 u8 max_regions) in pds_vfio_print_guest_region_info() argument 37 int len = max_regions * sizeof(struct pds_lm_dirty_region_info); in pds_vfio_print_guest_region_info() 45 region_info = kcalloc(max_regions, in pds_vfio_print_guest_region_info() 56 err = pds_vfio_dirty_status_cmd(pds_vfio, regions_dma, &max_regions, in pds_vfio_print_guest_region_info() 188 u8 max_regions = 0, num_regions; in pds_vfio_dirty_enable() local 202 err = pds_vfio_dirty_status_cmd(pds_vfio, 0, &max_regions, in pds_vfio_dirty_enable() 213 } else if (!max_regions) { in pds_vfio_dirty_enable() 216 max_regions); in pds_vfio_dirty_enable() 229 max_regions = 1; in pds_vfio_dirty_enable() 230 if (num_ranges > max_regions) { in pds_vfio_dirty_enable() [all …]
|
| D | cmds.c | 388 u64 regions_dma, u8 *max_regions, u8 *num_regions) in pds_vfio_dirty_status_cmd() argument 403 cmd.lm_dirty_status.max_regions = *max_regions; in pds_vfio_dirty_status_cmd() 419 *max_regions = comp.lm_dirty_status.max_regions; in pds_vfio_dirty_status_cmd() 423 *max_regions, *num_regions, "PDS_LM_DIRTY_BMP_TYPE_SEQ_ACK"); in pds_vfio_dirty_status_cmd()
|
| D | cmds.h | 17 u64 regions_dma, u8 *max_regions,
|
| /Linux-v6.6/drivers/pci/controller/ |
| D | pcie-rockchip-ep.c | 43 u32 max_regions; member 256 for (r = 0; r < ep->max_regions; r++) in rockchip_pcie_ep_unmap_addr() 260 if (r == ep->max_regions) in rockchip_pcie_ep_unmap_addr() 483 &ep->max_regions); in rockchip_pcie_parse_ep_dt() 484 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt() 485 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt() 508 size_t max_regions; in rockchip_pcie_ep_probe() local 546 max_regions = ep->max_regions; in rockchip_pcie_ep_probe() 547 ep->ob_addr = devm_kcalloc(dev, max_regions, sizeof(*ep->ob_addr), in rockchip_pcie_ep_probe() 558 windows = devm_kcalloc(dev, ep->max_regions, in rockchip_pcie_ep_probe() [all …]
|
| /Linux-v6.6/drivers/misc/sgi-xp/ |
| D | xpc_partition.c | 422 int max_regions; in xpc_discovery() local 448 max_regions = 256; in xpc_discovery() 450 max_regions = 64; in xpc_discovery() 454 max_regions *= 2; in xpc_discovery() 457 max_regions *= 2; in xpc_discovery() 460 max_regions *= 2; in xpc_discovery() 465 for (region = 0; region < max_regions; region++) { in xpc_discovery()
|
| /Linux-v6.6/arch/arm/mm/ |
| D | pmsa-v8.c | 128 static int max_regions; in __mpu_max_regions() local 131 if (max_regions) in __mpu_max_regions() 132 return max_regions; in __mpu_max_regions() 136 max_regions = (mpuir & MPUIR_DREGION_SZMASK) >> MPUIR_DREGION; in __mpu_max_regions() 138 return max_regions; in __mpu_max_regions()
|
| /Linux-v6.6/drivers/pci/controller/cadence/ |
| D | pcie-cadence-ep.c | 191 if (r >= ep->max_regions - 1) { in cdns_pcie_ep_map_addr() 212 for (r = 0; r < ep->max_regions - 1; r++) in cdns_pcie_ep_unmap_addr() 216 if (r == ep->max_regions - 1) in cdns_pcie_ep_unmap_addr() 667 ep->max_regions = CDNS_PCIE_MAX_OB; in cdns_pcie_ep_setup() 668 of_property_read_u32(np, "cdns,max-outbound-regions", &ep->max_regions); in cdns_pcie_ep_setup() 671 ep->max_regions, sizeof(*ep->ob_addr), in cdns_pcie_ep_setup()
|
| D | pcie-cadence.h | 369 u32 max_regions; member
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum2_acl_tcam.c | 84 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init() 110 for (i = 0; i < _tcam->max_regions; i++) { in mlxsw_sp2_acl_tcam_init()
|
| D | spectrum_acl_tcam.c | 62 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get() 63 if (id < tcam->max_regions) { in mlxsw_sp_acl_tcam_region_id_get() 1530 u64 max_regions; in mlxsw_sp_acl_tcam_init() local 1545 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_tcam_init() 1548 if (max_tcam_regions < max_regions) in mlxsw_sp_acl_tcam_init() 1549 max_regions = max_tcam_regions; in mlxsw_sp_acl_tcam_init() 1551 tcam->used_regions = bitmap_zalloc(max_regions, GFP_KERNEL); in mlxsw_sp_acl_tcam_init() 1556 tcam->max_regions = max_regions; in mlxsw_sp_acl_tcam_init()
|
| D | spectrum_acl_atcam.c | 280 u64 max_regions; in mlxsw_sp_acl_atcam_region_associate() local 282 max_regions = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_REGIONS); in mlxsw_sp_acl_atcam_region_associate() 283 if (hw_region >= max_regions) in mlxsw_sp_acl_atcam_region_associate()
|
| D | spectrum_acl_tcam.h | 16 unsigned int max_regions; member
|
| D | cmd.h | 742 MLXSW_ITEM32(cmd_mbox, config_profile, max_regions, 0x2C, 0, 16);
|
| D | core.h | 320 u16 max_regions; member
|
| D | pci.c | 1227 mbox, profile->max_regions); in mlxsw_pci_config_profile()
|
| /Linux-v6.6/include/linux/pds/ |
| D | pds_adminq.h | 1037 u8 max_regions; member 1071 u8 max_regions; member
|
| /Linux-v6.6/fs/ocfs2/cluster/ |
| D | heartbeat.c | 2510 int o2hb_get_all_regions(char *region_uuids, u8 max_regions) in o2hb_get_all_regions() argument 2524 if (numregs < max_regions) { in o2hb_get_all_regions()
|