Home
last modified time | relevance | path

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

/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()
336 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 …]
/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c327 write_lock(&s->rw_lock); in cxgb4_sched_class_bind()
329 write_unlock(&s->rw_lock); in cxgb4_sched_class_bind()
371 write_lock(&s->rw_lock); in cxgb4_sched_class_unbind()
373 write_unlock(&s->rw_lock); in cxgb4_sched_class_unbind()
444 write_lock(&s->rw_lock); in t4_sched_class_alloc()
475 write_unlock(&s->rw_lock); in t4_sched_class_alloc()
520 rwlock_init(&s->rw_lock); in t4_init_sched()
545 write_lock(&s->rw_lock); in t4_cleanup_sched()
549 write_unlock(&s->rw_lock); in t4_cleanup_sched()
Dsched.h78 rwlock_t rw_lock; /* Table lock */ member
/drivers/leds/
Dleds-ns2.c49 rwlock_t rw_lock; /* Lock GPIOs. */ member
93 write_lock_irqsave(&led_dat->rw_lock, flags); in ns2_led_set_mode()
107 write_unlock_irqrestore(&led_dat->rw_lock, flags); in ns2_led_set_mode()
212 rwlock_init(&led_dat->rw_lock); in create_ns2_led()
/drivers/md/bcache/
Dbtree.h226 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() function
Dbtree.c145 rw_lock(_w, _b, _b->level); \
1001 rw_lock(write, b, level); in bch_btree_node_get()
2170 rw_lock(true, b, b->level); in bch_btree_insert_check_key()
Dsysfs.c464 rw_lock(false, b, b->level); in bch_root_usage()