Searched refs:rw_lock (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/drivers/parisc/ |
D | pdc_stable.c | 100 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/ |
D | leds-ns2.c | 75 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/ |
D | LOCK04.boot | 1 locktorture.torture_type=rw_lock
|
/linux-4.1.27/drivers/md/bcache/ |
D | btree.h | 225 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function
|
D | btree.c | 142 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()
|
D | sysfs.c | 457 rw_lock(false, b, b->level); in bch_root_usage()
|
/linux-4.1.27/Documentation/locking/ |
D | locktorture.txt | 48 o "rw_lock": read/write lock() and unlock() rwlock pairs.
|
D | spinlocks.txt | 49 (rw_lock) versions of the spinlocks are sometimes useful. They allow multiple
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.h | 589 spinlock_t rw_lock; member
|