Lines Matching refs:dev_lock
83 struct mutex dev_lock; member
2109 mutex_lock(&dev->dev_lock); in check_opal_support()
2113 mutex_unlock(&dev->dev_lock); in check_opal_support()
2123 mutex_lock(&dev->dev_lock); in clean_opal_dev()
2128 mutex_unlock(&dev->dev_lock); in clean_opal_dev()
2164 mutex_init(&dev->dev_lock); in init_opal_dev()
2198 mutex_lock(&dev->dev_lock); in opal_secure_erase_locking_range()
2201 mutex_unlock(&dev->dev_lock); in opal_secure_erase_locking_range()
2216 mutex_lock(&dev->dev_lock); in opal_erase_locking_range()
2219 mutex_unlock(&dev->dev_lock); in opal_erase_locking_range()
2244 mutex_lock(&dev->dev_lock); in opal_enable_disable_shadow_mbr()
2247 mutex_unlock(&dev->dev_lock); in opal_enable_disable_shadow_mbr()
2269 mutex_lock(&dev->dev_lock); in opal_set_mbr_done()
2272 mutex_unlock(&dev->dev_lock); in opal_set_mbr_done()
2290 mutex_lock(&dev->dev_lock); in opal_write_shadow_mbr()
2293 mutex_unlock(&dev->dev_lock); in opal_write_shadow_mbr()
2309 mutex_lock(&dev->dev_lock); in opal_save()
2312 mutex_unlock(&dev->dev_lock); in opal_save()
2346 mutex_lock(&dev->dev_lock); in opal_add_user_to_lr()
2349 mutex_unlock(&dev->dev_lock); in opal_add_user_to_lr()
2368 mutex_lock(&dev->dev_lock); in opal_reverttper()
2376 mutex_unlock(&dev->dev_lock); in opal_reverttper()
2430 mutex_lock(&dev->dev_lock); in opal_lock_unlock()
2432 mutex_unlock(&dev->dev_lock); in opal_lock_unlock()
2452 mutex_lock(&dev->dev_lock); in opal_take_ownership()
2455 mutex_unlock(&dev->dev_lock); in opal_take_ownership()
2474 mutex_lock(&dev->dev_lock); in opal_activate_lsp()
2477 mutex_unlock(&dev->dev_lock); in opal_activate_lsp()
2492 mutex_lock(&dev->dev_lock); in opal_setup_locking_range()
2495 mutex_unlock(&dev->dev_lock); in opal_setup_locking_range()
2513 mutex_lock(&dev->dev_lock); in opal_set_new_pw()
2516 mutex_unlock(&dev->dev_lock); in opal_set_new_pw()
2538 mutex_lock(&dev->dev_lock); in opal_activate_user()
2541 mutex_unlock(&dev->dev_lock); in opal_activate_user()
2558 mutex_lock(&dev->dev_lock); in opal_unlock_from_suspend()
2579 mutex_unlock(&dev->dev_lock); in opal_unlock_from_suspend()
2624 mutex_lock(&dev->dev_lock); in opal_generic_read_write_table()
2642 mutex_unlock(&dev->dev_lock); in opal_generic_read_write_table()