Go to the documentation of this file.
10 #ifndef __LOPS_DOT_H__
11 #define __LOPS_DOT_H__
13 #include <linux/list.h>
17 ((sizeof(struct gfs2_log_descriptor) + sizeof(__be64) - 1) & \
18 ~(sizeof(__be64) - 1))
19 #define DATABUF_OFFSET \
20 ((sizeof(struct gfs2_log_descriptor) + (2 * sizeof(__be64) - 1)) & \
21 ~(2 * sizeof(__be64) - 1))
41 static inline unsigned int databuf_limit(
struct gfs2_sbd *sdp)
59 bd->
bd_ops->lo_add(sdp, bd);
62 static inline void lops_before_commit(
struct gfs2_sbd *sdp)
65 for (x = 0; gfs2_log_ops[
x]; x++)
70 static inline void lops_after_commit(
struct gfs2_sbd *sdp,
struct gfs2_ail *ai)
73 for (x = 0; gfs2_log_ops[
x]; x++)
78 static inline void lops_before_scan(
struct gfs2_jdesc *jd,
83 for (x = 0; gfs2_log_ops[
x]; x++)
88 static inline int lops_scan_elements(
struct gfs2_jdesc *jd,
unsigned int start,
94 for (x = 0; gfs2_log_ops[
x]; x++)
105 static inline void lops_after_scan(
struct gfs2_jdesc *jd,
int error,
109 for (x = 0; gfs2_log_ops[
x]; x++)