Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-28 18:12:30
Last Modify:2020-03-17 23:36:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_opal_support

Proto:static int check_opal_support(struct opal_dev *dev)

Type:int

Parameter:

TypeParameterName
struct opal_dev *dev
2109  mutex_lock( & dev_lock)
2110  setup_opal_dev(dev)
2111  ret = opal_discovery0_step(dev)
2112  supported = Not ret
2113  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
2115  Return ret
Caller
NameDescribe
init_opal_dev