linux/drivers/vfio/pci
Alex Williamson b0eab97305 vfio/virtio: Use guard() for bar_mutex in legacy I/O
Convert the bar_mutex acquisition in virtiovf_issue_legacy_rw_cmd()
to use guard(), eliminating the out label and goto-based error paths
in favor of direct returns.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Alex Williamson <alex.williamson@nvidia.com>
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20260414200625.3601509-5-alex.williamson@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
2026-04-21 12:01:21 -06:00
..
hisilicon vfio: Adapt drivers to use the core helper vfio_check_precopy_ioctl 2026-03-19 12:32:09 -06:00
ism vfio/ism: Implement vfio_pci driver for ISM devices 2026-04-01 15:51:21 -06:00
mlx5 vfio/mlx5: Add REINIT support to VFIO_MIG_GET_PRECOPY_INFO 2026-03-19 12:32:10 -06:00
nvgrace-gpu * Reuse common phys_vec, phase out dma_buf_phys_vec 2026-01-19 10:25:24 -07:00
pds Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
qat vfio/qat: add support for Intel QAT 420xx VFs 2026-03-23 16:18:18 -06:00
virtio vfio/virtio: Use guard() for bar_mutex in legacy I/O 2026-04-21 12:01:21 -06:00
xe VFIO updates for v7.1-rc1 2026-04-16 08:01:16 -07:00
Kconfig vfio/ism: Implement vfio_pci driver for ISM devices 2026-04-01 15:51:21 -06:00
Makefile vfio/ism: Implement vfio_pci driver for ISM devices 2026-04-01 15:51:21 -06:00
trace.h
vfio_pci_config.c vfio/pci: Rename vfio_config_do_rw() to vfio_pci_config_rw_single() and export it 2026-04-01 15:41:02 -06:00
vfio_pci_core.c vfio/pci: Clean up DMABUFs before disabling function 2026-04-21 12:01:20 -06:00
vfio_pci_dmabuf.c Linux 7.0-rc6 2026-03-31 07:51:02 +10:00
vfio_pci_igd.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
vfio_pci_intrs.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
vfio_pci_priv.h vfio/pci: Rename vfio_config_do_rw() to vfio_pci_config_rw_single() and export it 2026-04-01 15:41:02 -06:00
vfio_pci_rdwr.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
vfio_pci_zdev.c Merge remote-tracking branch 'mlx5/mlx5-vfio' into v6.1/vfio/next 2022-09-08 10:44:34 -06:00
vfio_pci.c [v9] vfio/pci: Allow MMIO regions to be exported through dma-buf 2025-11-20 21:20:00 -07:00