Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/vfio/vfio_main.c vfio_device_fops_release() -> vfio_df_group_close()

Type Parameter Key Value
PARAM_VALUE 0 df 4096-ptr_max
PARAM_VALUE 0 df->group 1-u64max
BUF_SIZE 0 df (-1),26
BUF_SIZE 0 df (-1),26
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vfio/group.c vfio_device_open_file() -> vfio_df_group_close()

Type Parameter Key Value
PARAM_VALUE 0 df 4096-ptr_max
PARAM_VALUE 0 df->access_granted 1
PARAM_VALUE 0 df->device 4096-ptr_max
PARAM_VALUE 0 df->device->dev->driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 df->device->dev->iommu_group->devices_kobj->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 df->device->dev->iommu_group->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 df->device->dev->iommu_group->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 df->device->dev->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 df->device->dev_set->lock.dep_map->name 0-255
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 df->device->dev_set->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 df->device->dev_set->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 df->device->group 4096-ptr_max
PARAM_VALUE 0 df->device->group->container->iommu_data->device_list_lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 df->device->group->container->iommu_data->device_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 df->device->group->container->iommu_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 df->device->group->container->iommu_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 df->device->group->container->iommu_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 df->device->group->group_lock.dep_map->name 0-255
PARAM_VALUE 0 df->device->group->group_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 df->device->group->group_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 df->device->group->group_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 df->device->group->group_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 df->device->group->group_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 df->device->group->group_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 df->device->group->kvm_ref_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 df->device->iommu_entry.next 4096-ptr_max
PARAM_VALUE 0 df->device->iommu_entry.next->prev 4096-ptr_max
PARAM_VALUE 0 df->device->iommu_entry.prev 4096-ptr_max
PARAM_VALUE 0 df->device->iommufd_access 4096-ptr_max
PARAM_VALUE 0 df->device->iommufd_device 4096-ptr_max
PARAM_VALUE 0 df->device->kvm 1-u64max
PARAM_VALUE 0 df->device->pasids.xa.xa_flags 33554437
PARAM_VALUE 0 df->device->pasids.xa.xa_head 0
PARAM_VALUE 0 df->device->put_kvm 1-u64max
PARAM_VALUE 0 df->device->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 df->iommufd->vfio_ioas->obj.users.refs.counter s32min-s32max
PARAM_VALUE 0 df->iommufd->vfio_ioas->obj.wait_cnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 *df->device->dev->iommu_group->owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 df 112
DATA_SOURCE 0 df r vfio_allocate_device_file
NOCHECK_CALL