函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:opal_recv_check

函数原型:static int opal_recv_check(struct opal_dev *dev)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
336  buflen等于IO_BUFFER_LENGTH
337  buffer等于resp
338  hdr等于buffer
341  循环
342  pr_debug("Sent OPAL command: outstanding=%d, minTransfer=%d\n", outstandingData, minTransfer)
346  如果outstandingData恒等于0或minTransfer不等于0则返回:0
350  memset(buffer, 0, buflen)
351  ret等于opal_recv_cmd(dev)
352  当非ret循环
354  返回:ret
调用者
名称描述
opal_send_recv