Main Page | Modules | Data Structures | File List | Data Fields | Globals

src/kernel/linux-2.6/dir.c File Reference

Linux VFS directory operations. More...

#include "pvfs2-kernel.h"
#include "pvfs2-bufmap.h"
#include "pvfs2-sysint.h"
#include "pvfs2-internal.h"

Functions

int pvfs2_readdir (struct file *file, void *dirent, filldir_t filldir)

Variables

file_operations pvfs2_dir_operations


Detailed Description

Linux VFS directory operations.


Function Documentation

int pvfs2_readdir struct file *  file,
void *  dirent,
filldir_t  filldir
[static]
 

Read directory entries from an instance of an open directory.

Parameters:
filldir callback function called for each entry read.
Return values:
<0 on error
0 when directory has been completely traversed
>0 if we don't call filldir for all entries
Note:
If the filldir call-back returns non-zero, then readdir should assume that it has had enough, and should return as well.

Here is the call graph for this function:


Generated on Mon Sep 6 02:47:11 2010 for PVFS by doxygen 1.3.5