/linux-master/fs/gfs2/ |
H A D | glops.h | 25 int gfs2_inode_metasync(struct gfs2_glock *gl); 26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
H A D | glock.h | 127 void (*lm_put_lock) (struct gfs2_glock *gl); 128 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state, 130 void (*lm_cancel) (struct gfs2_glock *gl); 135 struct gfs2_glock glock; 139 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) 160 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) 172 int create, struct gfs2_glock **glp); 173 struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl); 174 void gfs2_glock_put(struct gfs2_glock *g [all...] |
H A D | trans.h | 13 struct gfs2_glock; 44 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh); 45 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);
|
H A D | meta_io.h | 53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 54 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 57 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, 75 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
H A D | glops.c | 34 static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) 59 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, 88 static int gfs2_ail_empty_gl(struct gfs2_glock *gl) 141 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) 165 static int gfs2_rgrp_metasync(struct gfs2_glock *gl) 193 static int rgrp_go_sync(struct gfs2_glock *gl) 222 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) 239 static void gfs2_rgrp_go_dump(struct seq_file *seq, const struct gfs2_glock *gl, 248 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) 260 struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *g [all...] |
H A D | incore.h | 31 struct gfs2_glock; 38 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret); 103 struct gfs2_glock *rd_gl; /* Glock for this rgrp */ 142 struct gfs2_glock *bd_gl; 218 int (*go_sync) (struct gfs2_glock *gl); 219 int (*go_xmote_bh)(struct gfs2_glock *gl); 220 void (*go_inval) (struct gfs2_glock *gl, int flags); 221 int (*go_demote_ok) (const struct gfs2_glock *gl); 222 int (*go_instantiate) (struct gfs2_glock *gl); 224 void (*go_dump)(struct seq_file *seq, const struct gfs2_glock *g 337 struct gfs2_glock { struct [all...] |
H A D | glock.c | 57 struct gfs2_glock *gl; /* current glock struct */ 61 typedef void (*glock_examiner) (struct gfs2_glock * gl); 63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 65 static void handle_callback(struct gfs2_glock *gl, unsigned int state, 80 .key_offset = offsetof(struct gfs2_glock, gl_name), 81 .head_offset = offsetof(struct gfs2_glock, gl_node), 121 static void wake_up_glock(struct gfs2_glock *gl) 131 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); 155 static bool glock_blocked_by_withdraw(struct gfs2_glock *g [all...] |
H A D | log.h | 86 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, 94 void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
|
H A D | main.c | 52 struct gfs2_glock *gl = foo; 97 gfs2_glock_cachep = kmem_cache_create("gfs2_glock", 98 sizeof(struct gfs2_glock), 104 gfs2_glock_aspace_cachep = kmem_cache_create("gfs2_glock(aspace)",
|
H A D | meta_io.c | 114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) 181 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) 248 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 481 struct gfs2_glock *gl = ip->i_gl; 508 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen)
|
H A D | trans.c | 163 static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, 192 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) 229 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh)
|
H A D | rgrp.h | 34 int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl);
|
H A D | lock_dlm.c | 75 static inline void gfs2_update_reply_times(struct gfs2_glock *gl) 102 static inline void gfs2_update_request_times(struct gfs2_glock *gl) 121 struct gfs2_glock *gl = arg; 172 struct gfs2_glock *gl = arg; 209 static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, 252 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, 288 static void gdlm_put_lock(struct gfs2_glock *gl) 330 static void gdlm_cancel(struct gfs2_glock *gl)
|
H A D | lops.c | 73 struct gfs2_glock *gl = bd->bd_gl; 122 struct gfs2_glock *gl = bd->bd_gl; 784 struct gfs2_glock *gl = ip->i_gl; 894 struct gfs2_glock *gl; 1008 struct gfs2_glock *gl = ip->i_gl;
|
H A D | super.c | 132 struct gfs2_glock *j_gl = ip->i_gl; 1031 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; 1044 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; 1178 struct gfs2_glock *gl = ip->i_gl; 1251 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) 1516 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
|
H A D | util.c | 120 struct gfs2_glock *live_gl = sdp->sd_live_gh.gh_gl; 123 struct gfs2_glock *i_gl;
|
H A D | trace_gfs2.h | 92 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state), 131 TP_PROTO(const struct gfs2_glock *gl), 163 TP_PROTO(const struct gfs2_glock *gl, bool remote), 257 TP_PROTO(const struct gfs2_glock *gl, s64 tdiff),
|
H A D | log.c | 106 struct gfs2_glock *gl = NULL; 772 struct gfs2_glock *gl = bd->bd_gl; 785 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) 1040 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
|
H A D | inode.c | 132 struct gfs2_glock *io_gl; 631 struct gfs2_glock *io_gl; 893 struct gfs2_glock *gl; 1874 struct gfs2_glock *gl; 2161 struct gfs2_glock *gl = ip->i_gl;
|
H A D | rgrp.c | 720 struct gfs2_glock *gl; 1037 struct gfs2_glock *gl = ip->i_gl; 1199 int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl) 1846 struct gfs2_glock *gl; 1925 const struct gfs2_glock *gl = rgd->rd_gl; 2019 struct gfs2_glock *gl = rgd->rd_gl;
|
H A D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl;
|
H A D | file.c | 1462 struct gfs2_glock *gl = gfs2_glock_hold(fl_gh->gh_gl); 1480 struct gfs2_glock *gl;
|
H A D | sys.c | 304 struct gfs2_glock *gl;
|
H A D | bmap.c | 294 static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) 609 struct gfs2_glock *gl, unsigned int i,
|
H A D | dir.c | 1483 struct gfs2_glock *gl = ip->i_gl;
|