Lines Matching refs:gfs2_glock

131 	void (*lm_put_lock) (struct gfs2_glock *gl);
132 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
134 void (*lm_cancel) (struct gfs2_glock *gl);
139 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
160 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
165 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
170 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
175 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
184 int create, struct gfs2_glock **glp);
185 extern void gfs2_glock_hold(struct gfs2_glock *gl);
186 extern void gfs2_glock_put(struct gfs2_glock *gl);
187 extern void gfs2_glock_queue_put(struct gfs2_glock *gl);
188 extern void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state,
205 extern void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl);
220 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
235 extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state);
236 extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret);
240 extern void gfs2_glock_add_to_lru(struct gfs2_glock *gl);
241 extern void gfs2_glock_free(struct gfs2_glock *gl);
268 static inline void glock_set_object(struct gfs2_glock *gl, void *object) in glock_set_object()
295 static inline void glock_clear_object(struct gfs2_glock *gl, void *object) in glock_clear_object()