函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:scrypt_init() - Set up for fs encryption.

函数原型:static int __init fscrypt_init(void)

返回类型:int

参数:

397  err等于负ENOMEM
407  fscrypt_read_workqueue等于alloc_workqueue("fscrypt_read_queue", WQ_UNBOUND | WQ_HIGHPRI, num_online_cpus())
410  如果非fscrypt_read_workqueue则转到:fail
413  fscrypt_info_cachep等于Please use this macro to create slab caches. Simply specify the* name of the structure and maybe some flags that are listed above.* The alignment of the struct determines object alignment. If you* f(fscrypt_info, Objects are reclaimable )
414  如果非fscrypt_info_cachep则转到:fail_free_queue
417  err等于fscrypt_init_keyring()
418  如果err则转到:fail_free_info
421  返回:0
423  fail_free_info :
424  删除高速缓存区
425  fail_free_queue :
426  destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first.
427  fail :
428  返回:err