Home
last modified time | relevance | path

Searched refs:new_igroup (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/iommu/iommufd/
Ddevice.c63 struct iommufd_group *new_igroup; in iommufd_get_group() local
84 new_igroup = kzalloc(sizeof(*new_igroup), GFP_KERNEL); in iommufd_get_group()
85 if (!new_igroup) { in iommufd_get_group()
90 kref_init(&new_igroup->ref); in iommufd_get_group()
91 mutex_init(&new_igroup->lock); in iommufd_get_group()
92 INIT_LIST_HEAD(&new_igroup->device_list); in iommufd_get_group()
93 new_igroup->sw_msi_start = PHYS_ADDR_MAX; in iommufd_get_group()
95 new_igroup->group = group; in iommufd_get_group()
101 new_igroup->ictx = ictx; in iommufd_get_group()
110 igroup = __xa_cmpxchg(&ictx->groups, id, cur_igroup, new_igroup, in iommufd_get_group()
[all …]