Lines Matching refs:rgd
235 struct gfs2_rgrpd *rgd; in ea_dealloc_unstuffed() local
262 rgd = gfs2_blk2rgrpd(sdp, bn, 1); in ea_dealloc_unstuffed()
263 if (!rgd) { in ea_dealloc_unstuffed()
268 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_unstuffed()
273 error = gfs2_trans_begin(sdp, rgd->rd_length + RES_DINODE + in ea_dealloc_unstuffed()
290 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
299 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
1266 struct gfs2_rgrpd *rgd; in ea_dealloc_indirect() local
1319 rgd = gfs2_glock2rgrp(rlist.rl_ghs[x].gh_gl); in ea_dealloc_indirect()
1320 rg_blocks += rgd->rd_length; in ea_dealloc_indirect()
1336 rgd = NULL; in ea_dealloc_indirect()
1350 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_indirect()
1352 rgd = gfs2_blk2rgrpd(sdp, bstart, true); in ea_dealloc_indirect()
1360 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_indirect()
1385 struct gfs2_rgrpd *rgd; in ea_dealloc_block() local
1394 rgd = gfs2_blk2rgrpd(sdp, ip->i_eattr, 1); in ea_dealloc_block()
1395 if (!rgd) { in ea_dealloc_block()
1400 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_block()
1410 gfs2_free_meta(ip, rgd, ip->i_eattr, 1); in ea_dealloc_block()