函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:59:05
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:swevent_hlist_put_cpu

函数原型:static void swevent_hlist_put_cpu(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
8766  swhash等于per_cpu(swevent_htable, cpu)
8768  mutex_lock( & hlist_mutex)
8770  如果非hlist_refcount先自减则swevent_hlist_release(swhash)
8773  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.
调用者
名称描述
swevent_hlist_put
swevent_hlist_get