函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rcupdate.h Create Date:2022-07-27 06:39:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rcu_lock_acquire

函数原型:static inline void rcu_lock_acquire(struct lockdep_map *map)

返回类型:void

参数:

类型参数名称
struct lockdep_map *map
208  lock_acquire(map, 0, 0, 2, 0, NULL, _THIS_IP_)
调用者
名称描述
rcu_read_lock_read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
rcu_read_lock_bh_read_lock_bh() - mark the beginning of an RCU-bh critical section* This is equivalent of rcu_read_lock(), but also disables softirqs
rcu_read_lock_sched_read_lock_sched() - mark the beginning of a RCU-sched critical section* This is equivalent of rcu_read_lock(), but disables preemption.* Read-side critical sections can also be introduced by anything else
srcu_read_locksrcu_read_lock - register a new reader for an SRCU-protected structure
__rcu_reclaimReclaim the specified callback, either by invoking it (non-lazy case)* or freeing it directly (lazy case). Return true if lazy, false otherwise.