函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ww_mutex.h Create Date:2022-07-27 07:46:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ww_mutex_trylock - tries to acquire the w/w mutex without acquire context*@lock: mutex to lock* Trylocks a mutex without acquire context, so no deadlock detection is* possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.

函数原型:static inline int __must_check ww_mutex_trylock(struct ww_mutex *lock)

返回类型:int

参数:

类型参数名称
struct ww_mutex *lock
345  返回:NOTE: mutex_trylock() follows the spin_trylock() convention,* not the down_trylock() convention!* Returns 1 if the mutex has been acquired successfully, and 0 on contention.
调用者
名称描述
test_mutex_work
test_aa