函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lease_setup

函数原型:static void lease_setup(struct file_lock *fl, void **priv)

返回类型:void

参数:

类型参数名称
struct file_lock *fl
void **priv
592  filp等于fl_file
593  fa等于priv
600  如果非Insert a new entry into the fasync list. Return the pointer to the* old one if we didn't use the new one.* NOTE! It is very important that the FASYNC flag always* match the state "is the filp on a fasync list".则 * priv = NULL
603  __f_setown(filp, task_pid(当前进程), PIDTYPE_TGID, 0)