Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex-debug.c Create Date:2022-07-28 09:48:51
Last Modify:2022-05-22 15:17:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void mutex_destroy(struct mutex *lock)

Type:void

Parameter:

TypeParameterName
struct mutex *lock
104  DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock))
105  magic = NULL
Caller
NameDescribe
devkmsg_release
tracing_release
tracing_release_pipe
destroy_session