Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobject_namespace() - Return @kobj's namespace tag.*@kobj: kobject in question* Returns namespace tag of @kobj if its parent has namespace ops enabled* and thus @kobj should have a namespace tag associated with it. Returns* %NULL otherwise.

Proto:const void *kobject_namespace(struct kobject *kobj)

Type:void

Parameter:

TypeParameterName
struct kobject *kobj
30  ns_ops = kobj_ns_ops(kobj)
32  If Not ns_ops || type == KOBJ_NS_TYPE_NONE Then Return NULL
35  Return namespace(kobj)
Caller
NameDescribe
create_dir
kobject_renamekobject_rename() - Change the name of an object
kobject_movekobject_move() - Move object to another parent.*@kobj: object in question.*@new_parent: object's new parent (can be NULL)