Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
lops.h File Reference
#include <linux/list.h>
#include "incore.h"

Go to the source code of this file.

Macros

#define BUF_OFFSET
 
#define DATABUF_OFFSET
 

Functions

void gfs2_log_write_page (struct gfs2_sbd *sdp, struct page *page)
 
void gfs2_log_flush_bio (struct gfs2_sbd *sdp, int rw)
 

Variables

struct gfs2_log_operations gfs2_glock_lops
 
struct gfs2_log_operations gfs2_buf_lops
 
struct gfs2_log_operations gfs2_revoke_lops
 
struct gfs2_log_operations gfs2_rg_lops
 
struct gfs2_log_operations gfs2_databuf_lops
 
struct gfs2_log_operationsgfs2_log_ops []
 

Macro Definition Documentation

#define BUF_OFFSET
Value:
((sizeof(struct gfs2_log_descriptor) + sizeof(__be64) - 1) & \
~(sizeof(__be64) - 1))

Definition at line 16 of file lops.h.

#define DATABUF_OFFSET
Value:
((sizeof(struct gfs2_log_descriptor) + (2 * sizeof(__be64) - 1)) & \
~(2 * sizeof(__be64) - 1))

Definition at line 19 of file lops.h.

Function Documentation

void gfs2_log_flush_bio ( struct gfs2_sbd sdp,
int  rw 
)

gfs2_log_flush_bio - Submit any pending log bio : The superblock : The rw flags

Submit any pending part-built or full bio to the block device. If there is no pending bio, then this is a no-op.

Definition at line 237 of file lops.c.

void gfs2_log_write_page ( struct gfs2_sbd sdp,
struct page page 
)

Definition at line 369 of file lops.c.

Variable Documentation

struct gfs2_log_operations gfs2_buf_lops

Definition at line 887 of file lops.c.

struct gfs2_log_operations gfs2_databuf_lops

Definition at line 911 of file lops.c.

struct gfs2_log_operations gfs2_glock_lops
struct gfs2_log_operations* gfs2_log_ops[]

Definition at line 920 of file lops.c.

struct gfs2_log_operations gfs2_revoke_lops

Definition at line 897 of file lops.c.

Definition at line 907 of file lops.c.