函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex-debug.c Create Date:2022-07-27 10:53:02
Last Modify:2020-03-17 14:29:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:printk_lock

函数原型:static void printk_lock(struct rt_mutex *lock, int print_owner)

返回类型:void

参数:

类型参数名称
struct rt_mutex *lock
intprint_owner
45  如果nameprintk(" [%p] {%s}\n", lock, name)
48  否则printk(" [%p] {%s:%d}\n", lock, file, line)
52  如果print_ownerrt_mutex_owner(lock)则
53  printk(".. ->owner: %p\n", 独占进程)
54  printk(".. held by: ")
55  printk_task(rt_mutex_owner(lock))
56  printk("\n")
调用者
名称描述
debug_rt_mutex_print_deadlock