Lines Matching refs:rgd
232 struct gfs2_rgrpd *rgd; in ea_dealloc_unstuffed() local
259 rgd = gfs2_blk2rgrpd(sdp, bn, 1); in ea_dealloc_unstuffed()
260 if (!rgd) { in ea_dealloc_unstuffed()
265 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &rg_gh); in ea_dealloc_unstuffed()
269 error = gfs2_trans_begin(sdp, rgd->rd_length + RES_DINODE + in ea_dealloc_unstuffed()
1305 struct gfs2_rgrpd *rgd = gfs2_glock2rgrp(rlist.rl_ghs[x].gh_gl); in ea_dealloc_indirect() local
1307 rg_blocks += rgd->rd_length; in ea_dealloc_indirect()
1370 struct gfs2_rgrpd *rgd; in ea_dealloc_block() local
1379 rgd = gfs2_blk2rgrpd(sdp, ip->i_eattr, 1); in ea_dealloc_block()
1380 if (!rgd) { in ea_dealloc_block()
1385 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in ea_dealloc_block()