函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crc-t10dif.c Create Date:2022-07-27 07:52:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:crc_t10dif_update

函数原型:__u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len)

返回类型:__u16

参数:

类型参数名称
__u16crc
const unsigned char *buffer
size_tlen
59  struct{struct shash_desc shash;char ctx[2];}desc
65  如果static_key_false( & crct10dif_fallback)则返回:crc_t10dif_generic(crc, buffer, len)
68  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
69  tfm等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(crct10dif_tfm)
70  ctx等于crc
72  err等于rypto_shash_update() - add data to message digest for processing*@desc: operational state handle that is already initialized*@data: input data to be added to the message digest*@len: length of the input data
73  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
75  BUG_ON(err)
77  返回:ctx
调用者
名称描述
crc_t10dif