Lines Matching refs:ghs
903 * @ghs: An array of two holders
907 * @ghs[0] is an initialized holder for the directory
908 * @ghs[1] is the holder for the inode lock
917 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
921 struct gfs2_inode *dip = ghs->gh_gl->gl_object;
932 gfs2_holder_reinit(LM_ST_EXCLUSIVE, 0, ghs);
933 error = gfs2_glock_nq(ghs);
947 LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1);
951 error = make_dinode(dip, ghs[1].gh_gl, mode, &inum, &generation, dev, &bh);
981 gfs2_glock_dq_uninit(ghs + 1);
985 gfs2_glock_dq(ghs);