#include "xfs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_inode.h"
#include "xfs_bmap.h"
#include "xfs_bmap_util.h"
#include "xfs_alloc.h"
#include "xfs_mru_cache.h"
#include "xfs_trace.h"
#include "xfs_ag.h"
#include "xfs_ag_resv.h"
#include "xfs_trans.h"
#include "xfs_filestream.h"
struct xfs_fstrm_item { … };
enum xfs_fstrm_alloc { … };
static void
xfs_fstrm_free_func(
void *data,
struct xfs_mru_cache_elem *mru)
{ … }
static int
xfs_filestream_pick_ag(
struct xfs_alloc_arg *args,
xfs_ino_t pino,
xfs_agnumber_t start_agno,
int flags,
xfs_extlen_t *longest)
{ … }
static struct xfs_inode *
xfs_filestream_get_parent(
struct xfs_inode *ip)
{ … }
static int
xfs_filestream_lookup_association(
struct xfs_bmalloca *ap,
struct xfs_alloc_arg *args,
xfs_ino_t pino,
xfs_extlen_t *longest)
{ … }
static int
xfs_filestream_create_association(
struct xfs_bmalloca *ap,
struct xfs_alloc_arg *args,
xfs_ino_t pino,
xfs_extlen_t *longest)
{ … }
int
xfs_filestream_select_ag(
struct xfs_bmalloca *ap,
struct xfs_alloc_arg *args,
xfs_extlen_t *longest)
{ … }
void
xfs_filestream_deassociate(
struct xfs_inode *ip)
{ … }
int
xfs_filestream_mount(
xfs_mount_t *mp)
{ … }
void
xfs_filestream_unmount(
xfs_mount_t *mp)
{ … }