Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__kthread_init_worker

Proto:void __kthread_init_worker(struct kthread_worker *worker, const char *name, struct lock_class_key *key)

Type:void

Parameter:

TypeParameterName
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  Initialization list head
614  Initialization list head