Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:locks_dispose_list

Proto:static void locks_dispose_list(struct list_head *dispose)

Type:void

Parameter:

TypeParameterName
struct list_head *dispose
392  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
393  fl = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.(dispose, structfile_lock, fl_list)
394  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
395  Free a lock which is not in use.
Caller
NameDescribe
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
__break_leaserevoke all outstanding leases on file
fcntl_getleaseEnquire what lease is currently active
generic_add_lease
generic_delete_lease
locks_remove_leaseThe i_flctx must be valid when calling into here