Lines Matching defs:gh
149 struct gfs2_holder *gh;
155 list_for_each_entry(gh, &gl->gl_holders, gh_list) {
156 if (!test_bit(HIF_HOLDER, &gh->gh_iflags))
158 if (gh->gh_owner_pid == pid)
161 gh = NULL;
165 return gh;
197 struct gfs2_holder *gh);
199 struct gfs2_holder *gh);
200 void gfs2_holder_uninit(struct gfs2_holder *gh);
201 int gfs2_glock_nq(struct gfs2_holder *gh);
202 int gfs2_glock_poll(struct gfs2_holder *gh);
203 int gfs2_glock_wait(struct gfs2_holder *gh);
204 void gfs2_glock_dq(struct gfs2_holder *gh);
205 void gfs2_glock_dq_wait(struct gfs2_holder *gh);
207 void gfs2_glock_dq_uninit(struct gfs2_holder *gh);
210 unsigned int state, int flags, struct gfs2_holder *gh);
222 * @gh: the holder structure
229 struct gfs2_holder *gh)
233 gfs2_holder_init(gl, state, flags, gh);
235 error = gfs2_glock_nq(gh);
237 gfs2_holder_uninit(gh);