Home
last modified time | relevance | path

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

/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 …]
/drivers/leds/
Dleds-ns2.c51 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/
Dbtree.h248 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function
354 rw_lock(_w, _b, _b->level); \
Dbtree.c1010 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()
Dwriteback.c979 rw_lock(0, b, b->level); in bch_sectors_dirty_init()
Dsysfs.c669 rw_lock(false, b, b->level); in bch_root_usage()