Lines Matching refs:rw_lock
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()
551 read_unlock(&pathentry->rw_lock); in pdcs_auto_read()
595 read_lock(&pathentry->rw_lock); in pdcs_timer_read()
598 read_unlock(&pathentry->rw_lock); in pdcs_timer_read()
765 read_lock(&pathentry->rw_lock); in pdcs_auto_write()
767 read_unlock(&pathentry->rw_lock); in pdcs_auto_write()
784 write_lock(&pathentry->rw_lock); in pdcs_auto_write()
791 write_unlock(&pathentry->rw_lock); in pdcs_auto_write()
969 rwlock_init(&entry->rw_lock); in pdcs_register_pathentries()
972 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
974 write_unlock(&entry->rw_lock); in pdcs_register_pathentries()
988 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
990 write_unlock(&entry->rw_lock); in pdcs_register_pathentries()
1014 read_lock(&entry->rw_lock); in pdcs_unregister_pathentries()
1017 read_unlock(&entry->rw_lock); in pdcs_unregister_pathentries()