Searched refs:new_dev_set (Results 1 – 1 of 1) sorted by relevance
60 struct vfio_device_set *new_dev_set; in vfio_assign_device_set() local75 new_dev_set = kzalloc(sizeof(*new_dev_set), GFP_KERNEL); in vfio_assign_device_set()76 if (!new_dev_set) in vfio_assign_device_set()78 mutex_init(&new_dev_set->lock); in vfio_assign_device_set()79 INIT_LIST_HEAD(&new_dev_set->device_list); in vfio_assign_device_set()80 new_dev_set->set_id = set_id; in vfio_assign_device_set()83 dev_set = __xa_cmpxchg(&vfio_device_set_xa, idx, NULL, new_dev_set, in vfio_assign_device_set()86 dev_set = new_dev_set; in vfio_assign_device_set()90 kfree(new_dev_set); in vfio_assign_device_set()