函数逻辑报告

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:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pseudo_lock_dev_release

函数原型:static int pseudo_lock_dev_release(struct inode *inode, struct file *filp)

返回类型:int

参数:

类型参数名称
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  如果非rdtgrp
1452  mutex_unlock( & Mutex to protect rdtgroup access. )
1453  返回:负ENODEV
1455  needed for tty driver, and maybe others = NULL
1456  atomic_dec( & waitcount)
1457  mutex_unlock( & Mutex to protect rdtgroup access. )
1458  返回:0