Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file_table.c Create Date:2022-07-28 20:01:52
Last Modify:2020-03-18 10:20:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alloc_file_clone

Proto:struct file *alloc_file_clone(struct file *base, int flags, const struct file_operations *fops)

Type:struct file

Parameter:

TypeParameterName
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  If Not IS_ERR(f) Then
246  path_get( & f_path)
247  f_mapping = f_mapping
249  Return f
Caller
NameDescribe
create_pipe_files