Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfs_discard.c File Reference
#include "xfs.h"
#include "xfs_sb.h"
#include "xfs_log.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_quota.h"
#include "xfs_trans.h"
#include "xfs_alloc_btree.h"
#include "xfs_bmap_btree.h"
#include "xfs_ialloc_btree.h"
#include "xfs_btree.h"
#include "xfs_inode.h"
#include "xfs_alloc.h"
#include "xfs_error.h"
#include "xfs_extent_busy.h"
#include "xfs_discard.h"
#include "xfs_trace.h"

Go to the source code of this file.

Functions

STATIC int xfs_trim_extents (struct xfs_mount *mp, xfs_agnumber_t agno, xfs_daddr_t start, xfs_daddr_t end, xfs_daddr_t minlen, __uint64_t *blocks_trimmed)
 
int xfs_ioc_trim (struct xfs_mount *mp, struct fstrim_range __user *urange)
 
int xfs_discard_extents (struct xfs_mount *mp, struct list_head *list)
 

Function Documentation

int xfs_discard_extents ( struct xfs_mount *  mp,
struct list_head list 
)

Definition at line 213 of file xfs_discard.c.

int xfs_ioc_trim ( struct xfs_mount *  mp,
struct fstrim_range __user urange 
)

Definition at line 156 of file xfs_discard.c.

STATIC int xfs_trim_extents ( struct xfs_mount *  mp,
xfs_agnumber_t  agno,
xfs_daddr_t  start,
xfs_daddr_t  end,
xfs_daddr_t  minlen,
__uint64_t *  blocks_trimmed 
)

Definition at line 37 of file xfs_discard.c.