/linux/drivers/i2c/ |
H A D | i2c-slave-eeprom.c | 31 spinlock_t buffer_lock; member 59 spin_lock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb() 61 spin_unlock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb() 71 spin_lock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb() 73 spin_unlock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb() 101 spin_lock_irqsave(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_read() 103 spin_unlock_irqrestore(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_read() 116 spin_lock_irqsave(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_write() 118 spin_unlock_irqrestore(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_write() 158 spin_lock_init(&eeprom->buffer_lock); in i2c_slave_eeprom_probe()
|
/linux/drivers/platform/x86/ |
H A D | msi-wmi-platform.c | 82 struct rw_semaphore buffer_lock; /* Protects debugfs buffer */ member 233 down_write(&data->buffer_lock); in msi_wmi_platform_write() 236 up_write(&data->buffer_lock); in msi_wmi_platform_write() 249 down_read(&data->buffer_lock); in msi_wmi_platform_show() 251 up_read(&data->buffer_lock); in msi_wmi_platform_show() 292 init_rwsem(&data->buffer_lock); in msi_wmi_platform_debugfs_add()
|
/linux/drivers/input/ |
H A D | evdev.c | 44 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ member 169 spin_lock_irqsave(&client->buffer_lock, flags); in evdev_queue_syn_dropped() 171 spin_unlock_irqrestore(&client->buffer_lock, flags); in evdev_queue_syn_dropped() 201 spin_lock_irqsave(&client->buffer_lock, flags); in evdev_set_clk_type() 208 spin_unlock_irqrestore(&client->buffer_lock, flags); in evdev_set_clk_type() 261 spin_lock(&client->buffer_lock); in evdev_pass_values() 281 spin_unlock(&client->buffer_lock); in evdev_pass_values() 474 spin_lock_init(&client->buffer_lock); in evdev_open() 543 spin_lock_irq(&client->buffer_lock); in evdev_fetch_next_event() 551 spin_unlock_irq(&client->buffer_lock); in evdev_fetch_next_event() [all …]
|
H A D | joydev.c | 62 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ member 96 spin_lock(&client->buffer_lock); in joydev_pass_event() 107 spin_unlock(&client->buffer_lock); in joydev_pass_event() 268 spin_lock_init(&client->buffer_lock); in joydev_open() 294 spin_lock_irq(&client->buffer_lock); in joydev_generate_startup_event() 314 spin_unlock_irq(&client->buffer_lock); in joydev_generate_startup_event() 324 spin_lock_irq(&client->buffer_lock); in joydev_fetch_next_event() 332 spin_unlock_irq(&client->buffer_lock); in joydev_fetch_next_event() 362 spin_lock(&client->buffer_lock); in joydev_0x_read() 365 spin_unlock(&client->buffer_lock); in joydev_0x_read()
|
/linux/drivers/hwmon/ |
H A D | gigabyte_waterforce.c | 55 struct mutex buffer_lock; member 115 mutex_lock(&priv->buffer_lock); in waterforce_write_expanded() 120 mutex_unlock(&priv->buffer_lock); in waterforce_write_expanded() 359 mutex_init(&priv->buffer_lock); in waterforce_probe()
|
H A D | asus_rog_ryujin.c | 85 struct mutex buffer_lock; member 158 mutex_lock(&priv->buffer_lock); in rog_ryujin_write_expanded() 163 mutex_unlock(&priv->buffer_lock); in rog_ryujin_write_expanded() 542 mutex_init(&priv->buffer_lock); in rog_ryujin_probe()
|
H A D | nzxt-kraken3.c | 97 struct mutex buffer_lock; /* For locking access to buffer */ member 189 mutex_lock(&priv->buffer_lock); in kraken3_write_expanded() 194 mutex_unlock(&priv->buffer_lock); in kraken3_write_expanded() 941 mutex_init(&priv->buffer_lock); in kraken3_probe()
|
/linux/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.c | 71 spinlock_t buffer_lock; member 898 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker() 904 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker() 912 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker() 918 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker() 965 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card() 967 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card() 971 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card() 973 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card() 1128 spin_lock_init(&card->buffer_lock); in if_spi_probe()
|
/linux/sound/soc/sof/ |
H A D | ipc4-mtrace.c | 100 struct mutex buffer_lock; /* for log_buffer alloc/free */ member 121 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open() 146 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open() 284 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_release() 287 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_release() 573 mutex_init(&core_data->buffer_lock); in ipc4_mtrace_init()
|
/linux/fs/pstore/ |
H A D | ram_core.c | 60 raw_spin_lock_irqsave(&prz->buffer_lock, flags); in buffer_start_add() 69 raw_spin_unlock_irqrestore(&prz->buffer_lock, flags); in buffer_start_add() 82 raw_spin_lock_irqsave(&prz->buffer_lock, flags); in buffer_size_add() 95 raw_spin_unlock_irqrestore(&prz->buffer_lock, flags); in buffer_size_add() 598 raw_spin_lock_init(&prz->buffer_lock); in persistent_ram_new()
|
H A D | ram_internal.h | 67 raw_spinlock_t buffer_lock; member
|
/linux/sound/usb/ |
H A D | midi.c | 131 spinlock_t buffer_lock; member 270 spin_lock_irqsave(&ep->buffer_lock, flags); in snd_usbmidi_out_urb_complete() 277 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_out_urb_complete() 300 spin_lock_irqsave(&ep->buffer_lock, flags); in snd_usbmidi_do_output() 302 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output() 328 spin_unlock_irqrestore(&ep->buffer_lock, flags); in snd_usbmidi_do_output() 1184 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain() 1191 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain() 1193 spin_lock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain() 1199 spin_unlock_irq(&ep->buffer_lock); in snd_usbmidi_output_drain() [all …]
|
/linux/fs/btrfs/ |
H A D | extent_io.c | 2811 spin_lock(&fs_info->buffer_lock); in alloc_test_extent_buffer() 2814 spin_unlock(&fs_info->buffer_lock); in alloc_test_extent_buffer() 3129 spin_lock(&fs_info->buffer_lock); in alloc_extent_buffer() 3132 spin_unlock(&fs_info->buffer_lock); in alloc_extent_buffer() 3213 spin_lock(&fs_info->buffer_lock); in release_extent_buffer() 3216 spin_unlock(&fs_info->buffer_lock); in release_extent_buffer() 4122 lockdep_assert_held(&fs_info->buffer_lock); in get_next_extent_buffer() 4168 spin_lock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer() 4172 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer() 4184 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer() [all …]
|
H A D | fs.h | 763 spinlock_t buffer_lock; member
|
H A D | disk-io.c | 2715 spin_lock_init(&fs_info->buffer_lock); in btrfs_init_fs_info()
|