Home
last modified time | relevance | path

Searched refs:rw_lock (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/parisc/
Dpdc_stable.c87 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 …]
/Linux-v5.4/drivers/leds/
Dleds-ns2.c36 rwlock_t rw_lock; /* Lock GPIOs. */ member
80 write_lock_irqsave(&led_dat->rw_lock, flags); in ns2_led_set_mode()
94 write_unlock_irqrestore(&led_dat->rw_lock, flags); in ns2_led_set_mode()
199 rwlock_init(&led_dat->rw_lock); in create_ns2_led()
/Linux-v5.4/tools/testing/selftests/rcutorture/configs/lock/
DLOCK04.boot1 locktorture.torture_type=rw_lock
/Linux-v5.4/drivers/md/bcache/
Dbtree.h228 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function
Dbtree.c148 rw_lock(_w, _b, _b->level); \
1045 rw_lock(write, b, level); in bch_btree_node_get()
2278 rw_lock(true, b, b->level); in bch_btree_insert_check_key()
Dsysfs.c623 rw_lock(false, b, b->level); in bch_root_usage()
/Linux-v5.4/Documentation/locking/
Dlocktorture.rst58 - "rw_lock":
Dspinlocks.rst57 (rw_lock) versions of the spinlocks are sometimes useful. They allow multiple