函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\shm.c Create Date:2022-07-27 18:21:49
Last Modify:2020-03-17 22:58:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:shm_lock_by_ptr

函数原型:static inline void shm_lock_by_ptr(struct shmid_kernel *ipcp)

返回类型:void

参数:

类型参数名称
struct shmid_kernel *ipcp
214  _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
215  ipc_lock_object( & shm_perm)
调用者
名称描述
shm_try_destroy_orphanedCalled with ns->shm_ids(ns).rwsem locked
exit_shmLocking assumes this will only be called with task == current