Searched refs:res_lock (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c46 spinlock_t res_lock; member in struct:usnic_vnic
117 spin_lock(&vnic->res_lock); usnic_vnic_dump()
134 spin_unlock(&vnic->res_lock); usnic_vnic_dump()
258 spin_lock(&vnic->res_lock); usnic_vnic_get_resources()
269 spin_unlock(&vnic->res_lock); usnic_vnic_get_resources()
284 spin_lock(&vnic->res_lock); usnic_vnic_put_resources()
291 spin_unlock(&vnic->res_lock); usnic_vnic_put_resources()
459 spin_lock_init(&vnic->res_lock); usnic_vnic_alloc()
/linux-4.4.14/arch/ia64/hp/common/
H A Dsba_iommu.c94 ** tightening the use of res_lock the resource bitmap and actual pdir are no
211 spinlock_t res_lock; /* protects the resource bitmap, but must be held when */ member in struct:ioc
220 /* than res_lock for bigger systems. */
502 spin_lock_irqsave(&ioc->res_lock, flags); sba_search_bitmap()
612 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_search_bitmap()
617 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_search_bitmap()
667 spin_lock(&ioc->res_lock); sba_alloc_range()
675 spin_unlock(&ioc->res_lock); sba_alloc_range()
968 spin_lock_irqsave(&ioc->res_lock, flags); sba_map_page()
971 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_map_page()
999 spin_lock_irqsave(&ioc->res_lock, flags); sba_map_page()
1001 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_map_page()
1097 spin_lock(&ioc->res_lock); sba_unmap_page()
1105 spin_unlock(&ioc->res_lock); sba_unmap_page()
1109 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_page()
1113 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_page()
1491 spin_lock_irqsave(&ioc->res_lock, flags);
1497 spin_unlock_irqrestore(&ioc->res_lock, flags);
1527 spin_lock_irqsave(&ioc->res_lock, flags);
1533 spin_unlock_irqrestore(&ioc->res_lock, flags);
1568 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_sg_attrs()
1570 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_sg_attrs()
1584 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_sg_attrs()
1586 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_sg_attrs()
1705 spin_lock_init(&ioc->res_lock); ioc_resource_init()
/linux-4.4.14/drivers/pwm/
H A Dpwm-lpc18xx-sct.c105 struct mutex res_lock; member in struct:lpc18xx_pwm_chip
133 mutex_lock(&lpc18xx_pwm->res_lock); lpc18xx_pwm_set_conflict_res()
145 mutex_unlock(&lpc18xx_pwm->res_lock); lpc18xx_pwm_set_conflict_res()
364 mutex_init(&lpc18xx_pwm->res_lock); lpc18xx_pwm_probe()
/linux-4.4.14/drivers/parisc/
H A Dsba_iommu.c732 spin_lock_irqsave(&ioc->res_lock, flags); sba_map_single()
776 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_map_single()
811 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_single()
847 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_single()
954 spin_lock_irqsave(&ioc->res_lock, flags); sba_map_sg()
1000 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_map_sg()
1036 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_sg()
1038 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_sg()
1054 spin_lock_irqsave(&ioc->res_lock, flags); sba_unmap_sg()
1056 spin_unlock_irqrestore(&ioc->res_lock, flags); sba_unmap_sg()
1964 spin_lock_init(&(sba_dev->ioc[i].res_lock)); sba_driver_callback()
H A Dccio-dma.c233 spinlock_t res_lock; member in struct:ioc
752 spin_lock_irqsave(&ioc->res_lock, flags); ccio_map_single()
783 spin_unlock_irqrestore(&ioc->res_lock, flags); ccio_map_single()
816 spin_lock_irqsave(&ioc->res_lock, flags); ccio_unmap_single()
825 spin_unlock_irqrestore(&ioc->res_lock, flags); ccio_unmap_single()
926 spin_lock_irqsave(&ioc->res_lock, flags); ccio_map_sg()
952 spin_unlock_irqrestore(&ioc->res_lock, flags); ccio_map_sg()
1327 spin_lock_init(&ioc->res_lock); ccio_ioc_init()
/linux-4.4.14/drivers/atm/
H A Dnicstar.c315 spin_lock_irqsave(&card->res_lock, flags); ns_read_sram()
320 spin_unlock_irqrestore(&card->res_lock, flags); ns_read_sram()
332 spin_lock_irqsave(&card->res_lock, flags); ns_write_sram()
342 spin_unlock_irqrestore(&card->res_lock, flags); ns_write_sram()
383 spin_lock_init(&card->res_lock); ns_init_card()
1027 spin_lock_irqsave(&card->res_lock, flags); push_rxbufs()
1035 spin_unlock_irqrestore(&card->res_lock, flags); push_rxbufs()
1429 spin_lock_irqsave(&card->res_lock, flags); ns_close()
1433 spin_unlock_irqrestore(&card->res_lock, flags); ns_close()
2721 spin_lock_irqsave(&card->res_lock, flags); ns_phy_put()
2726 spin_unlock_irqrestore(&card->res_lock, flags); ns_phy_put()
2736 spin_lock_irqsave(&card->res_lock, flags); ns_phy_get()
2742 spin_unlock_irqrestore(&card->res_lock, flags); ns_phy_get()
H A Dnicstar.h746 spinlock_t res_lock; /* Card resource lock */ member in struct:ns_dev
/linux-4.4.14/drivers/media/usb/au0828/
H A Dau0828.h68 /* au0828 resource types (used for res_get/res_lock etc */
/linux-4.4.14/arch/parisc/include/asm/
H A Dropes.h38 spinlock_t res_lock; member in struct:ioc
/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx.h505 /* em28xx resource types (used for res_get/res_lock etc */
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_dlm.h603 * first before taking res_lock.

Completed in 402 milliseconds