函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\char_dev.c Create Date:2022-07-29 10:32:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cdev_get

函数原型:static struct kobject *cdev_get(struct cdev *p)

返回类型:struct kobject

参数:

类型参数名称
struct cdev *p
350  owner等于owner
353  如果owner且非判断模块是否处于活动状态则返回:NULL
355  kobj等于kobject_get_unless_zero( & kobj)
356  如果非kobjmodule_put(owner)
358  返回:kobj
调用者
名称描述
chrdev_openCalled every time a character special file is opened
exact_lock