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:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pseudo_lock_dev_release

Proto:static int pseudo_lock_dev_release(struct inode *inode, struct file *filp)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *filp
1448  mutex_lock( & Mutex to protect rdtgroup access. )
1449  rdtgrp = needed for tty driver, and maybe others
1450  WARN_ON(!rdtgrp)
1451  If Not rdtgrp Then
1452  mutex_unlock( & Mutex to protect rdtgroup access. )
1453  Return -ENODEV
1455  needed for tty driver, and maybe others = NULL
1456  atomic_dec( & waitcount)
1457  mutex_unlock( & Mutex to protect rdtgroup access. )
1458  Return 0