函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_class_X

函数原型:static __attribute__((__noinline__)) void init_class_X(raw_spinlock_t *lock, rwlock_t *rwlock, struct mutex *mutex, struct rw_semaphore *rwsem)

返回类型:void

参数:

类型参数名称
raw_spinlock_t *lock
rwlock_t *rwlock
struct mutex *mutex
struct rw_semaphore *rwsem
149  循环
149  * (lock) = (raw_spinlock_t){raw_lock = {}, dep_map = {name = "lock"}}
149  当0循环
149  循环
149  * (rwlock) = (rwlock_t){raw_lock = {}, dep_map = {name = "rwlock"}}
149  当0循环
149  循环
149  __mutex_init((mutex), "mutex", & __key)
149  当0循环
149  循环
149  Initialize an rwsem:
149  当0循环
调用者
名称描述
init_shared_classes