Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\percpu-rwsem.h Create Date:2022-07-28 05:42:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:percpu_up_read

Proto:static inline void percpu_up_read(struct percpu_rw_semaphore *sem)

Type:void

Parameter:

TypeParameterName
struct percpu_rw_semaphore *sem
86  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
90  If Value is more likely to compile time(_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) Then __this_cpu_dec( * read_count)
92  Else __percpu_up_read(sem)
94  preempt_enable()
96  rwsem_release( & dep_map, _RET_IP_)
Caller
NameDescribe
torture_percpu_rwsem_up_read
cpuset_read_unlock
uprobe_end_dup_mmap
put_online_mems
__sb_end_writeThis is an internal function, please use sb_end_{write,pagefault,intwrite}* instead.
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
__break_leaserevoke all outstanding leases on file
fcntl_getleaseEnquire what lease is currently active
generic_add_lease
generic_delete_lease
locks_remove_leaseThe i_flctx must be valid when calling into here