Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
incore.h File Reference
#include <linux/fs.h>
#include <linux/kobject.h>
#include <linux/workqueue.h>
#include <linux/dlm.h>
#include <linux/buffer_head.h>
#include <linux/rcupdate.h>
#include <linux/rculist_bl.h>
#include <linux/completion.h>
#include <linux/rbtree.h>
#include <linux/ktime.h>
#include <linux/percpu.h>

Go to the source code of this file.

Data Structures

struct  gfs2_log_header_host
 
struct  gfs2_log_operations
 
struct  gfs2_bitmap
 
struct  gfs2_rgrpd
 
struct  gfs2_rbm
 
struct  gfs2_bufdata
 
struct  lm_lockname
 
struct  gfs2_glock_operations
 
struct  gfs2_lkstats
 
struct  gfs2_holder
 
struct  gfs2_blkreserv
 
struct  gfs2_glock
 
struct  gfs2_inode
 
struct  gfs2_file
 
struct  gfs2_revoke_replay
 
struct  gfs2_quota_data
 
struct  gfs2_trans
 
struct  gfs2_ail
 
struct  gfs2_journal_extent
 
struct  gfs2_jdesc
 
struct  gfs2_statfs_change_host
 
struct  gfs2_args
 
struct  gfs2_tune
 
struct  gfs2_inum_host
 
struct  gfs2_sb_host
 
struct  lm_lockstruct
 
struct  gfs2_pcpu_lkstats
 
struct  gfs2_sbd
 

Macros

#define DIO_WAIT   0x00000010
 
#define DIO_METADATA   0x00000020
 
#define GBF_FULL   1
 
#define GFS2_RDF_CHECK   0x10000000 /* check for unlinked inodes */
 
#define GFS2_RDF_UPTODATE   0x20000000 /* rg is up to date */
 
#define GFS2_RDF_ERROR   0x40000000 /* error in rg */
 
#define GFS2_RDF_MASK   0xf0000000 /* mask for internal flags */
 
#define GDLM_STRNAME_BYTES   25
 
#define GDLM_LVB_SIZE   32
 
#define lm_name_equal(name1, name2)
 
#define GLOF_ASPACE   1
 
#define GFS2_MIN_LVB_SIZE   32 /* Min size of LVB that gfs2 supports */
 
#define JDF_RECOVERY   1
 
#define GFS2_QUOTA_DEFAULT   GFS2_QUOTA_OFF
 
#define GFS2_QUOTA_OFF   0
 
#define GFS2_QUOTA_ACCOUNT   1
 
#define GFS2_QUOTA_ON   2
 
#define GFS2_DATA_DEFAULT   GFS2_DATA_ORDERED
 
#define GFS2_DATA_WRITEBACK   1
 
#define GFS2_DATA_ORDERED   2
 
#define GFS2_ERRORS_DEFAULT   GFS2_ERRORS_WITHDRAW
 
#define GFS2_ERRORS_WITHDRAW   0
 
#define GFS2_ERRORS_CONTINUE   1 /* place holder for future feature */
 
#define GFS2_ERRORS_RO   2 /* place holder for future feature */
 
#define GFS2_ERRORS_PANIC   3
 
#define GFS2_FSNAME_LEN   256
 

Typedefs

typedef void(* gfs2_glop_bh_t )(struct gfs2_glock *gl, unsigned int ret)
 

Enumerations

enum  gfs2_state_bits { BH_Pinned = BH_PrivateStart, BH_Escaped = BH_PrivateStart + 1, BH_Zeronew = BH_PrivateStart + 2 }
 
enum  {
  DFL_BLOCK_LOCKS = 0, DFL_NO_DLM_OPS = 1, DFL_FIRST_MOUNT = 2, DFL_FIRST_MOUNT_DONE = 3,
  DFL_MOUNT_DONE = 4, DFL_UNMOUNT = 5, DFL_DLM_RECOVERY = 6
}
 
enum  {
  GFS2_LKS_SRTT = 0, GFS2_LKS_SRTTVAR = 1, GFS2_LKS_SRTTB = 2, GFS2_LKS_SRTTVARB = 3,
  GFS2_LKS_SIRT = 4, GFS2_LKS_SIRTVAR = 5, GFS2_LKS_DCOUNT = 6, GFS2_LKS_QCOUNT = 7,
  GFS2_NR_LKSTATS
}
 
enum  { HIF_HOLDER = 6, HIF_FIRST = 7, HIF_WAIT = 10 }
 
enum  {
  GLF_LOCK = 1, GLF_DEMOTE = 3, GLF_PENDING_DEMOTE = 4, GLF_DEMOTE_IN_PROGRESS = 5,
  GLF_DIRTY = 6, GLF_LFLUSH = 7, GLF_INVALIDATE_IN_PROGRESS = 8, GLF_REPLY_PENDING = 9,
  GLF_INITIAL = 10, GLF_FROZEN = 11, GLF_QUEUED = 12, GLF_LRU = 13,
  GLF_OBJECT = 14, GLF_BLOCKING = 15
}
 
enum  { GIF_INVALID = 0, GIF_QD_LOCKED = 1, GIF_ALLOC_FAILED = 2, GIF_SW_PAGED = 3 }
 
enum  { QDF_USER = 0, QDF_CHANGE = 1, QDF_LOCKED = 2, QDF_REFRESH = 3 }
 
enum  {
  SDF_JOURNAL_CHECKED = 0, SDF_JOURNAL_LIVE = 1, SDF_SHUTDOWN = 2, SDF_NOBARRIERS = 3,
  SDF_NORECOVERY = 4, SDF_DEMOTE = 5, SDF_NOJOURNALID = 6, SDF_RORECOVERY = 7
}
 

Macro Definition Documentation

#define DIO_METADATA   0x00000020

Definition at line 26 of file incore.h.

#define DIO_WAIT   0x00000010

Definition at line 25 of file incore.h.

#define GBF_FULL   1

Definition at line 67 of file incore.h.

#define GDLM_LVB_SIZE   32

Definition at line 154 of file incore.h.

#define GDLM_STRNAME_BYTES   25

Definition at line 153 of file incore.h.

#define GFS2_DATA_DEFAULT   GFS2_DATA_ORDERED

Definition at line 484 of file incore.h.

#define GFS2_DATA_ORDERED   2

Definition at line 486 of file incore.h.

#define GFS2_DATA_WRITEBACK   1

Definition at line 485 of file incore.h.

#define GFS2_ERRORS_CONTINUE   1 /* place holder for future feature */

Definition at line 490 of file incore.h.

#define GFS2_ERRORS_DEFAULT   GFS2_ERRORS_WITHDRAW

Definition at line 488 of file incore.h.

#define GFS2_ERRORS_PANIC   3

Definition at line 492 of file incore.h.

#define GFS2_ERRORS_RO   2 /* place holder for future feature */

Definition at line 491 of file incore.h.

#define GFS2_ERRORS_WITHDRAW   0

Definition at line 489 of file incore.h.

#define GFS2_FSNAME_LEN   256

Definition at line 544 of file incore.h.

#define GFS2_MIN_LVB_SIZE   32 /* Min size of LVB that gfs2 supports */

Definition at line 337 of file incore.h.

#define GFS2_QUOTA_ACCOUNT   1

Definition at line 481 of file incore.h.

#define GFS2_QUOTA_DEFAULT   GFS2_QUOTA_OFF

Definition at line 479 of file incore.h.

#define GFS2_QUOTA_OFF   0

Definition at line 480 of file incore.h.

#define GFS2_QUOTA_ON   2

Definition at line 482 of file incore.h.

#define GFS2_RDF_CHECK   0x10000000 /* check for unlinked inodes */

Definition at line 96 of file incore.h.

#define GFS2_RDF_ERROR   0x40000000 /* error in rg */

Definition at line 98 of file incore.h.

#define GFS2_RDF_MASK   0xf0000000 /* mask for internal flags */

Definition at line 99 of file incore.h.

#define GFS2_RDF_UPTODATE   0x20000000 /* rg is up to date */

Definition at line 97 of file incore.h.

#define GLOF_ASPACE   1

Definition at line 218 of file incore.h.

#define JDF_RECOVERY   1

Definition at line 467 of file incore.h.

#define lm_name_equal (   name1,
  name2 
)
Value:
(((name1)->ln_number == (name2)->ln_number) && \
((name1)->ln_type == (name2)->ln_type))

Definition at line 202 of file incore.h.

Typedef Documentation

typedef void(* gfs2_glop_bh_t)(struct gfs2_glock *gl, unsigned int ret)

Definition at line 39 of file incore.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
DFL_BLOCK_LOCKS 
DFL_NO_DLM_OPS 
DFL_FIRST_MOUNT 
DFL_FIRST_MOUNT_DONE 
DFL_MOUNT_DONE 
DFL_UNMOUNT 
DFL_DLM_RECOVERY 

Definition at line 187 of file incore.h.

anonymous enum
Enumerator:
GFS2_LKS_SRTT 
GFS2_LKS_SRTTVAR 
GFS2_LKS_SRTTB 
GFS2_LKS_SRTTVARB 
GFS2_LKS_SIRT 
GFS2_LKS_SIRTVAR 
GFS2_LKS_DCOUNT 
GFS2_LKS_QCOUNT 
GFS2_NR_LKSTATS 

Definition at line 221 of file incore.h.

anonymous enum
Enumerator:
HIF_HOLDER 
HIF_FIRST 
HIF_WAIT 

Definition at line 237 of file incore.h.

anonymous enum
Enumerator:
GLF_LOCK 
GLF_DEMOTE 
GLF_PENDING_DEMOTE 
GLF_DEMOTE_IN_PROGRESS 
GLF_DIRTY 
GLF_LFLUSH 
GLF_INVALIDATE_IN_PROGRESS 
GLF_REPLY_PENDING 
GLF_INITIAL 
GLF_FROZEN 
GLF_QUEUED 
GLF_LRU 
GLF_OBJECT 
GLF_BLOCKING 

Definition at line 282 of file incore.h.

anonymous enum
Enumerator:
GIF_INVALID 
GIF_QD_LOCKED 
GIF_ALLOC_FAILED 
GIF_SW_PAGED 

Definition at line 339 of file incore.h.

anonymous enum
Enumerator:
QDF_USER 
QDF_CHANGE 
QDF_LOCKED 
QDF_REFRESH 

Definition at line 393 of file incore.h.

anonymous enum
Enumerator:
SDF_JOURNAL_CHECKED 
SDF_JOURNAL_LIVE 
SDF_SHUTDOWN 
SDF_NOBARRIERS 
SDF_NORECOVERY 
SDF_DEMOTE 
SDF_NOJOURNALID 
SDF_RORECOVERY 

Definition at line 533 of file incore.h.

Enumerator:
BH_Pinned 
BH_Escaped 
BH_Zeronew 

Definition at line 122 of file incore.h.