Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
expfs.c File Reference
#include <linux/exportfs.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/module.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/sched.h>

Go to the source code of this file.

Data Structures

struct  getdents_callback
 

Macros

#define dprintk(fmt, args...)   do{}while(0)
 

Functions

: a pointer to a NAME_MAX+1 char buffer to store the name

get_name - default export_operations->get_name function : the directory in which to find a name

: the dentry for the child directory.

calls readdir on the parent until it finds an entry with the same inode number as the child, and returns that.

int exportfs_encode_fh (struct dentry *dentry, struct fid *fid, int *max_len, int connectable)
 
 EXPORT_SYMBOL_GPL (exportfs_encode_fh)
 
struct dentryexportfs_decode_fh (struct vfsmount *mnt, struct fid *fid, int fh_len, int fileid_type, int(*acceptable)(void *, struct dentry *), void *context)
 
 EXPORT_SYMBOL_GPL (exportfs_decode_fh)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   fmt,
  args... 
)    do{}while(0)

Definition at line 19 of file expfs.c.

Function Documentation

EXPORT_SYMBOL_GPL ( exportfs_encode_fh  )
EXPORT_SYMBOL_GPL ( exportfs_decode_fh  )
struct dentry* exportfs_decode_fh ( struct vfsmount mnt,
struct fid fid,
int  fh_len,
int  fileid_type,
int(*)(void *, struct dentry *)  acceptable,
void context 
)
read

Definition at line 370 of file expfs.c.

int exportfs_encode_fh ( struct dentry dentry,
struct fid fid,
int max_len,
int  connectable 
)

Definition at line 344 of file expfs.c.

MODULE_LICENSE ( "GPL"  )