Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/parisc/
Dpdc_stable.c100 rwlock_t rw_lock; /* to protect path entry access */ member
243 read_lock(&entry->rw_lock); in pdcspath_hwpath_read()
246 read_unlock(&entry->rw_lock); in pdcspath_hwpath_read()
327 write_lock(&entry->rw_lock); in pdcspath_hwpath_write()
339 write_unlock(&entry->rw_lock); in pdcspath_hwpath_write()
364 read_lock(&entry->rw_lock); in pdcspath_layer_read()
367 read_unlock(&entry->rw_lock); in pdcspath_layer_read()
425 write_lock(&entry->rw_lock); in pdcspath_layer_write()
433 write_unlock(&entry->rw_lock); in pdcspath_layer_write()
561 read_lock(&pathentry->rw_lock); in pdcs_auto_read()
[all …]
/linux-4.4.14/drivers/leds/
Dleds-ns2.c50 rwlock_t rw_lock; /* Lock GPIOs. */ member
105 write_lock_irqsave(&led_dat->rw_lock, flags); in ns2_led_set_mode()
119 write_unlock_irqrestore(&led_dat->rw_lock, flags); in ns2_led_set_mode()
217 rwlock_init(&led_dat->rw_lock); in create_ns2_led()
/linux-4.4.14/tools/testing/selftests/rcutorture/configs/lock/
DLOCK04.boot1 locktorture.torture_type=rw_lock
/linux-4.4.14/drivers/md/bcache/
Dbtree.h225 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function
Dbtree.c142 rw_lock(_w, _b, _b->level); \
997 rw_lock(write, b, level); in bch_btree_node_get()
2163 rw_lock(true, b, b->level); in bch_btree_insert_check_key()
Dsysfs.c457 rw_lock(false, b, b->level); in bch_root_usage()
/linux-4.4.14/Documentation/locking/
Dlocktorture.txt48 o "rw_lock": read/write lock() and unlock() rwlock pairs.
Dspinlocks.txt49 (rw_lock) versions of the spinlocks are sometimes useful. They allow multiple