函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:spin_trylock

函数原型:static __always_inline int spin_trylock(spinlock_t *lock)

返回类型:int

参数:

类型参数名称
spinlock_t *lock
348  返回: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)
调用者
名称描述
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
__netif_tx_trylock
qdisc_run_begin