Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
super.c File Reference
#include <linux/blkdev.h>
#include <linux/module.h>
#include <linux/buffer_head.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/time.h>
#include <linux/init.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <linux/backing-dev.h>
#include <linux/mount.h>
#include <linux/mpage.h>
#include <linux/swap.h>
#include <linux/writeback.h>
#include <linux/statfs.h>
#include <linux/compat.h>
#include <linux/parser.h>
#include <linux/ctype.h>
#include <linux/namei.h>
#include <linux/miscdevice.h>
#include <linux/magic.h>
#include <linux/slab.h>
#include <linux/cleancache.h>
#include <linux/ratelimit.h>
#include "compat.h"
#include "delayed-inode.h"
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "ioctl.h"
#include "print-tree.h"
#include "xattr.h"
#include "volumes.h"
#include "version.h"
#include "export.h"
#include "compression.h"
#include "rcu-string.h"
#include <trace/events/btrfs.h>

Go to the source code of this file.

Macros

#define CREATE_TRACE_POINTS
 

Enumerations

enum  {
  Opt_degraded, Opt_subvol, Opt_subvolid, Opt_device,
  Opt_nodatasum, Opt_nodatacow, Opt_max_inline, Opt_alloc_start,
  Opt_nobarrier, Opt_ssd, Opt_nossd, Opt_ssd_spread,
  Opt_thread_pool, Opt_noacl, Opt_compress, Opt_compress_type,
  Opt_compress_force, Opt_compress_force_type, Opt_notreelog, Opt_ratio,
  Opt_flushoncommit, Opt_discard, Opt_space_cache, Opt_clear_cache,
  Opt_user_subvol_rm_allowed, Opt_enospc_debug, Opt_subvolrootid, Opt_defrag,
  Opt_inode_cache, Opt_no_space_cache, Opt_recovery, Opt_skip_balance,
  Opt_check_integrity, Opt_check_integrity_including_extent_data, Opt_check_integrity_print_mask, Opt_fatal_errors,
  Opt_err
}
 

Functions

void __btrfs_std_error (struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int errno, const char *fmt,...)
 
void __btrfs_abort_transaction (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *function, unsigned int line, int errno)
 
void __btrfs_panic (struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int errno, const char *fmt,...)
 
int btrfs_parse_options (struct btrfs_root *root, char *options)
 
int btrfs_sync_fs (struct super_block *sb, int wait)
 
 MODULE_ALIAS_MISCDEV (BTRFS_MINOR)
 
 MODULE_ALIAS ("devname:btrfs-control")
 

Macro Definition Documentation

#define CREATE_TRACE_POINTS

Definition at line 59 of file super.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_degraded 
Opt_subvol 
Opt_subvolid 
Opt_device 
Opt_nodatasum 
Opt_nodatacow 
Opt_max_inline 
Opt_alloc_start 
Opt_nobarrier 
Opt_ssd 
Opt_nossd 
Opt_ssd_spread 
Opt_thread_pool 
Opt_noacl 
Opt_compress 
Opt_compress_type 
Opt_compress_force 
Opt_compress_force_type 
Opt_notreelog 
Opt_ratio 
Opt_flushoncommit 
Opt_discard 
Opt_space_cache 
Opt_clear_cache 
Opt_user_subvol_rm_allowed 
Opt_enospc_debug 
Opt_subvolrootid 
Opt_defrag 
Opt_inode_cache 
Opt_no_space_cache 
Opt_recovery 
Opt_skip_balance 
Opt_check_integrity 
Opt_check_integrity_including_extent_data 
Opt_check_integrity_print_mask 
Opt_fatal_errors 
Opt_err 

Definition at line 304 of file super.c.

Function Documentation

void __btrfs_abort_transaction ( struct btrfs_trans_handle trans,
struct btrfs_root root,
const char function,
unsigned int  line,
int  errno 
)

Definition at line 242 of file super.c.

void __btrfs_panic ( struct btrfs_fs_info fs_info,
const char function,
unsigned int  line,
int  errno,
const char fmt,
  ... 
)

Definition at line 267 of file super.c.

void __btrfs_std_error ( struct btrfs_fs_info fs_info,
const char function,
unsigned int  line,
int  errno,
const char fmt,
  ... 
)

Definition at line 209 of file super.c.

int btrfs_parse_options ( struct btrfs_root root,
char options 
)

Definition at line 363 of file super.c.

int btrfs_sync_fs ( struct super_block sb,
int  wait 
)

Definition at line 854 of file super.c.

MODULE_ALIAS ( "devname:btrfs-control )
MODULE_ALIAS_MISCDEV ( BTRFS_MINOR  )