函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\console.c Create Date:2022-07-27 10:57:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pm_vt_switch_unregister - stop tracking a device's VT switching needs*@dev: device* Remove @dev from the vt switch list.

函数原型:void pm_vt_switch_unregister(struct device *dev)

返回类型:void

参数:

类型参数名称
struct device *dev
82  mutex_lock( & vt_switch_mutex)
84  如果dev恒等于dev
85  删除链表项
86  释放内存
87  退出
90  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.