pcihpfs_create_by_name

Section: Kernel Hacker's Manual (9)
Updated: pcihpfs_create_by_name
Index Return to Main Contents
 

NAME

pcihpfs_create_by_name - create a file, given a name  

SYNOPSIS

int pcihpfs_create_by_name (const char *name, mode_t mode, struct dentry *parent, struct dentry **dentry);  

ARGUMENTS

name
       name of file
mode
       type of file
parent
       dentry of directory to create it in
dentry
       resulting dentry of file
 

DESCRIPTION

There is a bit of overhead in creating a file - basically, we have to hash the name of the file, then look it up. This will prevent files of the same name. We then call the proper vfs_ function to take care of all the file creation details. This function handles both regular files and directories.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 03:49:56 GMT, June 12, 2005