Lines Matching defs:gl

51 	struct gfs2_glock *gl;		/* current glock struct      */  member
58 #define GLOCK_BUG_ON(gl,x) do { if (unlikely(x)) { __dump_glock(NULL, gl); BUG(); } } while(0) argument
107 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() local
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()
180 static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in gfs2_glock_remove_from_lru()
195 static void __gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl) in __gfs2_glock_schedule_for_reclaim()
209 void gfs2_glock_put_nolock(struct gfs2_glock *gl) in gfs2_glock_put_nolock()
221 void gfs2_glock_put(struct gfs2_glock *gl) in gfs2_glock_put()
251 struct gfs2_glock *gl; in search_bucket() local
274 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
307 static inline void do_error(struct gfs2_glock *gl, const int ret) in do_error()
334 static int do_promote(struct gfs2_glock *gl) in do_promote()
385 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
403 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change()
427 static void gfs2_demote_wake(struct gfs2_glock *gl) in gfs2_demote_wake()
442 static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) in finish_xmote()
528 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
578 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
597 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue()
651 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_delete); in delete_work_func() local
674 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() local
729 struct gfs2_glock *gl, *tmp; in gfs2_glock_get() local
814 void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags, in gfs2_holder_init()
897 static void wait_on_demote(struct gfs2_glock *gl) in wait_on_demote()
912 static void handle_callback(struct gfs2_glock *gl, unsigned int state, in handle_callback()
978 struct gfs2_glock *gl = gh->gh_gl; in add_to_queue() local
1057 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_nq() local
1101 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq() local
1142 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq_wait() local
1175 struct gfs2_glock *gl; in gfs2_glock_nq_num() local
1307 void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) in gfs2_glock_cb()
1341 static int gfs2_should_freeze(const struct gfs2_glock *gl) in gfs2_should_freeze()
1369 void gfs2_glock_complete(struct gfs2_glock *gl, int ret) in gfs2_glock_complete()
1396 struct gfs2_glock *gl; in gfs2_shrink_glock_memory() local
1461 struct gfs2_glock *gl; in examine_bucket() local
1491 static void thaw_glock(struct gfs2_glock *gl) in thaw_glock()
1507 static void clear_glock(struct gfs2_glock *gl) in clear_glock()
1531 static int dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock()
1540 static void dump_glock_func(struct gfs2_glock *gl) in dump_glock_func()
1563 struct gfs2_glock *gl = ip->i_gl; in gfs2_glock_finish_truncate() local
1644 static const char *gflags2str(char *buf, const struct gfs2_glock *gl) in gflags2str()
1699 static int __dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in __dump_glock()
1735 struct gfs2_glock *gl = iter_ptr; in gfs2_glstats_seq_show() local
1843 static inline struct gfs2_glock *glock_hash_next(struct gfs2_glock *gl) in glock_hash_next()
1851 struct gfs2_glock *gl; in gfs2_glock_iter_next() local