Searched refs:rw_lock (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/parisc/ |
D | pdc_stable.c | 87 rwlock_t rw_lock; /* to protect path entry access */ member 230 read_lock(&entry->rw_lock); in pdcspath_hwpath_read() 233 read_unlock(&entry->rw_lock); in pdcspath_hwpath_read() 314 write_lock(&entry->rw_lock); in pdcspath_hwpath_write() 323 write_unlock(&entry->rw_lock); in pdcspath_hwpath_write() 351 read_lock(&entry->rw_lock); in pdcspath_layer_read() 354 read_unlock(&entry->rw_lock); in pdcspath_layer_read() 412 write_lock(&entry->rw_lock); in pdcspath_layer_write() 420 write_unlock(&entry->rw_lock); in pdcspath_layer_write() 548 read_lock(&pathentry->rw_lock); in pdcs_auto_read() [all …]
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-ns2.c | 51 rwlock_t rw_lock; /* Lock GPIOs. */ member 88 write_lock_irqsave(&led->rw_lock, flags); in ns2_led_set_mode() 100 write_unlock_irqrestore(&led->rw_lock, flags); in ns2_led_set_mode() 208 rwlock_init(&led->rw_lock); in ns2_led_register()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/configs/lock/ |
D | LOCK04.boot | 1 locktorture.torture_type=rw_lock
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | btree.h | 248 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function 353 rw_lock(_w, _b, _b->level); \
|
D | btree.c | 1007 rw_lock(write, b, level); in bch_btree_node_get() 2029 rw_lock(0, c->root, c->root->level); in bch_btree_check() 2391 rw_lock(true, b, b->level); in bch_btree_insert_check_key()
|
D | writeback.c | 921 rw_lock(0, c->root, c->root->level); in bch_sectors_dirty_init()
|
D | sysfs.c | 650 rw_lock(false, b, b->level); in bch_root_usage()
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | locktorture.rst | 58 - "rw_lock":
|
D | spinlocks.rst | 57 (rw_lock) versions of the spinlocks are sometimes useful. They allow multiple
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 28037 +static spinlock_t rw_lock; 28138 + spin_lock(&rw_lock); 28144 + spin_unlock(&rw_lock); 28155 + spin_lock_irqsave(&rw_lock, irq_flags); 28160 + spin_unlock_irqrestore(&rw_lock, irq_flags); 28226 + spin_lock_irqsave(&rw_lock, irq_flags); 28247 + spin_unlock_irqrestore(&rw_lock, irq_flags); 28273 + spin_lock_irqsave(&rw_lock, irq_flags); 28276 + spin_unlock_irqrestore(&rw_lock, irq_flags); 28280 + spin_unlock_irqrestore(&rw_lock, irq_flags); [all …]
|