Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-28 20:25:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Must be called with the flc_lock held!

Proto:static void locks_insert_global_locks(struct file_lock *fl)

Type:void

Parameter:

TypeParameterName
struct file_lock *fl
668  fll = this_cpu_ptr( & file_lock_list)
670  percpu_rwsem_assert_held( & file_rwsem)
672  spin_lock( & lock)
673  what cpu's list is this on? = smp_processor_id()
674  hlist_add_head( & node in global lists , & hlist)
675  spin_unlock( & lock)
Caller
NameDescribe
locks_insert_lock_ctx