Lines Matching refs:gfs2_glock

134 	void (*lm_put_lock) (struct gfs2_glock *gl);
135 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
137 void (*lm_cancel) (struct gfs2_glock *gl);
142 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
165 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
170 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
175 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
180 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
189 int create, struct gfs2_glock **glp);
190 extern void gfs2_glock_hold(struct gfs2_glock *gl);
191 extern void gfs2_glock_put(struct gfs2_glock *gl);
192 extern void gfs2_glock_queue_put(struct gfs2_glock *gl);
194 extern void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state,
197 static inline void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, in gfs2_holder_init()
219 extern void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl,
246 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
261 extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state);
262 extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret);
263 extern bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay);
264 extern void gfs2_cancel_delete_work(struct gfs2_glock *gl);
265 extern bool gfs2_delete_work_queued(const struct gfs2_glock *gl);
270 extern void gfs2_glock_add_to_lru(struct gfs2_glock *gl);
271 extern void gfs2_glock_free(struct gfs2_glock *gl);
303 static inline void glock_set_object(struct gfs2_glock *gl, void *object) in glock_set_object()
330 static inline void glock_clear_object(struct gfs2_glock *gl, void *object) in glock_clear_object()
340 struct gfs2_glock *gl = gh->gh_gl; in gfs2_holder_allow_demote()
349 struct gfs2_glock *gl = gh->gh_gl; in gfs2_holder_disallow_demote()
356 extern void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation);
357 extern bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation);