Home
last modified time | relevance | path

Searched refs:access_lock (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_diag.c50 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
59 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
134 spin_lock_irqsave(&hdr->access_lock, flags); in zfcp_diag_update_xdata()
144 spin_unlock_irqrestore(&hdr->access_lock, flags); in zfcp_diag_update_xdata()
211 __must_hold(hdr->access_lock) in __zfcp_diag_update_buffer()
218 hdr->access_lock); in __zfcp_diag_update_buffer()
222 spin_unlock_irqrestore(&hdr->access_lock, *flags); in __zfcp_diag_update_buffer()
227 spin_lock_irqsave(&hdr->access_lock, *flags); in __zfcp_diag_update_buffer()
243 __must_hold(hdr->access_lock) in __zfcp_diag_test_buffer_age_isfresh()
291 spin_lock_irqsave(&hdr->access_lock, flags); in zfcp_diag_update_buffer_limited()
[all …]
Dzfcp_diag.h28 spinlock_t access_lock; member
Dzfcp_sysfs.c821 spin_lock_irqsave(&diag_hdr->access_lock, flags); in zfcp_sysfs_adapter_diag_b2b_credit_show()
830 spin_unlock_irqrestore(&diag_hdr->access_lock, flags); in zfcp_sysfs_adapter_diag_b2b_credit_show()
871 spin_lock_irqsave(&diag_hdr->access_lock, flags); \
875 spin_unlock_irqrestore(&diag_hdr->access_lock, flags); \
Dzfcp_erp.c844 spin_lock_irqsave(&config_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
847 spin_unlock_irqrestore(&config_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
850 spin_lock_irqsave(&port_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
852 spin_unlock_irqrestore(&port_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
/kernel/linux/linux-5.10/drivers/w1/masters/
Dds2482.c113 struct mutex access_lock; member
269 mutex_lock(&pdev->access_lock); in ds2482_w1_touch_bit()
281 mutex_unlock(&pdev->access_lock); in ds2482_w1_touch_bit()
301 mutex_lock(&pdev->access_lock); in ds2482_w1_triplet()
313 mutex_unlock(&pdev->access_lock); in ds2482_w1_triplet()
330 mutex_lock(&pdev->access_lock); in ds2482_w1_write_byte()
340 mutex_unlock(&pdev->access_lock); in ds2482_w1_write_byte()
355 mutex_lock(&pdev->access_lock); in ds2482_w1_read_byte()
374 mutex_unlock(&pdev->access_lock); in ds2482_w1_read_byte()
393 mutex_lock(&pdev->access_lock); in ds2482_w1_reset_bus()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dstts751.c88 struct mutex access_lock; member
320 mutex_lock(&priv->access_lock); in stts751_alert()
352 mutex_unlock(&priv->access_lock); in stts751_alert()
382 mutex_lock(&priv->access_lock); in max_alarm_show()
386 mutex_unlock(&priv->access_lock); in max_alarm_show()
399 mutex_lock(&priv->access_lock); in min_alarm_show()
403 mutex_unlock(&priv->access_lock); in min_alarm_show()
416 mutex_lock(&priv->access_lock); in input_show()
418 mutex_unlock(&priv->access_lock); in input_show()
445 mutex_lock(&priv->access_lock); in therm_store()
[all …]
Dnct7802.c60 struct mutex access_lock; /* for multi-byte read and write operations */ member
196 mutex_lock(&data->access_lock); in nct7802_read_temp()
209 mutex_unlock(&data->access_lock); in nct7802_read_temp()
218 mutex_lock(&data->access_lock); in nct7802_read_fan()
232 mutex_unlock(&data->access_lock); in nct7802_read_fan()
242 mutex_lock(&data->access_lock); in nct7802_read_fan_min()
258 mutex_unlock(&data->access_lock); in nct7802_read_fan_min()
273 mutex_lock(&data->access_lock); in nct7802_write_fan_min()
280 mutex_unlock(&data->access_lock); in nct7802_write_fan_min()
291 mutex_lock(&data->access_lock); in nct7802_read_voltage()
[all …]
Dftsteutates.c69 struct mutex access_lock; member
104 mutex_lock(&data->access_lock); in fts_read_byte()
116 mutex_unlock(&data->access_lock); in fts_read_byte()
127 mutex_lock(&data->access_lock); in fts_write_byte()
140 mutex_unlock(&data->access_lock); in fts_write_byte()
788 mutex_init(&data->access_lock); in fts_probe()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-mlxreg.c56 struct mutex access_lock; /* protect IO operations */ member
79 mutex_lock(&priv->access_lock); in mlxreg_led_store_hw()
92 mutex_unlock(&priv->access_lock); in mlxreg_led_store_hw()
271 mutex_init(&priv->access_lock); in mlxreg_led_probe()
282 mutex_destroy(&priv->access_lock); in mlxreg_led_remove()
/kernel/linux/linux-5.10/drivers/net/usb/
Dlan78xx.c349 struct mutex access_lock; /* for stats access */ member
595 mutex_lock(&dev->stats.access_lock); in lan78xx_update_stats()
603 mutex_unlock(&dev->stats.access_lock); in lan78xx_update_stats()
1351 mutex_lock(&dev->stats.access_lock); in lan78xx_get_stats()
1353 mutex_unlock(&dev->stats.access_lock); in lan78xx_get_stats()
3690 mutex_init(&dev->stats.access_lock); in lan78xx_probe()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_isr.c1516 spin_lock_irqsave(&ha->cs84xx->access_lock, flags); in qla2x00_async_event()
1547 spin_unlock_irqrestore(&ha->cs84xx->access_lock, flags); in qla2x00_async_event()
Dqla_mbx.c4407 spin_lock_irqsave(&ha->cs84xx->access_lock, flags); in qla84xx_verify_chip()
4410 spin_unlock_irqrestore(&ha->cs84xx->access_lock, in qla84xx_verify_chip()
Dqla_def.h3446 spinlock_t access_lock; member
Dqla_init.c8468 spin_lock_init(&cs84xx->access_lock); in qla84xx_get_chip()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace.c890 static DEFINE_MUTEX(access_lock);
895 mutex_lock(&access_lock); in trace_access_lock()
901 mutex_unlock(&access_lock); in trace_access_unlock()