Home
last modified time | relevance | path

Searched refs:buffer_lock (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/i2c/
Di2c-slave-eeprom.c31 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()
157 spin_lock_init(&eeprom->buffer_lock); in i2c_slave_eeprom_probe()
/linux-6.1.9/fs/btrfs/tests/
Dbtrfs-tests.c167 spin_lock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
171 eb = radix_tree_deref_slot_protected(slot, &fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
181 spin_unlock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
183 spin_lock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
185 spin_unlock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
/linux-6.1.9/drivers/input/
Devdev.c44 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()
483 spin_lock_init(&client->buffer_lock); in evdev_open()
545 spin_lock_irq(&client->buffer_lock); in evdev_fetch_next_event()
553 spin_unlock_irq(&client->buffer_lock); in evdev_fetch_next_event()
[all …]
Djoydev.c62 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-6.1.9/sound/soc/sof/
Dipc4-mtrace.c111 struct mutex buffer_lock; /* for log_buffer alloc/free */ member
132 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open()
157 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open()
295 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_release()
298 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_release()
581 mutex_init(&core_data->buffer_lock); in ipc4_mtrace_init()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dif_spi.c71 spinlock_t buffer_lock; member
896 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
902 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
910 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
916 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
963 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card()
965 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card()
969 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card()
971 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card()
1126 spin_lock_init(&card->buffer_lock); in if_spi_probe()
/linux-6.1.9/fs/pstore/
Dram_core.c60 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()
591 raw_spin_lock_init(&prz->buffer_lock); in persistent_ram_new()
/linux-6.1.9/include/linux/
Dpstore_ram.h87 raw_spinlock_t buffer_lock; member
/linux-6.1.9/sound/usb/
Dmidi.c131 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-6.1.9/fs/btrfs/
Dextent_io.c4483 spin_lock(&fs_info->buffer_lock); in alloc_test_extent_buffer()
4486 spin_unlock(&fs_info->buffer_lock); in alloc_test_extent_buffer()
4685 spin_lock(&fs_info->buffer_lock); in alloc_extent_buffer()
4688 spin_unlock(&fs_info->buffer_lock); in alloc_extent_buffer()
4741 spin_lock(&fs_info->buffer_lock); in release_extent_buffer()
4744 spin_unlock(&fs_info->buffer_lock); in release_extent_buffer()
5695 lockdep_assert_held(&fs_info->buffer_lock); in get_next_extent_buffer()
5741 spin_lock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
5745 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
5757 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
[all …]
Dctree.h973 spinlock_t buffer_lock; member
Ddisk-io.c2986 spin_lock_init(&fs_info->buffer_lock); in btrfs_init_fs_info()