Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpio/gpiolib-cdev.c, line 2497
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 972
- drivers/vfio/pci/vfio_pci_dmabuf.c
- fs/file.c, line 1015
- virt/kvm/guest_memfd.c, line 347
Smatch caller information:
arch/x86/kvm/../../../virt/kvm/guest_memfd.c kvm_gmem_get_file() -> get_file_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpiolib-cdev.c lineinfo_changed_notify() -> get_file_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
drivers/vfio/pci/vfio_pci_dmabuf.c vfio_pci_dma_buf_cleanup() -> get_file_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->dev_set->lock | ||
| LOCK2 | &vdev->memory_lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock | ||
| TYPE_LOCK | (struct vfio_pci_core_device)->memory_lock |
drivers/vfio/pci/vfio_pci_dmabuf.c vfio_pci_dma_buf_move() -> get_file_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev_set->lock | ||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->memory_lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c mmap_singleton() -> get_file_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock |