Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_rs - Free the rs control structure*@rs: The control structure which is not longer used by the* caller* Free the control structure. If @rs is the last user of the associated* codec, free the codec as well.

Proto:void free_rs(struct rs_control *rs)

Type:void

Parameter:

TypeParameterName
struct rs_control *rs
180  If Not rs Then Return
183  cd = codec
184  mutex_lock( & Protection for the list )
185  users--
186  If Not users Then
187  deletes entry from list
188  kfree(alpha_to)
189  kfree(index_of)
190  kfree(genpoly)
191  kfree(cd)
193  mutex_unlock( & Protection for the list )
194  kfree(rs)
Caller
NameDescribe
run_exercise