/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
D | Makefile | 2 all: srcu.c store_buffering 6 modified_srcu_input = $(LINUX_SOURCE)/include/linux/srcu.h \ 7 $(LINUX_SOURCE)/kernel/rcu/srcu.c 9 modified_srcu_output = include/linux/srcu.h srcu.c 11 include/linux/srcu.h: srcu.c 13 srcu.c: modify_srcu.awk Makefile $(modified_srcu_input)
|
D | .gitignore | 2 srcu.c
|
/kernel/linux/linux-5.10/mm/ |
D | mmu_notifier.c | 23 DEFINE_STATIC_SRCU(srcu); 309 id = srcu_read_lock(&srcu); in mn_hlist_release() 311 srcu_read_lock_held(&srcu)) in mn_hlist_release() 334 srcu_read_unlock(&srcu, id); in mn_hlist_release() 345 synchronize_srcu(&srcu); in mn_hlist_release() 372 id = srcu_read_lock(&srcu); in __mmu_notifier_clear_flush_young() 375 srcu_read_lock_held(&srcu)) { in __mmu_notifier_clear_flush_young() 380 srcu_read_unlock(&srcu, id); in __mmu_notifier_clear_flush_young() 392 id = srcu_read_lock(&srcu); in __mmu_notifier_clear_young() 395 srcu_read_lock_held(&srcu)) { in __mmu_notifier_clear_young() [all …]
|
/kernel/linux/linux-5.10/tools/memory-model/ |
D | linux-kernel.bell | 38 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu 40 (* All srcu events *) 41 let Srcu = Srcu-lock | Srcu-unlock | Sync-srcu 60 let srcu-rscs = let rec 72 flag ~empty Srcu-lock \ domain(srcu-rscs) as unbalanced-srcu-locking 73 flag ~empty Srcu-unlock \ range(srcu-rscs) as unbalanced-srcu-locking 76 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep 79 flag ~empty different-values(srcu-rscs) as srcu-bad-nesting
|
D | linux-kernel.cat | 42 let gp = po ; [Sync-rcu | Sync-srcu] ; po? 47 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu | 112 let srcu-gp = [Sync-srcu] 114 let srcu-rscsi = srcu-rscs^-1 131 let rec rcu-order = rcu-gp | srcu-gp | 133 ((srcu-gp ; rcu-link ; srcu-rscsi) & loc) | 135 ((srcu-rscsi ; rcu-link ; srcu-gp) & loc) | 137 ((srcu-gp ; rcu-link ; rcu-order ; rcu-link ; srcu-rscsi) & loc) | 139 ((srcu-rscsi ; rcu-link ; rcu-order ; rcu-link ; srcu-gp) & loc) |
|
D | linux-kernel.def | 52 srcu_read_lock(X) __srcu{srcu-lock}(X) 53 srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); } 54 synchronize_srcu(X) { __srcu{sync-srcu}(X); } 55 synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); }
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | traps_32.c | 91 unsigned char __user *srcu, *dstu; in handle_unaligned_ins() local 113 srcu = (unsigned char __user *)*rm; in handle_unaligned_ins() 114 srcu += regs->regs[0]; in handle_unaligned_ins() 121 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() 164 srcu = (unsigned char __user *)*rm; in handle_unaligned_ins() 165 srcu += (instruction & 0x000F) << 2; in handle_unaligned_ins() 169 if (ma->from(dst, srcu, 4)) in handle_unaligned_ins() 175 srcu = (unsigned char __user *)*rm; in handle_unaligned_ins() 184 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() 206 srcu = (unsigned char __user *)*rm; in handle_unaligned_ins() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | pvtime.c | 25 idx = srcu_read_lock(&kvm->srcu); in kvm_update_stolen_time() 32 srcu_read_unlock(&kvm->srcu, idx); in kvm_update_stolen_time() 67 idx = srcu_read_lock(&kvm->srcu); in kvm_init_stolen_time() 69 srcu_read_unlock(&kvm->srcu, idx); in kvm_init_stolen_time() 100 idx = srcu_read_lock(&kvm->srcu); in kvm_arm_pvtime_set_attr() 103 srcu_read_unlock(&kvm->srcu, idx); in kvm_arm_pvtime_set_attr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | notifier.h | 76 struct srcu_struct srcu; member 95 cleanup_srcu_struct(&(name)->srcu); 110 .srcu = __SRCU_STRUCT_INIT(name.srcu, pcpu), \
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.c | 136 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_wlan_get_num_conn_ifcs() 141 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_wlan_get_num_conn_ifcs() 168 srcu_idx = srcu_read_lock(&wl->srcu); in wilc_txq_task() 174 srcu_read_unlock(&wl->srcu, srcu_idx); in wilc_txq_task() 711 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_mac_xmit() 716 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_mac_xmit() 797 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_wfi_mgmt_rx() 809 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_wfi_mgmt_rx() 834 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_netdev_cleanup() 839 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_netdev_cleanup() [all …]
|
D | cfg80211.c | 242 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() 795 srcu_idx = srcu_read_lock(&wl->srcu); in set_wiphy_params() 850 srcu_read_unlock(&wl->srcu, srcu_idx); in set_wiphy_params() 1497 srcu_idx = srcu_read_lock(&wl->srcu); in add_virtual_intf() 1502 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf() 1508 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf() 1516 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf() 1521 srcu_read_unlock(&wl->srcu, srcu_idx); in add_virtual_intf() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kvm_mmu.h | 192 int srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_read_guest_lock() 195 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_read_guest_lock() 203 int srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_write_guest_lock() 206 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_write_guest_lock()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 478 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_start() 497 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_start() 667 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_abort() 672 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_abort() 835 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_done() 858 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_done() 883 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_share_page() 920 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_share_page() 953 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_page_in() 980 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_page_in() [all …]
|
D | book3s_hv_nested.c | 241 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_enter_nested_guest() 246 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_enter_nested_guest() 348 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_enter_nested_guest() 353 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_enter_nested_guest() 471 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmhv_set_partition_table() 479 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmhv_set_partition_table() 533 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_copy_tofrom_guest_nested() 535 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_copy_tofrom_guest_nested() 540 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_copy_tofrom_guest_nested() 542 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_copy_tofrom_guest_nested() [all …]
|
D | book3s_64_mmu_hv.c | 432 idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_hv_emulate_mmio() 435 srcu_read_unlock(&vcpu->kvm->srcu, idx); in kvmppc_hv_emulate_mmio() 738 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_rmap_reset() 751 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_rmap_reset() 1168 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_pin_guest_page() 1177 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_pin_guest_page() 1185 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_pin_guest_page() 1204 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_unpin_guest_page() 1208 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_unpin_guest_page() 1279 int srcu_idx = srcu_read_lock(&kvm->srcu); in resize_hpt_rehash_hpte() [all …]
|
D | book3s_rtas.c | 232 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_rtas_hcall() 234 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmppc_rtas_hcall()
|
/kernel/linux/linux-5.10/kernel/ |
D | notifier.c | 476 synchronize_srcu(&nh->srcu); in srcu_notifier_chain_unregister() 503 idx = srcu_read_lock(&nh->srcu); in srcu_notifier_call_chain() 505 srcu_read_unlock(&nh->srcu, idx); in srcu_notifier_call_chain() 525 if (init_srcu_struct(&nh->srcu) < 0) in srcu_init_notifier_head()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/configs/rcu/ |
D | SRCU-t.boot | 1 rcutorture.torture_type=srcu
|
D | SRCU-N.boot | 1 rcutorture.torture_type=srcu
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/ |
D | .gitignore | 2 srcu.h
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | vmd.c | 89 struct srcu_struct srcu; member 258 synchronize_srcu(&vmdirq->irq->srcu); in vmd_msi_free() 536 idx = srcu_read_lock(&irqs->srcu); in vmd_irq() 539 srcu_read_unlock(&irqs->srcu, idx); in vmd_irq() 564 err = init_srcu_struct(&vmd->irqs[i].srcu); in vmd_alloc_irqs() 766 cleanup_srcu_struct(&vmd->irqs[i].srcu); in vmd_cleanup_srcu()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | multipath.c | 265 ns = srcu_dereference(head->current_path[node], &head->srcu); in nvme_find_path() 309 srcu_idx = srcu_read_lock(&head->srcu); in nvme_ns_head_submit_bio() 331 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_ns_head_submit_bio() 421 srcu_idx = srcu_read_lock(&head->srcu); in nvme_mpath_set_live() 424 srcu_read_unlock(&head->srcu, srcu_idx); in nvme_mpath_set_live() 428 synchronize_srcu(&head->srcu); in nvme_mpath_set_live()
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | kvm_main.c | 457 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_invalidate_range() 459 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_invalidate_range() 470 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_change_pte() 478 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_change_pte() 487 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_invalidate_range_start() 503 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_invalidate_range_start() 540 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_clear_flush_young() 548 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_clear_flush_young() 561 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_clear_young() 578 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_clear_young() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_reset.h | 40 int __must_check intel_gt_reset_trylock(struct intel_gt *gt, int *srcu);
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | pmu.c | 200 filter = srcu_dereference(kvm->arch.pmu_event_filter, &kvm->srcu); in reprogram_gp_counter() 253 filter = srcu_dereference(kvm->arch.pmu_event_filter, &kvm->srcu); in reprogram_fixed_counter() 527 synchronize_srcu_expedited(&kvm->srcu); in kvm_vm_ioctl_set_pmu_event_filter()
|