| /linux-6.15/include/linux/ |
| H A D | cpuhplock.h | 20 void cpus_read_lock(void); 36 static inline void cpus_read_lock(void) { } in cpus_read_lock() function 47 DEFINE_LOCK_GUARD_0(cpus_read_lock, cpus_read_lock(), cpus_read_unlock())
|
| H A D | static_call.h | 260 cpus_read_lock(); in __static_call_update()
|
| /linux-6.15/kernel/ |
| H A D | jump_label.c | 190 cpus_read_lock(); in static_key_slow_inc() 222 cpus_read_lock(); in static_key_enable() 247 cpus_read_lock(); in static_key_disable() 320 cpus_read_lock(); in __static_key_slow_dec() 544 cpus_read_lock(); in jump_label_init() 591 cpus_read_lock(); in jump_label_init_ro() 832 cpus_read_lock(); in jump_label_module_notify()
|
| H A D | smpboot.c | 293 cpus_read_lock(); in smpboot_register_percpu_thread() 319 cpus_read_lock(); in smpboot_unregister_percpu_thread()
|
| H A D | static_call_inline.c | 139 cpus_read_lock(); in __static_call_update() 448 cpus_read_lock(); in static_call_module_notify() 503 cpus_read_lock(); in static_call_init()
|
| H A D | kprobes.c | 607 scoped_guard(cpus_read_lock) { in kprobe_optimizer() 859 guard(cpus_read_lock)(); in try_to_optimize_kprobe() local 890 cpus_read_lock(); in optimize_all_kprobes() 914 cpus_read_lock(); in unoptimize_all_kprobes() 1157 guard(cpus_read_lock)(); in arm_kprobe() local 1168 guard(cpus_read_lock)(); in disarm_kprobe() local 1287 scoped_guard(cpus_read_lock) { in register_aggr_kprobe() 1601 scoped_guard(cpus_read_lock) { in __register_kprobe()
|
| H A D | cpu.c | 488 void cpus_read_lock(void) in cpus_read_lock() function 492 EXPORT_SYMBOL_GPL(cpus_read_lock); 2454 cpus_read_lock(); in __cpuhp_state_add_instance() 2546 cpus_read_lock(); in __cpuhp_setup_state() 2565 cpus_read_lock(); in __cpuhp_state_remove_instance() 2642 cpus_read_lock(); in __cpuhp_remove_state()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_hwlat.c | 326 cpus_read_lock(); in move_to_next_cpu() 399 cpus_read_lock(); in stop_single_kthread() 426 cpus_read_lock(); in start_single_kthread() 480 cpus_read_lock(); in stop_per_cpu_kthreads() 516 cpus_read_lock(); in hwlat_hotplug_workfn() 585 cpus_read_lock(); in start_per_cpu_kthreads()
|
| /linux-6.15/arch/mips/kernel/ |
| H A D | mips-mt-fpaff.c | 80 cpus_read_lock(); in mipsmt_sys_sched_setaffinity() 170 cpus_read_lock(); in mipsmt_sys_sched_getaffinity()
|
| /linux-6.15/kernel/sched/ |
| H A D | membarrier.c | 266 cpus_read_lock(); in membarrier_global_expedited() 360 cpus_read_lock(); in membarrier_private_expedited() 474 cpus_read_lock(); in sync_runqueues_membarrier_state()
|
| /linux-6.15/kernel/cgroup/ |
| H A D | legacy_freezer.c | 116 cpus_read_lock(); in freezer_css_online() 142 cpus_read_lock(); in freezer_css_offline() 392 cpus_read_lock(); in freezer_change_state()
|
| H A D | cpuset-v1.c | 172 cpus_read_lock(); in cpuset_write_s64() 457 cpus_read_lock(); in cpuset_write_u64()
|
| /linux-6.15/drivers/powercap/ |
| H A D | intel_rapl_common.c | 288 cpus_read_lock(); in get_energy_counter() 345 cpus_read_lock(); in set_domain_enable() 364 cpus_read_lock(); in get_domain_enable() 445 cpus_read_lock(); in set_power_limit() 465 cpus_read_lock(); in get_current_power_limit() 485 cpus_read_lock(); in set_time_window() 503 cpus_read_lock(); in get_time_window() 537 cpus_read_lock(); in get_max_power() 1869 cpus_read_lock(); in cpumask_show() 2250 cpus_read_lock(); in power_limit_state_save() [all …]
|
| /linux-6.15/Documentation/virt/kvm/ |
| H A D | locking.rst | 12 - cpus_read_lock() is taken outside kvm_lock 14 - kvm_usage_lock is taken outside cpus_read_lock() 29 cpus_read_lock() vs kvm_lock: 31 - Taking cpus_read_lock() outside of kvm_lock is problematic, despite that 33 cpus_read_lock() while holding kvm_lock. Use caution when walking vm_list, 249 :Comment: Exists to allow taking cpus_read_lock() while kvm_usage_count is
|
| /linux-6.15/arch/powerpc/platforms/powernv/ |
| H A D | opal-imc.c | 188 cpus_read_lock(); in disable_nest_pmu_counters() 204 cpus_read_lock(); in disable_core_pmu_counters()
|
| H A D | subcore.c | 360 cpus_read_lock(); in set_subcores_per_core()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | processor.c | 97 cpus_read_lock(); in text_poke_sync_lock() 367 cpus_read_lock(); in c_start()
|
| H A D | wti.c | 127 cpus_read_lock(); in wti_show()
|
| /linux-6.15/arch/s390/hypfs/ |
| H A D | hypfs_diag0c.c | 36 cpus_read_lock(); in diag0c_store()
|
| /linux-6.15/arch/x86/kernel/cpu/mtrr/ |
| H A D | mtrr.c | 271 cpus_read_lock(); in mtrr_add_page() 420 cpus_read_lock(); in mtrr_del_page()
|
| /linux-6.15/kernel/irq/ |
| H A D | affinity.c | 122 cpus_read_lock(); in irq_calc_affinity_vectors()
|
| /linux-6.15/drivers/s390/char/ |
| H A D | sclp_config.c | 52 cpus_read_lock(); in sclp_cpu_capability_notify()
|
| /linux-6.15/arch/powerpc/kvm/ |
| H A D | book3s_hv_builtin.c | 146 cpus_read_lock(); in kvm_hv_vm_activated() 154 cpus_read_lock(); in kvm_hv_vm_deactivated()
|
| /linux-6.15/arch/s390/mm/ |
| H A D | maccess.c | 159 cpus_read_lock(); in xlate_dev_mem_ptr()
|
| /linux-6.15/arch/x86/kernel/cpu/resctrl/ |
| H A D | monitor.c | 887 cpus_read_lock(); in cqm_handle_limbo() 934 cpus_read_lock(); in mbm_handle_overflow() 1162 cpus_read_lock(); in snc_get_config()
|