Lines Matching refs:gh
528 struct gfs2_holder gh; in gfs2_readpage() local
532 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_readpage()
533 error = gfs2_glock_nq(&gh); in gfs2_readpage()
542 gfs2_glock_dq(&gh); in gfs2_readpage()
544 gfs2_holder_uninit(&gh); in gfs2_readpage()
609 struct gfs2_holder gh; in gfs2_readpages() local
612 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_readpages()
613 ret = gfs2_glock_nq(&gh); in gfs2_readpages()
618 gfs2_glock_dq(&gh); in gfs2_readpages()
620 gfs2_holder_uninit(&gh); in gfs2_readpages()
1048 struct gfs2_holder gh; in gfs2_direct_IO() local
1059 gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, &gh); in gfs2_direct_IO()
1060 rv = gfs2_glock_nq(&gh); in gfs2_direct_IO()
1100 gfs2_glock_dq(&gh); in gfs2_direct_IO()
1101 gfs2_holder_uninit(&gh); in gfs2_direct_IO()