Searched refs:rw_lock (Results 1 – 6 of 6) sorted by relevance
/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 …]
|
/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()
|
/drivers/md/bcache/ |
D | btree.h | 248 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function 354 rw_lock(_w, _b, _b->level); \
|
D | btree.c | 1010 rw_lock(write, b, level); in bch_btree_node_get() 2049 rw_lock(0, c->root, c->root->level); in bch_btree_check() 2411 rw_lock(true, b, b->level); in bch_btree_insert_check_key()
|
D | writeback.c | 979 rw_lock(0, b, b->level); in bch_sectors_dirty_init()
|
D | sysfs.c | 669 rw_lock(false, b, b->level); in bch_root_usage()
|