Searched refs:dev_cnt (Results 1 – 6 of 6) sorted by relevance
44 int dev_cnt; member
60 int dev_cnt; member
518 pd->dev_cnt++; in usnic_uiom_attach_dev_to_pd()551 pd->dev_cnt--; in usnic_uiom_detach_dev_from_pd()564 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
620 int dev_cnt; in sensor_hub_probe() local652 dev_cnt = sensor_hub_get_physical_device_count(hdev); in sensor_hub_probe()653 if (dev_cnt > HID_MAX_PHY_DEVICES) { in sensor_hub_probe()658 sd->hid_sensor_hub_client_devs = devm_kzalloc(&hdev->dev, dev_cnt * in sensor_hub_probe()
422 unsigned dev_cnt; /* devices assigned to this domain */ member
1968 domain->dev_cnt += 1; in do_attach()1997 dev_data->domain->dev_cnt -= 1; in do_detach()2979 if (domain->dev_cnt > 0) in amd_iommu_domain_free()2982 BUG_ON(domain->dev_cnt != 0); in amd_iommu_domain_free()3244 if (domain->dev_cnt > 0 || domain->flags & PD_IOMMUV2_MASK) in amd_iommu_domain_enable_v2()