Searched refs:usba_devdb_lock (Results 1 – 1 of 1) sorted by relevance
40 static krwlock_t usba_devdb_lock; /* lock protecting the tree */ variable42 _NOTE(RWLOCK_PROTECTS_DATA(usba_devdb_lock, usba_devdb))70 rw_init(&usba_devdb_lock, NULL, RW_DRIVER, NULL); in usba_devdb_initialization()72 rw_enter(&usba_devdb_lock, RW_WRITER); in usba_devdb_initialization()85 rw_exit(&usba_devdb_lock); in usba_devdb_initialization()99 rw_enter(&usba_devdb_lock, RW_WRITER); in usba_devdb_destroy()103 rw_exit(&usba_devdb_lock); in usba_devdb_destroy()105 rw_destroy(&usba_devdb_lock); in usba_devdb_destroy()595 rw_enter(&usba_devdb_lock, RW_READER); in usba_devdb_get_user_preferences()611 rw_exit(&usba_devdb_lock); in usba_devdb_get_user_preferences()[all …]