函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kobject.h Create Date:2022-07-27 06:45:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kobject_has_children - Returns whether a kobject has children.*@kobj: the object to test* This will return whether a kobject has other kobjects as children.* It does NOT account for the presence of attribute files, only sub* directories

函数原型:static inline bool kobject_has_children(struct kobject *kobj)

返回类型:bool

参数:

类型参数名称
struct kobject *kobj
134  WARN_ON_ONCE(kref_read( & 对象引用计数) == 0)
136  返回: sysfs directory entry subdirs