Function report |
Source Code:fs\char_dev.c |
Create Date:2022-07-28 20:02:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dev_set_parent() - set the parent kobject for a char device*@p: the cdev structure*@kobj: the kobject to take a reference to* cdev_set_parent() sets a parent kobject which will be referenced* appropriately so the parent is not freed before the cdev. This
Proto:void cdev_set_parent(struct cdev *p, struct kobject *kobj)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cdev * | p | |
struct kobject * | kobj |
507 | WARN_ON(!state_initialized) |
Name | Describe |
---|---|
cdev_device_add | 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |