Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-28 05:43:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:register_chrdev

Proto:static inline int register_chrdev(unsigned int major, const char *name, const struct file_operations *fops)

Type:int

Parameter:

TypeParameterName
unsigned intmajor
const char *name
const struct file_operations *fops
2681  Return __register_chrdev() - create and register a cdev occupying a range of minors*@major: major device number or 0 for dynamic allocation*@baseminor: first of the requested range of minor numbers*@count: the number of minor numbers required*@name: name of this
Caller
NameDescribe
xz_dec_test_initAllocate the XZ decoder state and register the character device.
rdt_pseudo_lock_init