函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__kthread_init_worker

函数原型:void __kthread_init_worker(struct kthread_worker *worker, const char *name, struct lock_class_key *key)

返回类型:void

参数:

类型参数名称
struct kthread_worker *worker
const char *name
struct lock_class_key *key
610  memset(worker, 0, sizeof(structkthread_worker))
611  raw_spin_lock_init( & lock)
612  lockdep_set_class_and_name( & lock, key, name)
613  初始化链表头
614  初始化链表头