函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:percpu_down_read

函数原型:static inline void percpu_down_read(struct percpu_rw_semaphore *sem)

返回类型:void

参数:

类型参数名称
struct percpu_rw_semaphore *sem
38  might_sleep()
40  rwsem_acquire_read( & dep_map, 0, 0, _RET_IP_)
42  禁止抢占()
51  __this_cpu_inc( * read_count)
52  如果此条件成立可能性小(为编译器优化)(!_sync_is_idle() - Are readers permitted to use their fastpaths?*@rsp: Pointer to rcu_sync structure to use for synchronization* Returns true if readers are permitted to use their fastpaths. Must be)则__percpu_down_read(sem, false)
58  禁用抢占和中断()
调用者
名称描述
torture_percpu_rwsem_down_read
cpuset_read_lock
uprobe_start_dup_mmap
get_online_mems
__sb_start_writeThis is an internal function, please use sb_start_{write,pagefault,intwrite}* instead.
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
__break_lease撤销所有未偿还的文件
fcntl_getlease获取当前文件租约
generic_add_lease
generic_delete_lease
locks_remove_leaseThe i_flctx must be valid when calling into here
cgroup_threadgroup_change_begin开始摘除线程组