Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/x86/
Dapple-gmux.c51 struct mutex index_lock; member
166 mutex_lock(&gmux_data->index_lock); in gmux_index_read8()
171 mutex_unlock(&gmux_data->index_lock); in gmux_index_read8()
179 mutex_lock(&gmux_data->index_lock); in gmux_index_write8()
184 mutex_unlock(&gmux_data->index_lock); in gmux_index_write8()
191 mutex_lock(&gmux_data->index_lock); in gmux_index_read32()
196 mutex_unlock(&gmux_data->index_lock); in gmux_index_read32()
207 mutex_lock(&gmux_data->index_lock); in gmux_index_write32()
217 mutex_unlock(&gmux_data->index_lock); in gmux_index_write32()
654 mutex_init(&gmux_data->index_lock); in gmux_probe()
/kernel/linux/linux-5.10/kernel/bpf/
Ddevmap.c80 spinlock_t index_lock; member
154 spin_lock_init(&dtab->index_lock); in dev_map_init_map()
282 lockdep_is_held(&dtab->index_lock)) in __dev_map_hash_lookup_elem()
583 spin_lock_irqsave(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
592 spin_unlock_irqrestore(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
707 spin_lock_irqsave(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
723 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
732 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
740 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
785 spin_lock_irqsave(&dtab->index_lock, flags); in dev_map_hash_remove_netdev()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c811 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
814 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
853 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
857 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
874 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
889 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
1074 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_reset()
1082 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_reset()
1218 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()