函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-27 19:47:50
Last Modify:2020-03-17 23:36:33 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__opal_lock_unlock

函数原型:static int __opal_lock_unlock(struct opal_dev *dev, struct opal_lock_unlock *lk_unlk)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
struct opal_lock_unlock *lk_unlk
2367  const struct opal_step unlock_steps[] = {{start_auth_opal_session, & session}, {lock_unlock_locking_range, lk_unlk}, {end_opal_session, }}
2372  const struct opal_step unlock_sum_steps[] = {{start_auth_opal_session, & session}, {lock_unlock_locking_range_sum, lk_unlk}, {end_opal_session, }}
2378  如果sum则返回:execute_steps(dev, unlock_sum_steps, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(unlock_sum_steps))
2381  否则返回:execute_steps(dev, unlock_steps, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(unlock_steps))
调用者
名称描述
opal_lock_unlock
opal_unlock_from_suspend