函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-29 10:59:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check whether two locks have the same owner.

函数原型:static int posix_same_owner(struct file_lock *fl1, struct file_lock *fl2)

返回类型:int

参数:

类型参数名称
struct file_lock *fl1
struct file_lock *fl2
662  返回:fl_owner恒等于fl_owner
调用者
名称描述
posix_locks_conflictDetermine if lock sys_fl blocks lock caller_fl. POSIX specific* checking before calling the locks_conflict().
what_owner_is_waiting_forFind a lock that the owner of the given block_fl is blocking on.
posix_locks_deadlockMust be called with the blocked_lock_lock held!
posix_lock_inode