Home
last modified time | relevance | path

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

/drivers/staging/media/tegra-vde/
Ddmabuf-cache.c55 mutex_lock(&vde->map_lock); in tegra_vde_delayed_unmap()
57 mutex_unlock(&vde->map_lock); in tegra_vde_delayed_unmap()
73 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
145 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
156 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
167 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
184 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
191 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
203 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
210 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_all()
[all …]
Dvde.h38 struct mutex map_lock; member
Dvde.c1042 mutex_init(&vde->map_lock); in tegra_vde_probe()
/drivers/dma/ipu/
Dipu_irq.c78 static DEFINE_MUTEX(map_lock);
200 mutex_lock(&map_lock); in ipu_irq_map()
224 mutex_unlock(&map_lock); in ipu_irq_map()
243 mutex_lock(&map_lock); in ipu_irq_unmap()
260 mutex_unlock(&map_lock); in ipu_irq_unmap()
/drivers/pci/controller/
Dpcie-xilinx.c110 struct mutex map_lock; member
245 mutex_lock(&port->map_lock); in xilinx_msi_domain_alloc()
249 mutex_unlock(&port->map_lock); in xilinx_msi_domain_alloc()
268 mutex_lock(&port->map_lock); in xilinx_msi_domain_free()
272 mutex_unlock(&port->map_lock); in xilinx_msi_domain_free()
589 mutex_init(&port->map_lock); in xilinx_pcie_probe()
Dpcie-rcar-host.c38 struct mutex map_lock; member
601 mutex_lock(&msi->map_lock); in rcar_msi_domain_alloc()
605 mutex_unlock(&msi->map_lock); in rcar_msi_domain_alloc()
624 mutex_lock(&msi->map_lock); in rcar_msi_domain_free()
628 mutex_unlock(&msi->map_lock); in rcar_msi_domain_free()
682 mutex_init(&msi->map_lock); in rcar_pcie_enable_msi()
Dpci-tegra.c271 struct mutex map_lock; member
1672 mutex_lock(&msi->map_lock); in tegra_msi_domain_alloc()
1676 mutex_unlock(&msi->map_lock); in tegra_msi_domain_alloc()
1697 mutex_lock(&msi->map_lock); in tegra_msi_domain_free()
1701 mutex_unlock(&msi->map_lock); in tegra_msi_domain_free()
1754 mutex_init(&msi->map_lock); in tegra_pcie_msi_setup()
/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
/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
/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()
2849 mutex_destroy(&zmd->map_lock); in dmz_cleanup_metadata()
2905 mutex_init(&zmd->map_lock); in dmz_ctr_metadata()