Lines Matching refs:ghs
826 * @ghs: An array of two holders
830 * @ghs[0] is an initialized holder for the directory
831 * @ghs[1] is the holder for the inode lock
840 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
844 struct gfs2_inode *dip = ghs->gh_gl->gl_object;
854 gfs2_holder_reinit(LM_ST_EXCLUSIVE, 0, ghs);
855 error = gfs2_glock_nq(ghs);
872 LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1);
876 error = make_dinode(dip, ghs[1].gh_gl, mode, &inum, &generation, dev);
907 gfs2_glock_dq_uninit(ghs + 1);
909 gfs2_glock_dq(ghs);