Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobj_ns_current_may_mount

Proto:bool kobj_ns_current_may_mount(enum kobj_ns_type type)

Type:bool

Parameter:

TypeParameterName
enum kobj_ns_typetype
1070  bool may_mount = true
1072  spin_lock( & kobj_ns_type_lock)
1073  If type > KOBJ_NS_TYPE_NONE && type < KOBJ_NS_TYPES && kobj_ns_ops_tbl[type] Then may_mount = current_may_mount()
1076  spin_unlock( & kobj_ns_type_lock)
1078  Return may_mount