Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kobject.h Create Date:2022-07-28 05:44:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_ktype

Proto:static inline struct kobj_type *get_ktype(struct kobject *kobj)

Type:struct kobj_type

Parameter:

TypeParameterName
struct kobject *kobj
224  Return ktype
Caller
NameDescribe
populate_dirpopulate_dir - populate directory with attributes
create_dir
kobject_delkobject_del() - Unlink kobject from hierarchy.*@kobj: object.* This is the function that should be called to delete an object* successfully added via kobject_add().
kobject_cleanupkobject_cleanup - free kobject resources.*@kobj: object to cleanup