Lines Matching defs:gl
56 struct gfs2_glock *gl; /* current glock struct */ member
83 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free()
103 static void gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold()
116 static int demote_ok(const struct gfs2_glock *gl) in demote_ok()
130 void gfs2_glock_add_to_lru(struct gfs2_glock *gl) in gfs2_glock_add_to_lru()
144 static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in gfs2_glock_remove_from_lru()
161 void gfs2_glock_put(struct gfs2_glock *gl) in gfs2_glock_put()
188 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
221 static inline void do_error(struct gfs2_glock *gl, const int ret) in do_error()
248 static int do_promote(struct gfs2_glock *gl) in do_promote()
299 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
317 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change()
342 static void gfs2_demote_wake(struct gfs2_glock *gl) in gfs2_demote_wake()
357 static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) in finish_xmote()
443 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
496 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
515 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue()
569 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_delete); in delete_work_func() local
592 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() local
649 struct gfs2_glock *gl, *tmp = NULL; in gfs2_glock_get() local
753 void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags, in gfs2_holder_init()
831 static void handle_callback(struct gfs2_glock *gl, unsigned int state, in handle_callback()
882 struct gfs2_glock *gl = gh->gh_gl; in add_to_queue() local
960 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_nq() local
1008 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq() local
1051 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq_wait() local
1085 struct gfs2_glock *gl; in gfs2_glock_nq_num() local
1204 void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) in gfs2_glock_cb()
1238 static int gfs2_should_freeze(const struct gfs2_glock *gl) in gfs2_should_freeze()
1266 void gfs2_glock_complete(struct gfs2_glock *gl, int ret) in gfs2_glock_complete()
1322 struct gfs2_glock *gl; in gfs2_dispose_glock_lru() local
1362 struct gfs2_glock *gl; in gfs2_scan_glock_lru() local
1419 struct gfs2_glock *gl; in glock_hash_walk() local
1443 static void thaw_glock(struct gfs2_glock *gl) in thaw_glock()
1460 static void clear_glock(struct gfs2_glock *gl) in clear_glock()
1483 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock()
1490 static void dump_glock_func(struct gfs2_glock *gl) in dump_glock_func()
1515 struct gfs2_glock *gl = ip->i_gl; in gfs2_glock_finish_truncate() local
1596 static const char *gflags2str(char *buf, const struct gfs2_glock *gl) in gflags2str()
1650 void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_dump_glock()
1681 struct gfs2_glock *gl = iter_ptr; in gfs2_glstats_seq_show() local