diff options
| author | Kevin Tian <kevin.tian@intel.com> | 2022-09-21 18:44:00 +0800 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2022-09-21 14:15:11 -0600 |
| commit | 4a725b8de4cc5e88c00f7607d9ba0e97151251e5 (patch) | |
| tree | 81e7172c09fbcfbbe09cc9c61bc71ef785507b9d /tools/perf/scripts/python/syscall-counts.py | |
| parent | ebb72b765fb49685c4603d2bff47a4ab5d2580a9 (diff) | |
vfio: Rename vfio_device_put() and vfio_device_try_get()
With the addition of vfio_put_device() now the names become confusing.
vfio_put_device() is clear from object life cycle p.o.v given kref.
vfio_device_put()/vfio_device_try_get() are helpers for tracking
users on a registered device.
Now rename them:
- vfio_device_put() -> vfio_device_put_registration()
- vfio_device_try_get() -> vfio_device_try_get_registration()
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20220921104401.38898-15-kevin.tian@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
