Lines Matching refs:io_gl
129 struct gfs2_glock *io_gl = NULL; in gfs2_inode_lookup() local
149 error = gfs2_glock_get(sdp, no_addr, &gfs2_iopen_glops, CREATE, &io_gl); in gfs2_inode_lookup()
174 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT, &ip->i_iopen_gh); in gfs2_inode_lookup()
178 gfs2_glock_put(io_gl); in gfs2_inode_lookup()
179 io_gl = NULL; in gfs2_inode_lookup()
208 if (io_gl) in gfs2_inode_lookup()
209 gfs2_glock_put(io_gl); in gfs2_inode_lookup()
591 struct gfs2_glock *io_gl = NULL; in gfs2_create_inode() local
727 error = gfs2_glock_get(sdp, ip->i_no_addr, &gfs2_iopen_glops, CREATE, &io_gl); in gfs2_create_inode()
731 BUG_ON(test_and_set_bit(GLF_INODE_CREATING, &io_gl->gl_flags)); in gfs2_create_inode()
733 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT, &ip->i_iopen_gh); in gfs2_create_inode()
778 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
779 gfs2_glock_put(io_gl); in gfs2_create_inode()
783 glock_clear_object(io_gl, ip); in gfs2_create_inode()
786 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
787 gfs2_glock_put(io_gl); in gfs2_create_inode()