Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:spin_trylock

Proto:static __always_inline int spin_trylock(spinlock_t *lock)

Type:int

Parameter:

TypeParameterName
spinlock_t *lock
348  Return Define the various spin_lock methods. Note we define these* regardless of whether CONFIG_SMP or CONFIG_PREEMPTION are set. The* various methods are defined as nops in the case they are not* required.( & rlock)
Caller
NameDescribe
kdb_send_sigkdb_send_sig - Allows kdb to send signals without exposing* signal internals. This function checks if the required locks are* available before calling the main signal code, to avoid kdb* deadlocks.
get_dap_lock
z3fold_page_trylockTry to lock a z3fold page
ioc_release_fnSlow path for ioc release in put_io_context(). Performs double-lock* dancing to unlink all icq's and then frees ioc.
blkcg_destroy_blkgslkcg_destroy_blkgs - responsible for shooting down blkgs*@blkcg: blkcg of interest* blkgs should be removed while holding both q and blkcg locks
lock_parent
dentry_killFinish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done.
shrink_lock_dentryLock a dentry from shrink list
dentry_lru_isolate
dentry_lru_isolate_shrink
inode_lru_isolateIsolate the inode from the LRU in preparation for freeing it