/linux-2.6.39/fs/gfs2/ |
D | glock.h | 121 void (*lm_put_lock) (struct gfs2_glock *gl); 122 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state, 124 void (*lm_cancel) (struct gfs2_glock *gl); 129 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() 150 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl() 155 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd() 160 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd() 165 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace() 174 int create, struct gfs2_glock **glp); 175 void gfs2_glock_hold(struct gfs2_glock *gl); [all …]
|
D | glock.c | 50 struct gfs2_glock *gl; /* current glock struct */ 54 typedef void (*glock_examiner) (struct gfs2_glock * gl); 56 static int __dump_glock(struct seq_file *seq, const struct gfs2_glock *gl); 58 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 106 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() 114 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free() 129 void gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold() 142 static int demote_ok(const struct gfs2_glock *gl) in demote_ok() 169 static void __gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl) in __gfs2_glock_schedule_for_reclaim() 184 void gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl) in gfs2_glock_schedule_for_reclaim() [all …]
|
D | meta_io.h | 46 return (((struct gfs2_glock *)mapping) - 1)->gl_sbd; in gfs2_mapping2sbd() 51 void gfs2_meta_sync(struct gfs2_glock *gl); 53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 54 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, 57 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create); 59 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, 76 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
D | incore.h | 28 struct gfs2_glock; 36 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret); 83 struct gfs2_glock *rd_gl; /* Glock for this rgrp */ 118 struct gfs2_glock *bd_gl; 157 void (*go_xmote_th) (struct gfs2_glock *gl); 158 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); 159 void (*go_inval) (struct gfs2_glock *gl, int flags); 160 int (*go_demote_ok) (const struct gfs2_glock *gl); 163 int (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl); 164 void (*go_callback) (struct gfs2_glock *gl); [all …]
|
D | glops.c | 37 static void gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl() 93 static void rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync() 119 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) in rgrp_go_inval() 139 static void inode_go_sync(struct gfs2_glock *gl) in inode_go_sync() 184 static void inode_go_inval(struct gfs2_glock *gl, int flags) in inode_go_inval() 212 static int inode_go_demote_ok(const struct gfs2_glock *gl) in inode_go_demote_ok() 239 struct gfs2_glock *gl = gh->gh_gl; in inode_go_lock() 275 static int inode_go_dump(struct seq_file *seq, const struct gfs2_glock *gl) in inode_go_dump() 324 static void trans_go_sync(struct gfs2_glock *gl) in trans_go_sync() 341 static int trans_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in trans_go_xmote_bh() [all …]
|
D | main.c | 48 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() 60 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once() 90 sizeof(struct gfs2_glock), in init_gfs2_fs() 97 sizeof(struct gfs2_glock) + in init_gfs2_fs()
|
D | lock_dlm.c | 23 struct gfs2_glock *gl = arg; in gdlm_ast() 71 struct gfs2_glock *gl = arg; in gdlm_bast() 143 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock() 161 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock() 182 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
|
D | meta_io.c | 105 void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync() 126 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() 191 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() 209 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() 277 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, in gfs2_attach_bufdata() 386 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_indirect_buffer() 417 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
|
D | trans.h | 16 struct gfs2_glock; 42 void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta);
|
D | log.h | 59 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl);
|
D | trace_gfs2.h | 74 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state), 113 TP_PROTO(const struct gfs2_glock *gl), 145 TP_PROTO(const struct gfs2_glock *gl),
|
D | rgrp.h | 76 extern int gfs2_rgrp_dump(struct seq_file *seq, const struct gfs2_glock *gl);
|
D | trans.c | 143 void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta) in gfs2_trans_add_bh()
|
D | lops.c | 90 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() 262 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() 658 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
|
D | rgrp.c | 368 struct gfs2_glock *gl; in clear_rgrpdi() 637 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_hold() 697 struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_bh_get() 932 struct gfs2_glock *gl; in try_rgrp_unlink() 1448 int gfs2_rgrp_dump(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_rgrp_dump()
|
D | inode.c | 148 struct gfs2_glock *io_gl = NULL; in gfs2_inode_lookup() 627 static void init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, in init_dinode() 686 static int make_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, in make_dinode()
|
D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
|
D | super.c | 371 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw() 1193 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode()
|
D | sys.c | 206 struct gfs2_glock *gl; in demote_rq_store()
|
D | log.c | 690 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) in gfs2_log_flush()
|
D | file.c | 980 struct gfs2_glock *gl; in do_flock()
|
D | bmap.c | 379 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
|
D | ops_inode.c | 112 struct gfs2_glock *gl = GFS2_I(inode)->i_gl; in gfs2_lookup()
|
/linux-2.6.39/Documentation/filesystems/ |
D | gfs2-glocks.txt | 5 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
|