Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
xfs_itable.h File Reference

Go to the source code of this file.

Macros

#define BULKSTAT_RV_NOTHING   0
 
#define BULKSTAT_RV_DIDONE   1
 
#define BULKSTAT_RV_GIVEUP   2
 

Typedefs

typedef int(* bulkstat_one_pf )(struct xfs_mount *mp, xfs_ino_t ino, void __user *buffer, int ubsize, int *ubused, int *stat)
 
typedef int(* bulkstat_one_fmt_pf )(void __user *ubuffer, int ubsize, int *ubused, const xfs_bstat_t *buffer)
 
typedef int(* inumbers_fmt_pf )(void __user *ubuffer, const xfs_inogrp_t *buffer, long count, long *written)
 

Functions

int xfs_bulkstat (xfs_mount_t *mp, xfs_ino_t *lastino, int *count, bulkstat_one_pf formatter, size_t statstruct_size, char __user *ubuffer, int *done)
 
int xfs_bulkstat_single (xfs_mount_t *mp, xfs_ino_t *lastinop, char __user *buffer, int *done)
 
int xfs_bulkstat_one_int (xfs_mount_t *mp, xfs_ino_t ino, void __user *buffer, int ubsize, bulkstat_one_fmt_pf formatter, int *ubused, int *stat)
 
int xfs_bulkstat_one (xfs_mount_t *mp, xfs_ino_t ino, void __user *buffer, int ubsize, int *ubused, int *stat)
 
int xfs_inumbers_fmt (void __user *ubuffer, const xfs_inogrp_t *buffer, long count, long *written)
 
int xfs_inumbers (xfs_mount_t *mp, xfs_ino_t *last, int *count, void __user *buffer, inumbers_fmt_pf formatter)
 

Macro Definition Documentation

#define BULKSTAT_RV_DIDONE   1

Definition at line 37 of file xfs_itable.h.

#define BULKSTAT_RV_GIVEUP   2

Definition at line 38 of file xfs_itable.h.

#define BULKSTAT_RV_NOTHING   0

Definition at line 36 of file xfs_itable.h.

Typedef Documentation

typedef int(* bulkstat_one_fmt_pf)(void __user *ubuffer,int ubsize,int *ubused,const xfs_bstat_t *buffer)

Definition at line 60 of file xfs_itable.h.

typedef int(* bulkstat_one_pf)(struct xfs_mount *mp, xfs_ino_t ino, void __user *buffer, int ubsize, int *ubused, int *stat)

Definition at line 26 of file xfs_itable.h.

typedef int(* inumbers_fmt_pf)(void __user *ubuffer,const xfs_inogrp_t *buffer,long count,long *written)

Definition at line 85 of file xfs_itable.h.

Function Documentation

int xfs_bulkstat ( xfs_mount_t *  mp,
xfs_ino_t *  lastino,
int count,
bulkstat_one_pf  formatter,
size_t  statstruct_size,
char __user ubuffer,
int done 
)

Definition at line 184 of file xfs_itable.c.

int xfs_bulkstat_one ( xfs_mount_t *  mp,
xfs_ino_t  ino,
void __user buffer,
int  ubsize,
int ubused,
int stat 
)

Definition at line 166 of file xfs_itable.c.

int xfs_bulkstat_one_int ( xfs_mount_t *  mp,
xfs_ino_t  ino,
void __user buffer,
int  ubsize,
bulkstat_one_fmt_pf  formatter,
int ubused,
int stat 
)
int xfs_bulkstat_single ( xfs_mount_t *  mp,
xfs_ino_t *  lastinop,
char __user buffer,
int done 
)

Definition at line 545 of file xfs_itable.c.

int xfs_inumbers ( xfs_mount_t *  mp,
xfs_ino_t *  last,
int count,
void __user buffer,
inumbers_fmt_pf  formatter 
)

Definition at line 604 of file xfs_itable.c.

int xfs_inumbers_fmt ( void __user ubuffer,
const xfs_inogrp_t buffer,
long  count,
long written 
)

Definition at line 588 of file xfs_itable.c.