函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keysetup_v1.c Create Date:2022-07-29 10:57:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fscrypt_setup_v1_file_key_via_subscribed_keyrings

函数原型:int fscrypt_setup_v1_file_key_via_subscribed_keyrings(struct fscrypt_info *ci)

返回类型:int

参数:

类型参数名称
struct fscrypt_info *ci
321  key等于Search the current task's subscribed keyrings for a "logon" key with* description prefix:descriptor, and if found acquire a read lock on it and* return a pointer to its validated payload in *payload_ret.
324  如果key恒等于错误号key_prefix
325  key等于Search the current task's subscribed keyrings for a "logon" key with* description prefix:descriptor, and if found acquire a read lock on it and* return a pointer to its validated payload in *payload_ret.
329  如果是错误则返回:错误
332  err等于fscrypt_setup_v1_file_key(ci, raw)
333  lease a read lock
334  key_put(key)
335  返回:err