Lines Matching refs:gfs2_glock

135 	void (*lm_put_lock) (struct gfs2_glock *gl);
136 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
138 void (*lm_cancel) (struct gfs2_glock *gl);
143 struct gfs2_glock glock;
147 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
168 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
173 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
178 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
183 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
195 int create, struct gfs2_glock **glp);
196 extern struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl);
197 extern void gfs2_glock_put(struct gfs2_glock *gl);
198 extern void gfs2_glock_queue_put(struct gfs2_glock *gl);
200 extern void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state,
203 static inline void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, in gfs2_holder_init()
226 extern void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl,
253 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
268 extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state);
269 extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret);
270 extern bool gfs2_queue_try_to_evict(struct gfs2_glock *gl);
271 extern void gfs2_cancel_delete_work(struct gfs2_glock *gl);
276 extern void gfs2_glock_add_to_lru(struct gfs2_glock *gl);
277 extern void gfs2_glock_free(struct gfs2_glock *gl);
287 extern void glock_set_object(struct gfs2_glock *gl, void *object);
288 extern void glock_clear_object(struct gfs2_glock *gl, void *object);
307 extern void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation);
308 extern bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation);