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_file_enforced_coherent() -> vfio_group_from_file()

Type Parameter Key Value
DATA_SOURCE 0 file $0

drivers/vfio/vfio_main.c vfio_file_is_valid() -> vfio_group_from_file()

Type Parameter Key Value
DATA_SOURCE 0 file $0

drivers/vfio/vfio_main.c vfio_file_set_kvm() -> vfio_group_from_file()

Type Parameter Key Value
DATA_SOURCE 0 file $0

drivers/vfio/group.c vfio_file_has_dev() -> vfio_group_from_file()

Type Parameter Key Value
DATA_SOURCE 0 file $0
LOCK2 &dev_set->lock
HALF_LOCKED2 &vdev->memory_lock
TYPE_LOCK (struct vfio_device_set)->lock

drivers/vfio/group.c vfio_file_iommu_group() -> vfio_group_from_file()

Type Parameter Key Value
DATA_SOURCE 0 file $0

drivers/vfio/group.c vfio_file_is_group() -> vfio_group_from_file()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $0