函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_sid_cpin_pin

函数原型:static int set_sid_cpin_pin(struct opal_dev *dev, void *data)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
void *data
1709  key等于data
1711  memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH)
1713  如果generic_pw_cmd(key, key_len, cpin_uid, dev)则
1714  pr_debug("Error building Set SID cpin\n")
1715  返回:负ERANGE
1717  返回:finalize_and_send(dev, Parses and checks for errors )