Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/leds/
Dleds-ns2.c75 rwlock_t rw_lock; /* Lock GPIOs. */ member
86 read_lock_irq(&led_dat->rw_lock); in ns2_led_get_mode()
100 read_unlock_irq(&led_dat->rw_lock); in ns2_led_get_mode()
111 write_lock_irqsave(&led_dat->rw_lock, flags); in ns2_led_set_mode()
122 write_unlock_irqrestore(&led_dat->rw_lock, flags); in ns2_led_set_mode()
221 rwlock_init(&led_dat->rw_lock); in create_ns2_led()
/linux-4.1.27/tools/testing/selftests/rcutorture/configs/lock/
DLOCK04.boot1 locktorture.torture_type=rw_lock
/linux-4.1.27/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.1.27/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
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h589 spinlock_t rw_lock; member