Home
last modified time | relevance | path

Searched refs:reflck (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c24 static void vfio_fsl_mc_reflck_get(struct vfio_fsl_mc_reflck *reflck) in vfio_fsl_mc_reflck_get() argument
26 kref_get(&reflck->kref); in vfio_fsl_mc_reflck_get()
31 struct vfio_fsl_mc_reflck *reflck = container_of(kref, in vfio_fsl_mc_reflck_release() local
35 mutex_destroy(&reflck->lock); in vfio_fsl_mc_reflck_release()
36 kfree(reflck); in vfio_fsl_mc_reflck_release()
40 static void vfio_fsl_mc_reflck_put(struct vfio_fsl_mc_reflck *reflck) in vfio_fsl_mc_reflck_put() argument
42 kref_put_mutex(&reflck->kref, vfio_fsl_mc_reflck_release, &reflck_lock); in vfio_fsl_mc_reflck_put()
47 struct vfio_fsl_mc_reflck *reflck; in vfio_fsl_mc_reflck_alloc() local
49 reflck = kzalloc(sizeof(*reflck), GFP_KERNE in vfio_fsl_mc_reflck_alloc()
[all...]
H A Dvfio_fsl_mc_intr.c123 mutex_lock(&vdev->reflck->lock); in vfio_fsl_mc_set_irq_trigger()
132 mutex_unlock(&vdev->reflck->lock); in vfio_fsl_mc_set_irq_trigger()
157 mutex_unlock(&vdev->reflck->lock); in vfio_fsl_mc_set_irq_trigger()
H A Dvfio_fsl_mc_private.h43 struct vfio_fsl_mc_reflck *reflck; member
/kernel/linux/linux-5.10/drivers/vfio/pci/
H A Dvfio_pci.c560 mutex_lock(&vdev->reflck->lock); in vfio_pci_release()
579 mutex_unlock(&vdev->reflck->lock); in vfio_pci_release()
592 mutex_lock(&vdev->reflck->lock); in vfio_pci_open()
604 mutex_unlock(&vdev->reflck->lock); in vfio_pci_open()
1912 static void vfio_pci_reflck_put(struct vfio_pci_reflck *reflck);
2087 vfio_pci_reflck_put(vdev->reflck); in vfio_pci_probe()
2107 vfio_pci_reflck_put(vdev->reflck); in vfio_pci_remove()
2197 struct vfio_pci_reflck *reflck; in vfio_pci_reflck_alloc() local
2199 reflck = kzalloc(sizeof(*reflck), GFP_KERNE in vfio_pci_reflck_alloc()
2209 vfio_pci_reflck_get(struct vfio_pci_reflck *reflck) vfio_pci_reflck_get() argument
2260 struct vfio_pci_reflck *reflck = container_of(kref, vfio_pci_reflck_release() local
2268 vfio_pci_reflck_put(struct vfio_pci_reflck *reflck) vfio_pci_reflck_put() argument
[all...]
H A Dvfio_pci_private.h132 struct vfio_pci_reflck *reflck; member

Completed in 5 milliseconds