函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:locks_insert_lock_ctx

函数原型:static void locks_insert_lock_ctx(struct file_lock *fl, struct list_head *before)

返回类型:void

参数:

类型参数名称
struct file_lock *fl
struct list_head *before
857  添加链表项
858  Must be called with the flc_lock held!
调用者
名称描述
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
generic_add_lease