Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dapple-gmux.c64 struct mutex index_lock; member
174 mutex_lock(&gmux_data->index_lock); in gmux_index_read8()
179 mutex_unlock(&gmux_data->index_lock); in gmux_index_read8()
187 mutex_lock(&gmux_data->index_lock); in gmux_index_write8()
192 mutex_unlock(&gmux_data->index_lock); in gmux_index_write8()
199 mutex_lock(&gmux_data->index_lock); in gmux_index_read32()
215 mutex_lock(&gmux_data->index_lock); in gmux_index_write32()
246 mutex_lock(&gmux_data->index_lock); in gmux_mmio_read8()
261 mutex_lock(&gmux_data->index_lock); in gmux_mmio_write8()
277 mutex_lock(&gmux_data->index_lock); in gmux_mmio_read32()
[all …]
/openbmc/linux/kernel/bpf/
H A Ddevmap.c81 spinlock_t index_lock; member
146 spin_lock_init(&dtab->index_lock); in dev_map_init_map()
271 lockdep_is_held(&dtab->index_lock)) in __dev_map_hash_lookup_elem()
637 lockdep_is_held(&dtab->index_lock)) { in dev_map_enqueue_multi()
837 spin_lock_irqsave(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
846 spin_unlock_irqrestore(&dtab->index_lock, flags); in dev_map_hash_delete_elem()
964 spin_lock_irqsave(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
989 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
997 spin_unlock_irqrestore(&dtab->index_lock, flags); in __dev_map_hash_update_elem()
1071 spin_lock_irqsave(&dtab->index_lock, flags); in dev_map_hash_remove_netdev()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
H A Drt2x00queue.h460 spinlock_t index_lock; member
H A 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()