Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
readdir.c File Reference
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/time.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/stat.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/dirent.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/unistd.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  linux_dirent
 
struct  getdents_callback
 
struct  getdents_callback64
 

Functions

int vfs_readdir (struct file *file, filldir_t filler, void *buf)
 
 EXPORT_SYMBOL (vfs_readdir)
 
 SYSCALL_DEFINE3 (getdents, unsigned int, fd, struct linux_dirent __user *, dirent, unsigned int, count)
 
 SYSCALL_DEFINE3 (getdents64, unsigned int, fd, struct linux_dirent64 __user *, dirent, unsigned int, count)
 

Function Documentation

EXPORT_SYMBOL ( vfs_readdir  )
SYSCALL_DEFINE3 ( getdents  ,
unsigned  int,
fd  ,
struct linux_dirent __user ,
dirent  ,
unsigned  int,
count   
)

Definition at line 189 of file readdir.c.

SYSCALL_DEFINE3 ( getdents64  ,
unsigned  int,
fd  ,
struct linux_dirent64 __user ,
dirent  ,
unsigned  int,
count   
)

Definition at line 269 of file readdir.c.

int vfs_readdir ( struct file file,
filldir_t  filler,
void buf 
)

Definition at line 23 of file readdir.c.