Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crc-t10dif.c Create Date:2022-07-28 06:55:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:crc_t10dif_update

Proto:__u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len)

Type:__u16

Parameter:

TypeParameterName
__u16crc
const unsigned char *buffer
size_tlen
59  struct{struct shash_desc shash;char ctx[2];}desc
65  If static_key_false( & crct10dif_fallback) Then Return 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 = fetch RCU-protected pointer for dereferencing(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  Return ctx
Caller
NameDescribe
crc_t10dif