函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:locks_release_private

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

返回类型:void

参数:

类型参数名称
struct file_lock *fl
357  BUG_ON(waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_)
358  BUG_ON(!链表为空)
359  BUG_ON(!链表为空)
360  BUG_ON(!链表为空)
361  BUG_ON(!hlist_unhashed( & node in global lists ))
363  如果 Callbacks for filesystems
364  如果fl_release_privatefl_release_private(fl)
366  Callbacks for filesystems = NULL
369  如果 Callbacks for lockmanagers
370  如果lm_put_owner
372  fl_owner = NULL
374  Callbacks for lockmanagers = NULL
调用者
名称描述
locks_free_lockFree a lock which is not in use.