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/exportfs.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <stdarg.h>
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/parser.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <linux/log2.h>
#include <linux/mount.h>
#include <linux/seq_file.h>
#include "ufs_fs.h"
#include "ufs.h"
#include "swab.h"
#include "util.h"

Go to the source code of this file.

Macros

#define ufs_print_super_stuff(sb, usb1, usb2, usb3)
 
#define ufs_print_cylinder_stuff(sb, cg)
 

Enumerations

enum  {
  Opt_type_old = UFS_MOUNT_UFSTYPE_OLD, Opt_type_sunx86 = UFS_MOUNT_UFSTYPE_SUNx86, Opt_type_sun = UFS_MOUNT_UFSTYPE_SUN, Opt_type_sunos = UFS_MOUNT_UFSTYPE_SUNOS,
  Opt_type_44bsd = UFS_MOUNT_UFSTYPE_44BSD, Opt_type_ufs2 = UFS_MOUNT_UFSTYPE_UFS2, Opt_type_hp = UFS_MOUNT_UFSTYPE_HP, Opt_type_nextstepcd = UFS_MOUNT_UFSTYPE_NEXTSTEP_CD,
  Opt_type_nextstep = UFS_MOUNT_UFSTYPE_NEXTSTEP, Opt_type_openstep = UFS_MOUNT_UFSTYPE_OPENSTEP, Opt_onerror_panic = UFS_MOUNT_ONERROR_PANIC, Opt_onerror_lock = UFS_MOUNT_ONERROR_LOCK,
  Opt_onerror_umount = UFS_MOUNT_ONERROR_UMOUNT, Opt_onerror_repair = UFS_MOUNT_ONERROR_REPAIR, Opt_err
}
 

Functions

void lock_ufs (struct super_block *sb)
 
void unlock_ufs (struct super_block *sb)
 
void ufs_error (struct super_block *sb, const char *function, const char *fmt,...)
 
void ufs_panic (struct super_block *sb, const char *function, const char *fmt,...)
 
void ufs_warning (struct super_block *sb, const char *function, const char *fmt,...)
 
void ufs_mark_sb_dirty (struct super_block *sb)
 

Macro Definition Documentation

#define ufs_print_cylinder_stuff (   sb,
  cg 
)

Definition at line 285 of file super.c.

#define ufs_print_super_stuff (   sb,
  usb1,
  usb2,
  usb3 
)

Definition at line 284 of file super.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_type_old 
Opt_type_sunx86 
Opt_type_sun 
Opt_type_sunos 
Opt_type_44bsd 
Opt_type_ufs2 
Opt_type_hp 
Opt_type_nextstepcd 
Opt_type_nextstep 
Opt_type_openstep 
Opt_onerror_panic 
Opt_onerror_lock 
Opt_onerror_umount 
Opt_onerror_repair 
Opt_err 

Definition at line 359 of file super.c.

Function Documentation

void lock_ufs ( struct super_block sb)

Definition at line 97 of file super.c.

void ufs_error ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 292 of file super.c.

void ufs_mark_sb_dirty ( struct super_block sb)

Definition at line 739 of file super.c.

void ufs_panic ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 324 of file super.c.

void ufs_warning ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 347 of file super.c.

void unlock_ufs ( struct super_block sb)

Definition at line 107 of file super.c.