Home
last modified time | relevance | path

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

/linux-6.6.21/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()
158 spin_lock_init(&eeprom->buffer_lock); in i2c_slave_eeprom_probe()
/linux-6.6.21/fs/btrfs/tests/
Dbtrfs-tests.c168 spin_lock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
172 eb = radix_tree_deref_slot_protected(slot, &fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
182 spin_unlock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
184 spin_lock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
186 spin_unlock(&fs_info->buffer_lock); in btrfs_free_dummy_fs_info()
/linux-6.6.21/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.6.21/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()
582 mutex_init(&core_data->buffer_lock); in ipc4_mtrace_init()
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dif_spi.c71 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-6.6.21/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()
598 raw_spin_lock_init(&prz->buffer_lock); in persistent_ram_new()
Dram_internal.h67 raw_spinlock_t buffer_lock; member
/linux-6.6.21/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.6.21/fs/btrfs/
Dextent_io.c3478 spin_lock(&fs_info->buffer_lock); in alloc_test_extent_buffer()
3481 spin_unlock(&fs_info->buffer_lock); in alloc_test_extent_buffer()
3675 spin_lock(&fs_info->buffer_lock); in alloc_extent_buffer()
3678 spin_unlock(&fs_info->buffer_lock); in alloc_extent_buffer()
3731 spin_lock(&fs_info->buffer_lock); in release_extent_buffer()
3734 spin_unlock(&fs_info->buffer_lock); in release_extent_buffer()
4568 lockdep_assert_held(&fs_info->buffer_lock); in get_next_extent_buffer()
4614 spin_lock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
4618 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
4630 spin_unlock(&fs_info->buffer_lock); in try_release_subpage_extent_buffer()
[all …]
Dfs.h699 spinlock_t buffer_lock; member
Ddisk-io.c2677 spin_lock_init(&fs_info->buffer_lock); in btrfs_init_fs_info()