Lines Matching refs:lk_unlk
2340 static int opal_save(struct opal_dev *dev, struct opal_lock_unlock *lk_unlk) in opal_save() argument
2348 suspend->unlk = *lk_unlk; in opal_save()
2349 suspend->lr = lk_unlk->session.opal_key.lr; in opal_save()
2360 struct opal_lock_unlock *lk_unlk) in opal_add_user_to_lr() argument
2363 { start_admin1LSP_opal_session, &lk_unlk->session.opal_key }, in opal_add_user_to_lr()
2364 { add_user_to_lr, lk_unlk }, in opal_add_user_to_lr()
2369 if (lk_unlk->l_state != OPAL_RO && in opal_add_user_to_lr()
2370 lk_unlk->l_state != OPAL_RW) { in opal_add_user_to_lr()
2375 if (lk_unlk->session.who < OPAL_USER1 || in opal_add_user_to_lr()
2376 lk_unlk->session.who > OPAL_USER9) { in opal_add_user_to_lr()
2378 lk_unlk->session.who); in opal_add_user_to_lr()
2382 if (lk_unlk->session.sum) { in opal_add_user_to_lr()
2431 struct opal_lock_unlock *lk_unlk) in __opal_lock_unlock() argument
2434 { start_auth_opal_session, &lk_unlk->session }, in __opal_lock_unlock()
2435 { lock_unlock_locking_range, lk_unlk }, in __opal_lock_unlock()
2439 { start_auth_opal_session, &lk_unlk->session }, in __opal_lock_unlock()
2440 { lock_unlock_locking_range_sum, lk_unlk }, in __opal_lock_unlock()
2444 if (lk_unlk->session.sum) in __opal_lock_unlock()
2465 struct opal_lock_unlock *lk_unlk) in opal_lock_unlock() argument
2469 if (lk_unlk->session.who > OPAL_USER9) in opal_lock_unlock()
2473 ret = __opal_lock_unlock(dev, lk_unlk); in opal_lock_unlock()