Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:A locking reader exclusively locks out other writers and locking readers,* but doesn't update the sequence number. Acts like a normal spin_lock/unlock.* Don't need preempt_disable() because that is in the spin_lock already.

Proto:static inline void read_seqlock_excl(seqlock_t *sl)

Type:void

Parameter:

TypeParameterName
seqlock_t *sl
508  spin_lock( & lock)
Caller
NameDescribe
follow_upllow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system
path_has_submountspath_has_submounts - check for mounts over a dentry in the* current namespace.*@parent: path to check.* Return true if the parent or its subdirectories contain* a mount point in the current namespace.
get_mountpoint
attach_recursive_mnt@source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry
unlock_mount
path_is_under
propagate_one
propagate_mntmount 'source_mnt' under the destination 'dest_mnt' at* dentry 'dest_dentry'. And propagate that mount to* all the peer and slave mounts of 'dest_mnt'.* Link all the new mounts into a propagation tree headed at* source_mnt
read_seqbegin_or_lockad_seqbegin_or_lock - begin a sequence number check or locking block*@lock: sequence lock*@seq : sequence number to be checked* First try it once optimistically without taking the lock. If that fails,* take the lock