Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:filelock_init

Proto:static int __init filelock_init(void)

Type:int

Parameter:Nothing

2975  flctx_cache = kmem_cache_create - Create a cache.*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.*@align: The required alignment for the objects.*@flags: SLAB flags
2978  filelock_cache = kmem_cache_create - Create a cache.*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.*@align: The required alignment for the objects.*@flags: SLAB flags
2981  for_each_possible_cpu(i)
2982  fll = per_cpu_ptr( & file_lock_list, i)
2984  Process spin lock initialization( & lock)
2985  INIT_HLIST_HEAD( & hlist)
2988  lease_notifier_chain_init()
2989  Return 0