Lines Matching refs:gfs2_glock
121 void (*lm_put_lock) (struct gfs2_glock *gl);
122 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
124 void (*lm_cancel) (struct gfs2_glock *gl);
129 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
150 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
155 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
160 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
165 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
174 int create, struct gfs2_glock **glp);
175 void gfs2_glock_hold(struct gfs2_glock *gl);
176 void gfs2_glock_put_nolock(struct gfs2_glock *gl);
177 void gfs2_glock_put(struct gfs2_glock *gl);
178 void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags,
211 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
226 extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state);
227 extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret);
232 extern void gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl);
233 extern void gfs2_glock_free(struct gfs2_glock *gl);