函数逻辑报告 |
Source Code:fs\char_dev.c |
Create Date:2022-07-29 10:32:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dev_device_add() - add a char device and it's corresponding* struct device, linkink*@dev: the device structure*@cdev: the cdev structure* cdev_device_add() adds the char device represented by @cdev to the system,* just as cdev_add does
函数原型:int cdev_device_add(struct cdev *cdev, struct device *dev)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cdev * | cdev | |
struct device * | dev |
536 | rc等于0 |
538 | 如果 dev_t, creates the sysfs "dev" 则 |
546 | rc等于device_add(dev) |
547 | 如果rc则dev_del() - remove a cdev from the system*@p: the cdev structure to be removed* cdev_del() removes @p from the system, possibly freeing the structure* itself |
550 | 返回:rc |
名称 | 描述 |
---|---|
posix_clock_register |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |