函数逻辑报告

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

函数名称:Must be called with the flc_lock held!

函数原型:static void locks_insert_global_locks(struct file_lock *fl)

返回类型:void

参数:

类型参数名称
struct file_lock *fl
668  fll等于this_cpu_ptr( & file_lock_list)
670  percpu_rwsem_assert_held( & file_rwsem)
672  加自旋锁
673  what cpu's list is this on? 等于当前cpu ID()
674  hlist_add_head( & node in global lists , & hlist)
675  自旋锁解锁
调用者
名称描述
locks_insert_lock_ctx