Lines Matching defs:gl
148 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
171 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
176 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
181 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
186 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
206 static inline void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, in gfs2_holder_init()
231 #define GLOCK_BUG_ON(gl,x) do { if (unlikely(x)) { \ argument
234 #define gfs2_glock_assert_warn(gl, x) do { if (unlikely(!(x))) { \ argument
238 #define gfs2_glock_assert_withdraw(gl, x) do { if (unlikely(!(x))) { \ argument
256 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
313 static inline void glock_set_object(struct gfs2_glock *gl, void *object) in glock_set_object()
340 static inline void glock_clear_object(struct gfs2_glock *gl, void *object) in glock_clear_object()
350 struct gfs2_glock *gl = gh->gh_gl; in gfs2_holder_allow_demote() local
359 struct gfs2_glock *gl = gh->gh_gl; in gfs2_holder_disallow_demote() local