函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Variant of alloc_empty_file() that doesn't check and modify nr_files.* Should not be used unless there's a very good reason to do so.

函数原型:struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred)

返回类型:struct file

参数:

类型参数名称
intflags
const struct cred *cred
173  f等于__alloc_file(flags, cred)
175  如果非是错误f_mode或等于File does not contribute to nr_files count
178  返回:f