函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-27 09:14:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rdt_pseudo_lock_init

函数原型:int rdt_pseudo_lock_init(void)

返回类型:int

参数:

1565  ret等于register_chrdev(0, "pseudo_lock", & pseudo_lock_dev_fops)
1566  如果ret小于0则返回:ret
1569  Major number assigned to and shared by all devices exposing* pseudo-locked regions.等于ret
1571  pseudo_lock_class等于This is a #define to keep the compiler from merging different* instances of the __key variable (THIS_MODULE, "pseudo_lock")
1572  如果是错误
1573  ret等于错误
1574  unregister_chrdev(Major number assigned to and shared by all devices exposing* pseudo-locked regions., "pseudo_lock")
1575  返回:ret
1578  devnode等于pseudo_lock_devnode
1579  返回:0
调用者
名称描述
rdt_get_tree