函数逻辑报告

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

函数名称:__unregister_chrdev - unregister and destroy a cdev*@major: major device number*@baseminor: first of the range of minor numbers*@count: the number of minor numbers this cdev is occupying*@name: name of this range of devices* Unregister and destroy the

函数原型:void __unregister_chrdev(unsigned int major, unsigned int baseminor, unsigned int count, const char *name)

返回类型:void

参数:

类型参数名称
unsigned intmajor
unsigned intbaseminor
unsigned intcount
const char *name
340  cd等于__unregister_chrdev_region(major, baseminor, count)
341  如果cd will die 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
343  释放内存
调用者
名称描述
msr_exit
cpuid_init
cpuid_exit
msr_init