函数逻辑报告

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

函数名称:alloc_file_clone

函数原型:struct file *alloc_file_clone(struct file *base, int flags, const struct file_operations *fops)

返回类型:struct file

参数:

类型参数名称
struct file *base
intflags
const struct file_operations *fops
244  f等于alloc_file - allocate and initialize a 'struct file'*@path: the (dentry, vfsmount) pair for the new file*@flags: O_... flags with which the new file will be opened*@fop: the 'struct file_operations' for the new file
245  如果非是错误
246  path_get( & f_path)
247  f_mapping等于f_mapping
249  返回:f
调用者
名称描述
create_pipe_files