/fs/gfs2/ |
D | glock.h | 130 void (*lm_put_lock) (struct gfs2_glock *gl); 131 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state, 133 void (*lm_cancel) (struct gfs2_glock *gl); 138 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() 159 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl() 164 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd() 169 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd() 174 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace() 183 int create, struct gfs2_glock **glp); 184 void gfs2_glock_hold(struct gfs2_glock *gl); [all …]
|
D | glock.c | 51 struct gfs2_glock *gl; /* current glock struct */ 55 typedef void (*glock_examiner) (struct gfs2_glock * gl); 57 static int __dump_glock(struct seq_file *seq, const struct gfs2_glock *gl); 59 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 107 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() 115 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free() 130 void gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold() 143 static int demote_ok(const struct gfs2_glock *gl) in demote_ok() 157 void gfs2_glock_add_to_lru(struct gfs2_glock *gl) in gfs2_glock_add_to_lru() 171 static void __gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in __gfs2_glock_remove_from_lru() [all …]
|
D | incore.h | 31 struct gfs2_glock; 39 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret); 85 struct gfs2_glock *rd_gl; /* Glock for this rgrp */ 120 struct gfs2_glock *bd_gl; 196 void (*go_xmote_th) (struct gfs2_glock *gl); 197 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); 198 void (*go_inval) (struct gfs2_glock *gl, int flags); 199 int (*go_demote_ok) (const struct gfs2_glock *gl); 202 int (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl); 203 void (*go_callback) (struct gfs2_glock *gl); [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 | glops.c | 31 static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) in gfs2_ail_error() 50 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in __gfs2_ail_flush() 83 static void gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl() 108 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() 134 static void rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync() 167 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) in rgrp_go_inval() 187 static void inode_go_sync(struct gfs2_glock *gl) in inode_go_sync() 232 static void inode_go_inval(struct gfs2_glock *gl, int flags) in inode_go_inval() 263 static int inode_go_demote_ok(const struct gfs2_glock *gl) in inode_go_demote_ok() 404 struct gfs2_glock *gl = gh->gh_gl; in inode_go_lock() [all …]
|
D | meta_io.c | 106 void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync() 127 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() 192 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() 210 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() 278 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, in gfs2_attach_bufdata() 388 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_indirect_buffer() 419 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
|
D | main.c | 53 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() 66 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once() 106 sizeof(struct gfs2_glock), in init_gfs2_fs() 113 sizeof(struct gfs2_glock) + in init_gfs2_fs()
|
D | trans.h | 16 struct gfs2_glock; 43 extern void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta);
|
D | lock_dlm.c | 71 static inline void gfs2_update_reply_times(struct gfs2_glock *gl) in gfs2_update_reply_times() 98 static inline void gfs2_update_request_times(struct gfs2_glock *gl) in gfs2_update_request_times() 117 struct gfs2_glock *gl = arg; in gdlm_ast() 166 struct gfs2_glock *gl = arg; in gdlm_bast() 203 static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, in make_flags() 248 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock() 277 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock() 302 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
|
D | trace_gfs2.h | 79 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state), 118 TP_PROTO(const struct gfs2_glock *gl), 150 TP_PROTO(const struct gfs2_glock *gl), 244 TP_PROTO(const struct gfs2_glock *gl, s64 tdiff),
|
D | lops.c | 71 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() 116 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() 374 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() 438 struct gfs2_glock *gl = bd->bd_gl; in revoke_lo_add() 495 struct gfs2_glock *gl; in revoke_lo_after_commit() 745 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
|
D | glops.h | 26 extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
D | log.h | 57 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl);
|
D | rgrp.h | 65 extern int gfs2_rgrp_dump(struct seq_file *seq, const struct gfs2_glock *gl);
|
D | rgrp.c | 422 struct gfs2_glock *gl; in gfs2_clear_rgrpd() 694 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update() 756 struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_go_lock() 1051 struct gfs2_glock *gl; in try_rgrp_unlink() 1453 int gfs2_rgrp_dump(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_rgrp_dump()
|
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 | inode.c | 145 struct gfs2_glock *io_gl = NULL; in gfs2_inode_lookup() 445 static void init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, in init_dinode() 514 static int make_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, in make_dinode() 782 struct gfs2_glock *gl = GFS2_I(inode)->i_gl; in gfs2_lookup()
|
D | log.c | 99 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() 645 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) in gfs2_log_flush()
|
D | super.c | 372 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw() 1267 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1388 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages()
|
D | bmap.c | 272 static void gfs2_metapath_ra(struct gfs2_glock *gl, in gfs2_metapath_ra() 399 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
|
D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
|
D | sys.c | 207 struct gfs2_glock *gl; in demote_rq_store()
|
D | file.c | 920 struct gfs2_glock *gl; in do_flock()
|
D | dir.c | 1393 struct gfs2_glock *gl = ip->i_gl; in gfs2_dir_readahead()
|