Home
last modified time | relevance | path

Searched refs:map_lock (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/media/platform/nvidia/tegra-vde/
Ddmabuf-cache.c58 mutex_lock(&vde->map_lock); in tegra_vde_delayed_unmap()
60 mutex_unlock(&vde->map_lock); in tegra_vde_delayed_unmap()
76 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
148 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
159 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
170 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
187 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
194 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
206 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
213 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_all()
[all …]
Dvde.h106 struct mutex map_lock; member
Dvde.c328 mutex_init(&vde->map_lock); in tegra_vde_probe()
/linux-6.12.1/drivers/pci/controller/
Dpcie-xilinx.c107 struct mutex map_lock; member
232 mutex_lock(&pcie->map_lock); in xilinx_msi_domain_alloc()
236 mutex_unlock(&pcie->map_lock); in xilinx_msi_domain_alloc()
255 mutex_lock(&pcie->map_lock); in xilinx_msi_domain_free()
259 mutex_unlock(&pcie->map_lock); in xilinx_msi_domain_free()
576 mutex_init(&pcie->map_lock); in xilinx_pcie_probe()
Dpcie-rcar-host.c39 struct mutex map_lock; member
686 mutex_lock(&msi->map_lock); in rcar_msi_domain_alloc()
690 mutex_unlock(&msi->map_lock); in rcar_msi_domain_alloc()
709 mutex_lock(&msi->map_lock); in rcar_msi_domain_free()
713 mutex_unlock(&msi->map_lock); in rcar_msi_domain_free()
767 mutex_init(&msi->map_lock); in rcar_pcie_enable_msi()
Dpci-tegra.c271 struct mutex map_lock; member
1656 mutex_lock(&msi->map_lock); in tegra_msi_domain_alloc()
1660 mutex_unlock(&msi->map_lock); in tegra_msi_domain_alloc()
1681 mutex_lock(&msi->map_lock); in tegra_msi_domain_free()
1685 mutex_unlock(&msi->map_lock); in tegra_msi_domain_free()
1738 mutex_init(&msi->map_lock); in tegra_pcie_msi_setup()
Dpci-hyperv.c733 struct mutex map_lock; member
769 mutex_lock(&chip_data->map_lock); in hv_pci_vec_irq_free()
773 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_irq_free()
798 mutex_lock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
802 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
900 mutex_init(&chip_data->map_lock); in hv_pci_irqchip_init()
/linux-6.12.1/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c162 spin_lock_bh(&ppm->map_lock); in ppm_get_entries()
167 spin_unlock_bh(&ppm->map_lock); in ppm_get_entries()
179 spin_unlock_bh(&ppm->map_lock); in ppm_get_entries()
213 spin_lock_bh(&ppm->map_lock); in ppm_unmark_entries()
220 spin_unlock_bh(&ppm->map_lock); in ppm_unmark_entries()
468 spin_lock_init(&ppm->map_lock); in cxgbi_ppm_init()
Dlibcxgb_ppm.h143 spinlock_t map_lock; /* ppm map lock */ member
/linux-6.12.1/drivers/net/dsa/realtek/
Drtl83xx.c26 mutex_lock(&priv->map_lock); in rtl83xx_lock()
43 mutex_unlock(&priv->map_lock); in rtl83xx_unlock()
157 mutex_init(&priv->map_lock); in rtl83xx_probe()
Drealtek.h59 struct mutex map_lock; member
/linux-6.12.1/drivers/misc/genwqe/
Dcard_dev.c125 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_add_mapping()
127 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_add_mapping()
135 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_del_mapping()
137 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_del_mapping()
160 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_search_mapping()
176 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_search_mapping()
180 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_search_mapping()
313 spin_lock_init(&cfile->map_lock); /* list of raw memory allocations */ in genwqe_open()
Dcard_base.h406 spinlock_t map_lock; /* lock for dma_mappings */ member
/linux-6.12.1/drivers/md/
Ddm-zoned-metadata.c193 struct mutex map_lock; member
363 mutex_lock(&zmd->map_lock); in dmz_lock_map()
368 mutex_unlock(&zmd->map_lock); in dmz_unlock_map()
2835 mutex_destroy(&zmd->map_lock); in dmz_cleanup_metadata()
2890 mutex_init(&zmd->map_lock); in dmz_ctr_metadata()