Home
last modified time | relevance | path

Searched refs:index_lock (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/platform/x86/
Dapple-gmux.c50 struct mutex index_lock; member
165 mutex_lock(&gmux_data->index_lock); in gmux_index_read8()
170 mutex_unlock(&gmux_data->index_lock); in gmux_index_read8()
178 mutex_lock(&gmux_data->index_lock); in gmux_index_write8()
183 mutex_unlock(&gmux_data->index_lock); in gmux_index_write8()
190 mutex_lock(&gmux_data->index_lock); in gmux_index_read32()
195 mutex_unlock(&gmux_data->index_lock); in gmux_index_read32()
206 mutex_lock(&gmux_data->index_lock); in gmux_index_write32()
216 mutex_unlock(&gmux_data->index_lock); in gmux_index_write32()
650 mutex_init(&gmux_data->index_lock); in gmux_probe()
/Linux-v6.1/kernel/bpf/
Ddevmap.c82 spinlock_t index_lock; member
146 spin_lock_init(&dtab->index_lock); in dev_map_init_map()
274 lockdep_is_held(&dtab->index_lock)) in __dev_map_hash_lookup_elem()
627 lockdep_is_held(&dtab->index_lock)) { in dev_map_enqueue_multi()
825 spin_lock_irqsave(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
834 spin_unlock_irqrestore(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
951 spin_lock_irqsave(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
967 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
976 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
984 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
[all …]
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c812 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
815 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
854 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
858 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
875 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
890 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
1076 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_reset()
1084 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_reset()
1220 spin_lock_init(&queue->index_lock); in rt2x00queue_init()
Drt2x00queue.h460 spinlock_t index_lock; member
Drt2x00debug.c321 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats()
330 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats()