函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ww_mutex_lock_interruptible

函数原型:int __sched ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx)

返回类型:int

参数:

类型参数名称
struct ww_mutex *lock
struct ww_acquire_ctx *ctx
1205  might_sleep()
1206  ret等于__ww_mutex_lock( & base, 睡眠态, 0, ctx ? & dep_map : NULL, _RET_IP_, ctx)
1210  如果非retctxacquired大于1则返回:ww_mutex_deadlock_injection(lock, ctx)
1213  返回:ret