Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
statfs.c File Reference
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/statfs.h>
#include <linux/security.h>
#include <linux/uaccess.h>
#include "internal.h"

Go to the source code of this file.

Functions

int vfs_statfs (struct path *path, struct kstatfs *buf)
 
 EXPORT_SYMBOL (vfs_statfs)
 
int user_statfs (const char __user *pathname, struct kstatfs *st)
 
int fd_statfs (int fd, struct kstatfs *st)
 
 SYSCALL_DEFINE2 (statfs, const char __user *, pathname, struct statfs __user *, buf)
 
 SYSCALL_DEFINE3 (statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf)
 
 SYSCALL_DEFINE2 (fstatfs, unsigned int, fd, struct statfs __user *, buf)
 
 SYSCALL_DEFINE3 (fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf)
 
int vfs_ustat (dev_t dev, struct kstatfs *sbuf)
 
 SYSCALL_DEFINE2 (ustat, unsigned, dev, struct ustat __user *, ubuf)
 

Function Documentation

EXPORT_SYMBOL ( vfs_statfs  )
int fd_statfs ( int  fd,
struct kstatfs st 
)

Definition at line 88 of file statfs.c.

SYSCALL_DEFINE2 ( statfs  ,
const char __user ,
pathname  ,
struct statfs __user ,
buf   
)

Definition at line 165 of file statfs.c.

SYSCALL_DEFINE2 ( fstatfs  ,
unsigned  int,
fd  ,
struct statfs __user ,
buf   
)

Definition at line 186 of file statfs.c.

SYSCALL_DEFINE2 ( ustat  ,
unsigned  ,
dev  ,
struct ustat __user ,
ubuf   
)

Definition at line 221 of file statfs.c.

SYSCALL_DEFINE3 ( statfs64  ,
const char __user ,
pathname  ,
size_t  ,
sz  ,
struct statfs64 __user ,
buf   
)

Definition at line 174 of file statfs.c.

SYSCALL_DEFINE3 ( fstatfs64  ,
unsigned  int,
fd  ,
size_t  ,
sz  ,
struct statfs64 __user ,
buf   
)

Definition at line 195 of file statfs.c.

int user_statfs ( const char __user pathname,
struct kstatfs st 
)

Definition at line 77 of file statfs.c.

int vfs_statfs ( struct path path,
struct kstatfs buf 
)

Definition at line 66 of file statfs.c.

int vfs_ustat ( dev_t  dev,
struct kstatfs sbuf 
)

Definition at line 209 of file statfs.c.