Home
last modified time | relevance | path

Searched refs:srcu (Results 1 – 16 of 16) sorted by relevance

/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c132 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_wlan_get_num_conn_ifcs()
137 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_wlan_get_num_conn_ifcs()
164 srcu_idx = srcu_read_lock(&wl->srcu); in wilc_txq_task()
170 srcu_read_unlock(&wl->srcu, srcu_idx); in wilc_txq_task()
649 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_set_mac_addr()
654 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_set_mac_addr()
657 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_set_mac_addr()
661 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_set_mac_addr()
752 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_mac_xmit()
757 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_mac_xmit()
[all …]
Dcfg80211.c242 srcu_idx = srcu_read_lock(&wl->srcu); in set_channel()
245 srcu_read_unlock(&wl->srcu, srcu_idx); in set_channel()
256 srcu_read_unlock(&wl->srcu, srcu_idx); in set_channel()
798 srcu_idx = srcu_read_lock(&wl->srcu); in set_wiphy_params()
853 srcu_read_unlock(&wl->srcu, srcu_idx); in set_wiphy_params()
1501 srcu_idx = srcu_read_lock(&wl->srcu); in add_virtual_intf()
1506 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf()
1512 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf()
1520 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf()
1525 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf()
[all …]
Dnetdev.h222 struct srcu_struct srcu; member
Dwlan.c719 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_wlan_handle_txq()
722 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_wlan_handle_txq()
/drivers/nvme/host/
Dmultipath.c156 srcu_idx = srcu_read_lock(&head->srcu); in nvme_mpath_revalidate_paths()
161 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_mpath_revalidate_paths()
287 ns = srcu_dereference(head->current_path[node], &head->srcu); in nvme_find_path()
335 srcu_idx = srcu_read_lock(&head->srcu); in nvme_ns_head_submit_bio()
356 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_submit_bio()
380 srcu_idx = srcu_read_lock(&head->srcu); in nvme_ns_head_report_zones()
384 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_report_zones()
518 srcu_idx = srcu_read_lock(&head->srcu); in nvme_mpath_set_live()
521 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_mpath_set_live()
525 synchronize_srcu(&head->srcu); in nvme_mpath_set_live()
Dioctl.c375 __releases(&head->srcu) in nvme_ns_head_ctrl_ioctl()
381 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_ctrl_ioctl()
396 srcu_idx = srcu_read_lock(&head->srcu); in nvme_ns_head_ioctl()
411 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_ioctl()
425 srcu_idx = srcu_read_lock(&head->srcu); in nvme_ns_head_chr_ioctl()
435 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_chr_ioctl()
Dcore.c572 cleanup_srcu_struct(&head->srcu); in nvme_free_ns_head()
2032 int srcu_idx = srcu_read_lock(&head->srcu); in nvme_send_ns_head_pr_command()
2040 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_send_ns_head_pr_command()
3743 ret = init_srcu_struct(&head->srcu); in nvme_alloc_ns_head()
3769 cleanup_srcu_struct(&head->srcu); in nvme_alloc_ns_head()
3970 synchronize_srcu(&ns->head->srcu); in nvme_ns_remove()
3974 synchronize_srcu(&ns->head->srcu); in nvme_ns_remove()
Dnvme.h422 struct srcu_struct srcu; member
/drivers/pci/controller/
Dvmd.c104 struct srcu_struct srcu; member
275 synchronize_srcu(&vmdirq->irq->srcu); in vmd_msi_free()
618 idx = srcu_read_lock(&irqs->srcu); in vmd_irq()
621 srcu_read_unlock(&irqs->srcu, idx); in vmd_irq()
646 err = init_srcu_struct(&vmd->irqs[i].srcu); in vmd_alloc_irqs()
869 cleanup_srcu_struct(&vmd->irqs[i].srcu); in vmd_cleanup_srcu()
/drivers/gpu/drm/i915/gt/
Dintel_reset.h41 int __must_check intel_gt_reset_trylock(struct intel_gt *gt, int *srcu);
Dintel_reset.c1442 int intel_gt_reset_trylock(struct intel_gt *gt, int *srcu) in intel_gt_reset_trylock() argument
1458 *srcu = srcu_read_lock(&gt->reset.backoff_srcu); in intel_gt_reset_trylock()
/drivers/platform/surface/aggregator/
Dcontroller.c153 idx = srcu_read_lock(&nh->srcu); in ssam_nfblk_call_chain()
156 srcu_read_lock_held(&nh->srcu)) { in ssam_nfblk_call_chain()
164 srcu_read_unlock(&nh->srcu, idx); in ssam_nfblk_call_chain()
251 status = init_srcu_struct(&nh->srcu); in ssam_nf_head_init()
265 cleanup_srcu_struct(&nh->srcu); in ssam_nf_head_destroy()
2316 synchronize_srcu(&nf_head->srcu); in ssam_notifier_register()
2384 synchronize_srcu(&nf_head->srcu); in ssam_notifier_unregister()
Dcontroller.h55 struct srcu_struct srcu; member
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1802 idx = srcu_read_lock(&kvm->srcu); in kvmgt_page_track_add()
1805 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_page_track_add()
1819 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_page_track_add()
1836 idx = srcu_read_lock(&kvm->srcu); in kvmgt_page_track_remove()
1839 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_page_track_remove()
1853 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_page_track_remove()
2199 idx = srcu_read_lock(&kvm->srcu); in kvmgt_is_valid_gfn()
2201 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_is_valid_gfn()
/drivers/crypto/
Dhifn_795x.c388 volatile int cmdu, srcu, dstu, resu; member
903 dma->cmdu = dma->srcu = dma->dstu = dma->resu = 0; in hifn_init_dma()
1255 dma->srcu++; in hifn_setup_src_desc()
1719 dma->cmdu, dma->srcu, dma->dstu, dma->resu, in hifn_clear_rings()
1740 i = dma->srck; u = dma->srcu; in hifn_clear_rings()
1748 dma->srck = i; dma->srcu = u; in hifn_clear_rings()
1773 dma->cmdu, dma->srcu, dma->dstu, dma->resu, in hifn_clear_rings()
1793 if (dma->srcu == 0 && (dev->flags & HIFN_FLAG_SRC_BUSY)) { in hifn_work()
1861 dma->cmdu, dma->srcu, dma->dstu, dma->resu); in hifn_interrupt()
/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c304 int srcu; in vm_fault_gtt() local
330 ret = intel_gt_reset_trylock(ggtt->vm.gt, &srcu); in vm_fault_gtt()
414 intel_gt_reset_unlock(ggtt->vm.gt, srcu); in vm_fault_gtt()