Lines Matching defs:gl
50 struct gfs2_glock *gl; /* current glock struct */ member
57 #define GLOCK_BUG_ON(gl,x) do { if (unlikely(x)) { __dump_glock(NULL, gl); BUG(); } } while(0) argument
106 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() local
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()
156 void gfs2_glock_add_to_lru(struct gfs2_glock *gl) in gfs2_glock_add_to_lru()
170 static void __gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in __gfs2_glock_remove_from_lru()
179 static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in gfs2_glock_remove_from_lru()
194 static void __gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl) in __gfs2_glock_schedule_for_reclaim()
208 void gfs2_glock_put_nolock(struct gfs2_glock *gl) in gfs2_glock_put_nolock()
220 void gfs2_glock_put(struct gfs2_glock *gl) in gfs2_glock_put()
250 struct gfs2_glock *gl; in search_bucket() local
273 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
306 static inline void do_error(struct gfs2_glock *gl, const int ret) in do_error()
333 static int do_promote(struct gfs2_glock *gl) in do_promote()
384 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
402 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change()
426 static void gfs2_demote_wake(struct gfs2_glock *gl) in gfs2_demote_wake()
441 static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) in finish_xmote()
527 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
572 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
591 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue()
645 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_delete); in delete_work_func() local
668 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() local
723 struct gfs2_glock *gl, *tmp; in gfs2_glock_get() local
802 void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags, in gfs2_holder_init()
885 static void wait_on_demote(struct gfs2_glock *gl) in wait_on_demote()
900 static void handle_callback(struct gfs2_glock *gl, unsigned int state, in handle_callback()
966 struct gfs2_glock *gl = gh->gh_gl; in add_to_queue() local
1043 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_nq() local
1087 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq() local
1128 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq_wait() local
1161 struct gfs2_glock *gl; in gfs2_glock_nq_num() local
1293 void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) in gfs2_glock_cb()
1327 static int gfs2_should_freeze(const struct gfs2_glock *gl) in gfs2_should_freeze()
1355 void gfs2_glock_complete(struct gfs2_glock *gl, int ret) in gfs2_glock_complete()
1382 struct gfs2_glock *gl; in gfs2_shrink_glock_memory() local
1447 struct gfs2_glock *gl; in examine_bucket() local
1477 static void thaw_glock(struct gfs2_glock *gl) in thaw_glock()
1493 static void clear_glock(struct gfs2_glock *gl) in clear_glock()
1517 static int dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock()
1526 static void dump_glock_func(struct gfs2_glock *gl) in dump_glock_func()
1549 struct gfs2_glock *gl = ip->i_gl; in gfs2_glock_finish_truncate() local
1630 static const char *gflags2str(char *buf, const struct gfs2_glock *gl) in gflags2str()
1683 static int __dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in __dump_glock()
1757 static inline struct gfs2_glock *glock_hash_next(struct gfs2_glock *gl) in glock_hash_next()
1765 struct gfs2_glock *gl; in gfs2_glock_iter_next() local