Searched refs:dev_cnt (Results 1 – 6 of 6) sorted by relevance
44 int dev_cnt; member
45 int dev_cnt; member
519 pd->dev_cnt++; in usnic_uiom_attach_dev_to_pd()552 pd->dev_cnt--; in usnic_uiom_detach_dev_from_pd()565 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
606 int dev_cnt; in sensor_hub_probe() local638 dev_cnt = sensor_hub_get_physical_device_count(hdev); in sensor_hub_probe()639 if (dev_cnt > HID_MAX_PHY_DEVICES) { in sensor_hub_probe()644 sd->hid_sensor_hub_client_devs = devm_kzalloc(&hdev->dev, dev_cnt * in sensor_hub_probe()
421 unsigned dev_cnt; /* devices assigned to this domain */ member
2124 domain->dev_cnt += 1; in do_attach()2138 dev_data->domain->dev_cnt -= 1; in do_detach()3284 if (domain->dev_cnt > 0) in amd_iommu_domain_free()3287 BUG_ON(domain->dev_cnt != 0); in amd_iommu_domain_free()3530 if (domain->dev_cnt > 0 || domain->flags & PD_IOMMUV2_MASK) in amd_iommu_domain_enable_v2()