Searched refs:access_lock (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/s390/scsi/ |
H A D | zfcp_diag.c | 48 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup() 57 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup() 92 spin_lock_irqsave(&hdr->access_lock, flags); in zfcp_diag_update_xdata() 102 spin_unlock_irqrestore(&hdr->access_lock, flags); in zfcp_diag_update_xdata() 169 __must_hold(hdr->access_lock) in __zfcp_diag_update_buffer() 176 hdr->access_lock); in __zfcp_diag_update_buffer() 180 spin_unlock_irqrestore(&hdr->access_lock, *flags); in __zfcp_diag_update_buffer() 185 spin_lock_irqsave(&hdr->access_lock, *flags); in __zfcp_diag_update_buffer() 201 __must_hold(hdr->access_lock) in __zfcp_diag_test_buffer_age_isfresh() 249 spin_lock_irqsave(&hdr->access_lock, flags); in zfcp_diag_update_buffer_limited() [all …]
|
H A D | zfcp_diag.h | 28 spinlock_t access_lock; member
|
H A D | zfcp_sysfs.c | 839 spin_lock_irqsave(&diag_hdr->access_lock, flags); in zfcp_sysfs_adapter_diag_b2b_credit_show() 848 spin_unlock_irqrestore(&diag_hdr->access_lock, flags); in zfcp_sysfs_adapter_diag_b2b_credit_show() 889 spin_lock_irqsave(&diag_hdr->access_lock, flags); \ 893 spin_unlock_irqrestore(&diag_hdr->access_lock, flags); \
|
H A D | zfcp_erp.c | 844 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()
|
/linux/drivers/hwmon/ |
H A D | stts751.c | 88 struct mutex access_lock; member 319 mutex_lock(&priv->access_lock); in stts751_alert() 351 mutex_unlock(&priv->access_lock); in stts751_alert() 381 mutex_lock(&priv->access_lock); in max_alarm_show() 385 mutex_unlock(&priv->access_lock); in max_alarm_show() 398 mutex_lock(&priv->access_lock); in min_alarm_show() 402 mutex_unlock(&priv->access_lock); in min_alarm_show() 415 mutex_lock(&priv->access_lock); in input_show() 417 mutex_unlock(&priv->access_lock); in input_show() 444 mutex_lock(&priv->access_lock); in therm_store() [all …]
|
H A D | ftsteutates.c | 68 struct mutex access_lock; member 103 mutex_lock(&data->access_lock); in fts_read_byte() 115 mutex_unlock(&data->access_lock); in fts_read_byte() 126 mutex_lock(&data->access_lock); in fts_write_byte() 139 mutex_unlock(&data->access_lock); in fts_write_byte() 649 mutex_init(&data->access_lock); in fts_probe()
|
H A D | nct7802.c | 77 struct mutex access_lock; /* for multi-byte read and write operations */ member 213 mutex_lock(&data->access_lock); in nct7802_read_temp() 226 mutex_unlock(&data->access_lock); in nct7802_read_temp() 281 mutex_lock(&data->access_lock); in nct7802_write_fan_min() 288 mutex_unlock(&data->access_lock); in nct7802_write_fan_min() 328 mutex_lock(&data->access_lock); in nct7802_write_voltage() 338 mutex_unlock(&data->access_lock); in nct7802_write_voltage() 1178 mutex_init(&data->access_lock); in nct7802_probe()
|
/linux/drivers/w1/masters/ |
H A D | ds2482.c | 110 struct mutex access_lock; member 266 mutex_lock(&pdev->access_lock); in ds2482_w1_touch_bit() 278 mutex_unlock(&pdev->access_lock); in ds2482_w1_touch_bit() 298 mutex_lock(&pdev->access_lock); in ds2482_w1_triplet() 310 mutex_unlock(&pdev->access_lock); in ds2482_w1_triplet() 327 mutex_lock(&pdev->access_lock); in ds2482_w1_write_byte() 337 mutex_unlock(&pdev->access_lock); in ds2482_w1_write_byte() 352 mutex_lock(&pdev->access_lock); in ds2482_w1_read_byte() 371 mutex_unlock(&pdev->access_lock); in ds2482_w1_read_byte() 390 mutex_lock(&pdev->access_lock); in ds2482_w1_reset_bus() [all …]
|
/linux/drivers/net/usb/ |
H A D | lan78xx.c | 396 struct mutex access_lock; /* for stats access */ member 802 mutex_lock(&dev->stats.access_lock); in lan78xx_update_stats() 810 mutex_unlock(&dev->stats.access_lock); in lan78xx_update_stats() 1615 mutex_lock(&dev->stats.access_lock); in lan78xx_get_stats() 1617 mutex_unlock(&dev->stats.access_lock); in lan78xx_get_stats() 4381 mutex_init(&dev->stats.access_lock); in lan78xx_probe()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_isr.c | 1818 spin_lock_irqsave(&ha->cs84xx->access_lock, flags); in qla2x00_async_event() 1849 spin_unlock_irqrestore(&ha->cs84xx->access_lock, flags); in qla2x00_async_event()
|
H A D | qla_mbx.c | 4476 spin_lock_irqsave(&ha->cs84xx->access_lock, flags); in qla84xx_verify_chip() 4479 spin_unlock_irqrestore(&ha->cs84xx->access_lock, in qla84xx_verify_chip()
|
H A D | qla_def.h | 3625 spinlock_t access_lock; member
|
H A D | qla_init.c | 9030 spin_lock_init(&cs84xx->access_lock); in qla84xx_get_chip()
|
/linux/kernel/trace/ |
H A D | trace.c | 970 static DEFINE_MUTEX(access_lock); 975 mutex_lock(&access_lock); in trace_access_lock() 981 mutex_unlock(&access_lock); in trace_access_unlock()
|