函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ww_mutex_unlock - release the w/w mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously with any of the* ww_mutex_lock* functions (with or without an acquire context). It is

函数原型:void __sched ww_mutex_unlock(struct ww_mutex *lock)

返回类型:void

参数:

类型参数名称
struct ww_mutex *lock
761  如果ctx
765  如果acquired大于0则acquired自减
767  ctx = NULL
770  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.
调用者
名称描述
torture_ww_mutex_lock
torture_ww_mutex_unlock
test_mutex_work
__test_mutex
test_aa
test_abba_work
test_abba
test_cycle_work
stress_inorder_work
stress_reorder_work
stress_one_work