Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kobject.c Create Date:2022-07-28 06:16:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kobj_ns_initial

Proto:const void *kobj_ns_initial(enum kobj_ns_type type)

Type:void

Parameter:

TypeParameterName
enum kobj_ns_typetype
1110  const void * ns = NULL
1112  spin_lock( & kobj_ns_type_lock)
1113  If type > KOBJ_NS_TYPE_NONE && type < KOBJ_NS_TYPES && kobj_ns_ops_tbl[type] Then ns = initial_ns()
1116  spin_unlock( & kobj_ns_type_lock)
1118  Return ns