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()
549 read_lock(&pathentry->rw_lock); in pdcs_auto_read()
552 read_unlock(&pathentry->rw_lock); in pdcs_auto_read()
596 read_lock(&pathentry->rw_lock); in pdcs_timer_read()
599 read_unlock(&pathentry->rw_lock); in pdcs_timer_read()
766 read_lock(&pathentry->rw_lock); in pdcs_auto_write()
768 read_unlock(&pathentry->rw_lock); in pdcs_auto_write()
785 write_lock(&pathentry->rw_lock); in pdcs_auto_write()
792 write_unlock(&pathentry->rw_lock); in pdcs_auto_write()
970 rwlock_init(&entry->rw_lock); in pdcs_register_pathentries()
973 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
975 write_unlock(&entry->rw_lock); in pdcs_register_pathentries()
989 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
991 write_unlock(&entry->rw_lock); in pdcs_register_pathentries()
1015 read_lock(&entry->rw_lock); in pdcs_unregister_pathentries()
1018 read_unlock(&entry->rw_lock); in pdcs_unregister_pathentries()