Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keysetup_v1.c Create Date:2022-07-28 20:24:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fscrypt_put_direct_key

Proto:void fscrypt_put_direct_key(struct fscrypt_direct_key *dk)

Type:void

Parameter:

TypeParameterName
struct fscrypt_direct_key *dk
164  If Not _dec_and_lock - return holding spinlock if able to decrement* refcount to 0*@r: the refcount*@lock: the spinlock to be locked* Similar to atomic_dec_and_lock(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then Return
166  hash_del - remove an object from a hashtable*@node: &struct hlist_node of the object to remove
167  spin_unlock( & fscrypt_direct_keys_lock)
169  free_direct_key(dk)