pcihpfs_create_by_name(9)

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 cre
ation details. This function handles both regular files
and directories.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout