函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex-debug.c Create Date:2022-07-27 10:49:12
Last Modify:2022-05-22 15:17:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mutex_destroy - mark a mutex unusable*@lock: the mutex to be destroyed* This function marks the mutex uninitialized, and any subsequent* use of the mutex is forbidden. The mutex must not be locked when* this function is called.

函数原型:void mutex_destroy(struct mutex *lock)

返回类型:void

参数:

类型参数名称
struct mutex *lock
104  DEBUG_LOCKS_WARN_ON(是互斥锁)
105  magic = NULL
调用者
名称描述
devkmsg_release
tracing_release
tracing_release_pipe
destroy_session