gfs2_glock 299 fs/gfs2/bmap.c static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) gfs2_glock 610 fs/gfs2/bmap.c struct gfs2_glock *gl, unsigned int i, gfs2_glock 1484 fs/gfs2/dir.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 1218 fs/gfs2/file.c struct gfs2_glock *gl; gfs2_glock 54 fs/gfs2/glock.c struct gfs2_glock *gl; /* current glock struct */ gfs2_glock 58 fs/gfs2/glock.c typedef void (*glock_examiner) (struct gfs2_glock * gl); gfs2_glock 60 fs/gfs2/glock.c static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); gfs2_glock 75 fs/gfs2/glock.c .key_offset = offsetof(struct gfs2_glock, gl_name), gfs2_glock 76 fs/gfs2/glock.c .head_offset = offsetof(struct gfs2_glock, gl_node), gfs2_glock 116 fs/gfs2/glock.c static void wake_up_glock(struct gfs2_glock *gl) gfs2_glock 126 fs/gfs2/glock.c struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); gfs2_glock 136 fs/gfs2/glock.c void gfs2_glock_free(struct gfs2_glock *gl) gfs2_glock 155 fs/gfs2/glock.c void gfs2_glock_hold(struct gfs2_glock *gl) gfs2_glock 168 fs/gfs2/glock.c static int demote_ok(const struct gfs2_glock *gl) gfs2_glock 182 fs/gfs2/glock.c void gfs2_glock_add_to_lru(struct gfs2_glock *gl) gfs2_glock 200 fs/gfs2/glock.c static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl) gfs2_glock 218 fs/gfs2/glock.c static void __gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { gfs2_glock 231 fs/gfs2/glock.c static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { gfs2_glock 237 fs/gfs2/glock.c static void __gfs2_glock_put(struct gfs2_glock *gl) gfs2_glock 255 fs/gfs2/glock.c void gfs2_glock_queue_put(struct gfs2_glock *gl) gfs2_glock 266 fs/gfs2/glock.c void gfs2_glock_put(struct gfs2_glock *gl) gfs2_glock 282 fs/gfs2/glock.c static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) gfs2_glock 320 fs/gfs2/glock.c static void do_error(struct gfs2_glock *gl, const int ret) gfs2_glock 347 fs/gfs2/glock.c static int do_promote(struct gfs2_glock *gl) gfs2_glock 398 fs/gfs2/glock.c static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) gfs2_glock 416 fs/gfs2/glock.c static void state_change(struct gfs2_glock *gl, unsigned int new_state) gfs2_glock 441 fs/gfs2/glock.c static void gfs2_demote_wake(struct gfs2_glock *gl) gfs2_glock 456 fs/gfs2/glock.c static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) gfs2_glock 543 fs/gfs2/glock.c static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) gfs2_glock 605 fs/gfs2/glock.c static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) gfs2_glock 624 fs/gfs2/glock.c static void run_queue(struct gfs2_glock *gl, const int nonblock) gfs2_glock 677 fs/gfs2/glock.c struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_delete); gfs2_glock 700 fs/gfs2/glock.c struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); gfs2_glock 744 fs/gfs2/glock.c static struct gfs2_glock *find_insert_glock(struct lm_lockname *name, gfs2_glock 745 fs/gfs2/glock.c struct gfs2_glock *new) gfs2_glock 749 fs/gfs2/glock.c struct gfs2_glock *gl; gfs2_glock 793 fs/gfs2/glock.c struct gfs2_glock **glp) gfs2_glock 799 fs/gfs2/glock.c struct gfs2_glock *gl, *tmp; gfs2_glock 891 fs/gfs2/glock.c void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, gfs2_glock 939 fs/gfs2/glock.c static void gfs2_glock_update_hold_time(struct gfs2_glock *gl, gfs2_glock 1061 fs/gfs2/glock.c static void handle_callback(struct gfs2_glock *gl, unsigned int state, gfs2_glock 1112 fs/gfs2/glock.c struct gfs2_glock *gl = gh->gh_gl; gfs2_glock 1190 fs/gfs2/glock.c struct gfs2_glock *gl = gh->gh_gl; gfs2_glock 1237 fs/gfs2/glock.c struct gfs2_glock *gl = gh->gh_gl; gfs2_glock 1278 fs/gfs2/glock.c struct gfs2_glock *gl = gh->gh_gl; gfs2_glock 1312 fs/gfs2/glock.c struct gfs2_glock *gl; gfs2_glock 1432 fs/gfs2/glock.c void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) gfs2_glock 1465 fs/gfs2/glock.c static int gfs2_should_freeze(const struct gfs2_glock *gl) gfs2_glock 1493 fs/gfs2/glock.c void gfs2_glock_complete(struct gfs2_glock *gl, int ret) gfs2_glock 1516 fs/gfs2/glock.c struct gfs2_glock *gla, *glb; gfs2_glock 1518 fs/gfs2/glock.c gla = list_entry(a, struct gfs2_glock, gl_lru); gfs2_glock 1519 fs/gfs2/glock.c glb = list_entry(b, struct gfs2_glock, gl_lru); gfs2_glock 1547 fs/gfs2/glock.c struct gfs2_glock *gl; gfs2_glock 1552 fs/gfs2/glock.c gl = list_entry(list->next, struct gfs2_glock, gl_lru); gfs2_glock 1586 fs/gfs2/glock.c struct gfs2_glock *gl; gfs2_glock 1593 fs/gfs2/glock.c gl = list_entry(lru_list.next, struct gfs2_glock, gl_lru); gfs2_glock 1647 fs/gfs2/glock.c struct gfs2_glock *gl; gfs2_glock 1672 fs/gfs2/glock.c static void thaw_glock(struct gfs2_glock *gl) gfs2_glock 1688 fs/gfs2/glock.c static void clear_glock(struct gfs2_glock *gl) gfs2_glock 1710 fs/gfs2/glock.c static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) gfs2_glock 1717 fs/gfs2/glock.c static void dump_glock_func(struct gfs2_glock *gl) gfs2_glock 1744 fs/gfs2/glock.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 1827 fs/gfs2/glock.c static const char *gflags2str(char *buf, const struct gfs2_glock *gl) gfs2_glock 1882 fs/gfs2/glock.c void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) gfs2_glock 1918 fs/gfs2/glock.c struct gfs2_glock *gl = iter_ptr; gfs2_glock 2035 fs/gfs2/glock.c struct gfs2_glock *gl = gi->gl; gfs2_glock 128 fs/gfs2/glock.h void (*lm_put_lock) (struct gfs2_glock *gl); gfs2_glock 129 fs/gfs2/glock.h int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state, gfs2_glock 131 fs/gfs2/glock.h void (*lm_cancel) (struct gfs2_glock *gl); gfs2_glock 136 fs/gfs2/glock.h static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) gfs2_glock 157 fs/gfs2/glock.h static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) gfs2_glock 162 fs/gfs2/glock.h static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) gfs2_glock 167 fs/gfs2/glock.h static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) gfs2_glock 172 fs/gfs2/glock.h static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) gfs2_glock 181 fs/gfs2/glock.h int create, struct gfs2_glock **glp); gfs2_glock 182 fs/gfs2/glock.h extern void gfs2_glock_hold(struct gfs2_glock *gl); gfs2_glock 183 fs/gfs2/glock.h extern void gfs2_glock_put(struct gfs2_glock *gl); gfs2_glock 184 fs/gfs2/glock.h extern void gfs2_glock_queue_put(struct gfs2_glock *gl); gfs2_glock 185 fs/gfs2/glock.h extern void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, gfs2_glock 203 fs/gfs2/glock.h extern void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl, gfs2_glock 221 fs/gfs2/glock.h static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, gfs2_glock 236 fs/gfs2/glock.h extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state); gfs2_glock 237 fs/gfs2/glock.h extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret); gfs2_glock 241 fs/gfs2/glock.h extern void gfs2_glock_add_to_lru(struct gfs2_glock *gl); gfs2_glock 242 fs/gfs2/glock.h extern void gfs2_glock_free(struct gfs2_glock *gl); gfs2_glock 274 fs/gfs2/glock.h static inline void glock_set_object(struct gfs2_glock *gl, void *object) gfs2_glock 301 fs/gfs2/glock.h static inline void glock_clear_object(struct gfs2_glock *gl, void *object) gfs2_glock 32 fs/gfs2/glops.c static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) gfs2_glock 53 fs/gfs2/glops.c static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, gfs2_glock 82 fs/gfs2/glops.c static void gfs2_ail_empty_gl(struct gfs2_glock *gl) gfs2_glock 137 fs/gfs2/glops.c void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) gfs2_glock 168 fs/gfs2/glops.c static void rgrp_go_sync(struct gfs2_glock *gl) gfs2_glock 209 fs/gfs2/glops.c static void rgrp_go_inval(struct gfs2_glock *gl, int flags) gfs2_glock 226 fs/gfs2/glops.c static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) gfs2_glock 238 fs/gfs2/glops.c struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl) gfs2_glock 264 fs/gfs2/glops.c static void inode_go_sync(struct gfs2_glock *gl) gfs2_glock 315 fs/gfs2/glops.c static void inode_go_inval(struct gfs2_glock *gl, int flags) gfs2_glock 351 fs/gfs2/glops.c static int inode_go_demote_ok(const struct gfs2_glock *gl) gfs2_glock 454 fs/gfs2/glops.c struct gfs2_glock *gl = gh->gh_gl; gfs2_glock 493 fs/gfs2/glops.c static void inode_go_dump(struct seq_file *seq, struct gfs2_glock *gl, gfs2_glock 524 fs/gfs2/glops.c static void freeze_go_sync(struct gfs2_glock *gl) gfs2_glock 550 fs/gfs2/glops.c static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) gfs2_glock 554 fs/gfs2/glops.c struct gfs2_glock *j_gl = ip->i_gl; gfs2_glock 583 fs/gfs2/glops.c static int freeze_go_demote_ok(const struct gfs2_glock *gl) gfs2_glock 594 fs/gfs2/glops.c static void iopen_go_callback(struct gfs2_glock *gl, bool remote) gfs2_glock 25 fs/gfs2/glops.h extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync); gfs2_glock 30 fs/gfs2/incore.h struct gfs2_glock; gfs2_glock 37 fs/gfs2/incore.h typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret); gfs2_glock 98 fs/gfs2/incore.h struct gfs2_glock *rd_gl; /* Glock for this rgrp */ gfs2_glock 161 fs/gfs2/incore.h struct gfs2_glock *bd_gl; gfs2_glock 237 fs/gfs2/incore.h void (*go_sync) (struct gfs2_glock *gl); gfs2_glock 238 fs/gfs2/incore.h int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); gfs2_glock 239 fs/gfs2/incore.h void (*go_inval) (struct gfs2_glock *gl, int flags); gfs2_glock 240 fs/gfs2/incore.h int (*go_demote_ok) (const struct gfs2_glock *gl); gfs2_glock 243 fs/gfs2/incore.h void (*go_dump)(struct seq_file *seq, struct gfs2_glock *gl, gfs2_glock 245 fs/gfs2/incore.h void (*go_callback)(struct gfs2_glock *gl, bool remote); gfs2_glock 279 fs/gfs2/incore.h struct gfs2_glock *gh_gl; gfs2_glock 409 fs/gfs2/incore.h struct gfs2_glock *i_gl; /* Move into i_gh? */ gfs2_glock 481 fs/gfs2/incore.h struct gfs2_glock *qd_gl; gfs2_glock 724 fs/gfs2/incore.h struct gfs2_glock *sd_rename_gl; gfs2_glock 725 fs/gfs2/incore.h struct gfs2_glock *sd_freeze_gl; gfs2_glock 857 fs/gfs2/incore.h static inline void gfs2_glstats_inc(struct gfs2_glock *gl, int which) gfs2_glock 862 fs/gfs2/incore.h static inline void gfs2_sbstats_inc(const struct gfs2_glock *gl, int which) gfs2_glock 870 fs/gfs2/incore.h extern struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl); gfs2_glock 126 fs/gfs2/inode.c struct gfs2_glock *io_gl = NULL; gfs2_glock 588 fs/gfs2/inode.c struct gfs2_glock *io_gl = NULL; gfs2_glock 841 fs/gfs2/inode.c struct gfs2_glock *gl; gfs2_glock 70 fs/gfs2/lock_dlm.c static inline void gfs2_update_reply_times(struct gfs2_glock *gl) gfs2_glock 97 fs/gfs2/lock_dlm.c static inline void gfs2_update_request_times(struct gfs2_glock *gl) gfs2_glock 116 fs/gfs2/lock_dlm.c struct gfs2_glock *gl = arg; gfs2_glock 165 fs/gfs2/lock_dlm.c struct gfs2_glock *gl = arg; gfs2_glock 202 fs/gfs2/lock_dlm.c static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, gfs2_glock 250 fs/gfs2/lock_dlm.c static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, gfs2_glock 279 fs/gfs2/lock_dlm.c static void gdlm_put_lock(struct gfs2_glock *gl) gfs2_glock 317 fs/gfs2/lock_dlm.c static void gdlm_cancel(struct gfs2_glock *gl) gfs2_glock 97 fs/gfs2/log.c struct gfs2_glock *gl = NULL; gfs2_glock 599 fs/gfs2/log.c struct gfs2_glock *gl = bd->bd_gl; gfs2_glock 612 fs/gfs2/log.c void gfs2_glock_remove_revoke(struct gfs2_glock *gl) gfs2_glock 792 fs/gfs2/log.c void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) gfs2_glock 72 fs/gfs2/log.h extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, gfs2_glock 81 fs/gfs2/log.h extern void gfs2_glock_remove_revoke(struct gfs2_glock *gl); gfs2_glock 72 fs/gfs2/lops.c struct gfs2_glock *gl = bd->bd_gl; gfs2_glock 118 fs/gfs2/lops.c struct gfs2_glock *gl = bd->bd_gl; gfs2_glock 754 fs/gfs2/lops.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 821 fs/gfs2/lops.c static void gfs2_meta_sync(struct gfs2_glock *gl) gfs2_glock 899 fs/gfs2/lops.c struct gfs2_glock *gl; gfs2_glock 1007 fs/gfs2/lops.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 52 fs/gfs2/main.c struct gfs2_glock *gl = foo; gfs2_glock 64 fs/gfs2/main.c struct gfs2_glock *gl = foo; gfs2_glock 99 fs/gfs2/main.c sizeof(struct gfs2_glock), gfs2_glock 106 fs/gfs2/main.c sizeof(struct gfs2_glock) + gfs2_glock 110 fs/gfs2/meta_io.c struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) gfs2_glock 178 fs/gfs2/meta_io.c struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) gfs2_glock 247 fs/gfs2/meta_io.c int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, gfs2_glock 406 fs/gfs2/meta_io.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 434 fs/gfs2/meta_io.c struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) gfs2_glock 44 fs/gfs2/meta_io.h return (((struct gfs2_glock *)mapping) - 1)->gl_name.ln_sbd; gfs2_glock 51 fs/gfs2/meta_io.h extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); gfs2_glock 52 fs/gfs2/meta_io.h extern int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, gfs2_glock 55 fs/gfs2/meta_io.h extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, gfs2_glock 73 fs/gfs2/meta_io.h struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen); gfs2_glock 36 fs/gfs2/recovery.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 724 fs/gfs2/rgrp.c struct gfs2_glock *gl; gfs2_glock 1037 fs/gfs2/rgrp.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 1185 fs/gfs2/rgrp.c struct gfs2_glock *gl = rgd->rd_gl; gfs2_glock 1838 fs/gfs2/rgrp.c struct gfs2_glock *gl; gfs2_glock 1919 fs/gfs2/rgrp.c const struct gfs2_glock *gl = rgd->rd_gl; gfs2_glock 2012 fs/gfs2/rgrp.c struct gfs2_glock *gl = rgd->rd_gl; gfs2_glock 2255 fs/gfs2/rgrp.c void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl, gfs2_glock 72 fs/gfs2/rgrp.h extern void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl, gfs2_glock 159 fs/gfs2/super.c struct gfs2_glock *j_gl = ip->i_gl; gfs2_glock 999 fs/gfs2/super.c struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; gfs2_glock 1012 fs/gfs2/super.c struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; gfs2_glock 1143 fs/gfs2/super.c struct gfs2_glock *gl = ip->i_gl; gfs2_glock 1211 fs/gfs2/super.c static void gfs2_glock_put_eventually(struct gfs2_glock *gl) gfs2_glock 1380 fs/gfs2/super.c struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; gfs2_glock 228 fs/gfs2/sys.c struct gfs2_glock *gl; gfs2_glock 93 fs/gfs2/trace_gfs2.h TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state), gfs2_glock 132 fs/gfs2/trace_gfs2.h TP_PROTO(const struct gfs2_glock *gl), gfs2_glock 164 fs/gfs2/trace_gfs2.h TP_PROTO(const struct gfs2_glock *gl, bool remote), gfs2_glock 261 fs/gfs2/trace_gfs2.h TP_PROTO(const struct gfs2_glock *gl, s64 tdiff), gfs2_glock 123 fs/gfs2/trans.c static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, gfs2_glock 150 fs/gfs2/trans.c void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) gfs2_glock 187 fs/gfs2/trans.c void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh) gfs2_glock 13 fs/gfs2/trans.h struct gfs2_glock; gfs2_glock 41 fs/gfs2/trans.h extern void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh); gfs2_glock 42 fs/gfs2/trans.h extern void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);