Home
last modified time | relevance | path

Searched refs:config_lock (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-kvm-device.c49 mutex_lock(&kvm->arch.config_lock); in kvm_set_legacy_vgic_v2_addr()
71 mutex_unlock(&kvm->arch.config_lock); in kvm_set_legacy_vgic_v2_addr()
189 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_addr()
197 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_addr()
236 mutex_lock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
244 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
251 mutex_lock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
253 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
270 mutex_lock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
272 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_set_common_attr()
[all …]
Dvgic-init.c94 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_create()
128 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_create()
269 lockdep_assert_held(&kvm->arch.config_lock); in vgic_init()
409 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_destroy()
413 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_destroy()
437 mutex_lock(&kvm->arch.config_lock); in vgic_lazy_init()
439 mutex_unlock(&kvm->arch.config_lock); in vgic_lazy_init()
467 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_map_resources()
487 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_map_resources()
495 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_map_resources()
Dvgic-debug.c88 mutex_lock(&kvm->arch.config_lock); in vgic_debug_start()
107 mutex_unlock(&kvm->arch.config_lock); in vgic_debug_start()
135 mutex_lock(&kvm->arch.config_lock); in vgic_debug_stop()
140 mutex_unlock(&kvm->arch.config_lock); in vgic_debug_stop()
Dvgic-mmio-v3.c114 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc()
142 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc()
782 mutex_lock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
814 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
826 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
955 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
957 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
969 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
972 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
Dvgic-v4.c193 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_configure_vsgis()
246 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_init()
320 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_teardown()
Dvgic-mmio.c533 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_read_active()
539 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_read_active()
628 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_cactive()
634 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_cactive()
665 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_sactive()
671 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_sactive()
/linux-6.6.21/drivers/net/ethernet/amd/pds_core/
Dmain.c245 mutex_init(&pdsc->config_lock); in pdsc_init_pf()
248 mutex_lock(&pdsc->config_lock); in pdsc_init_pf()
253 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
259 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
263 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
304 mutex_destroy(&pdsc->config_lock); in pdsc_init_pf()
432 mutex_lock(&pdsc->config_lock); in pdsc_remove()
437 mutex_unlock(&pdsc->config_lock); in pdsc_remove()
438 mutex_destroy(&pdsc->config_lock); in pdsc_remove()
Dauxbus.c187 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_del()
198 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_del()
211 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_add()
252 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_add()
Ddevlink.c160 mutex_lock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose()
169 mutex_unlock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose()
/linux-6.6.21/arch/mips/pic32/pic32mzda/
Dconfig.c23 static DEFINE_SPINLOCK(config_lock);
42 spin_lock_irqsave(&config_lock, flags); in pic32_conf_modify_atomic()
47 spin_unlock_irqrestore(&config_lock, flags); in pic32_conf_modify_atomic()
/linux-6.6.21/arch/arm64/kvm/
Dpkvm.c208 mutex_lock(&host_kvm->arch.config_lock); in pkvm_create_hyp_vm()
211 mutex_unlock(&host_kvm->arch.config_lock); in pkvm_create_hyp_vm()
218 mutex_lock(&host_kvm->arch.config_lock); in pkvm_destroy_hyp_vm()
220 mutex_unlock(&host_kvm->arch.config_lock); in pkvm_destroy_hyp_vm()
Dhypercalls.c180 mutex_lock(&kvm->arch.config_lock); in kvm_smccc_set_filter()
195 mutex_unlock(&kvm->arch.config_lock); in kvm_smccc_set_filter()
528 mutex_lock(&kvm->arch.config_lock); in kvm_arm_set_fw_reg_bmap()
537 mutex_unlock(&kvm->arch.config_lock); in kvm_arm_set_fw_reg_bmap()
Darm.c140 mutex_init(&kvm->arch.config_lock); in kvm_arch_init_vm()
145 mutex_lock(&kvm->arch.config_lock); in kvm_arch_init_vm()
146 mutex_unlock(&kvm->arch.config_lock); in kvm_arch_init_vm()
363 mutex_lock(&vcpu->kvm->arch.config_lock); in kvm_arch_vcpu_create()
364 mutex_unlock(&vcpu->kvm->arch.config_lock); in kvm_arch_vcpu_create()
646 mutex_lock(&kvm->arch.config_lock); in kvm_arch_vcpu_run_pid_change()
648 mutex_unlock(&kvm->arch.config_lock); in kvm_arch_vcpu_run_pid_change()
1239 mutex_lock(&kvm->arch.config_lock); in __kvm_vcpu_set_target()
1258 mutex_unlock(&kvm->arch.config_lock); in __kvm_vcpu_set_target()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c82 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
159 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
182 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
232 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_recreate_queues()
246 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_recreate_queues()
256 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_get()
258 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_get()
560 mutex_init(&phc->config_lock); in ionic_lif_alloc_phc()
642 mutex_destroy(&lif->phc->config_lock); in ionic_lif_free_phc()
Dionic_lif.h179 struct mutex config_lock; /* lock for config actions */ member
240 struct mutex config_lock; /* lock for ts_config */ member
/linux-6.6.21/drivers/hwmon/
Dina2xx.c119 struct mutex config_lock; member
375 mutex_lock(&data->config_lock); in ina226_alert_show()
389 mutex_unlock(&data->config_lock); in ina226_alert_show()
411 mutex_lock(&data->config_lock); in ina226_alert_store()
432 mutex_unlock(&data->config_lock); in ina226_alert_store()
467 mutex_lock(&data->config_lock); in ina2xx_set_shunt()
472 mutex_unlock(&data->config_lock); in ina2xx_set_shunt()
637 mutex_init(&data->config_lock); in ina2xx_probe()
Dina238.c107 struct mutex config_lock; member
430 mutex_lock(&data->config_lock); in ina238_write()
447 mutex_unlock(&data->config_lock); in ina238_write()
547 mutex_init(&data->config_lock); in ina238_probe()
/linux-6.6.21/drivers/virtio/
Dvirtio.c140 spin_lock_irqsave(&dev->config_lock, flags); in virtio_config_changed()
142 spin_unlock_irqrestore(&dev->config_lock, flags); in virtio_config_changed()
148 spin_lock_irq(&dev->config_lock); in virtio_config_disable()
150 spin_unlock_irq(&dev->config_lock); in virtio_config_disable()
155 spin_lock_irq(&dev->config_lock); in virtio_config_enable()
160 spin_unlock_irq(&dev->config_lock); in virtio_config_enable()
439 spin_lock_init(&dev->config_lock); in register_virtio_device()
/linux-6.6.21/drivers/block/
Dnbd.c122 struct mutex config_lock; member
1327 &nbd->config_lock)) { in nbd_config_put()
1359 mutex_unlock(&nbd->config_lock); in nbd_config_put()
1438 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl()
1447 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl()
1540 mutex_lock(&nbd->config_lock); in nbd_ioctl()
1550 mutex_unlock(&nbd->config_lock); in nbd_ioctl()
1608 mutex_lock(&nbd->config_lock); in nbd_open()
1610 mutex_unlock(&nbd->config_lock); in nbd_open()
1615 mutex_unlock(&nbd->config_lock); in nbd_open()
[all …]
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-ispif.c820 mutex_lock(&ispif->config_lock); in ispif_set_stream()
825 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
840 mutex_lock(&ispif->config_lock); in ispif_set_stream()
843 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
849 mutex_lock(&ispif->config_lock); in ispif_set_stream()
861 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
1225 mutex_init(&ispif->config_lock); in msm_ispif_subdev_init()
1445 mutex_destroy(&ispif->config_lock); in msm_ispif_unregister_entities()
Dcamss-ispif.h63 struct mutex config_lock; member
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1533 spin_lock(&params->config_lock); in rkisp1_params_isr()
1558 spin_unlock(&params->config_lock); in rkisp1_params_isr()
1632 spin_lock_irq(&params->config_lock); in rkisp1_params_pre_configure()
1647 spin_unlock_irq(&params->config_lock); in rkisp1_params_pre_configure()
1655 spin_lock_irq(&params->config_lock); in rkisp1_params_post_configure()
1678 spin_unlock_irq(&params->config_lock); in rkisp1_params_post_configure()
1829 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1831 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1855 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
1857 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
[all …]
/linux-6.6.21/drivers/net/ethernet/cortina/
Dgemini.c133 spinlock_t config_lock; /* Locks config register */ member
231 spin_lock_irqsave(&port->config_lock, flags); in gmac_update_config0_reg()
237 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_update_config0_reg()
246 spin_lock_irqsave(&port->config_lock, flags); in gmac_enable_tx_rx()
252 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_enable_tx_rx()
261 spin_lock_irqsave(&port->config_lock, flags); in gmac_disable_tx_rx()
267 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_disable_tx_rx()
278 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_flow_control()
288 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_set_flow_control()
2011 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features()
[all …]
/linux-6.6.21/drivers/perf/
Darm-ccn.c149 spinlock_t config_lock; member
906 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
914 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
1064 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1084 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1228 spin_lock_init(&ccn->dt.config_lock); in arm_ccn_pmu_init()
/linux-6.6.21/include/linux/
Dvirtio.h127 spinlock_t config_lock; member

12