Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-28 08:14:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdt_pseudo_lock_init

Proto:int rdt_pseudo_lock_init(void)

Type:int

Parameter:Nothing

1565  ret = register_chrdev(0, "pseudo_lock", & pseudo_lock_dev_fops)
1566  If ret < 0 Then Return 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  If IS_ERR(pseudo_lock_class) Then
1573  ret = PTR_ERR(pseudo_lock_class)
1574  unregister_chrdev(Major number assigned to and shared by all devices exposing* pseudo-locked regions., "pseudo_lock")
1575  Return ret
1578  devnode = pseudo_lock_devnode
1579  Return 0