Lines Matching refs:rl_rgd
2674 rgd = rlist->rl_rgd[rlist->rl_rgrps - 1]; in gfs2_rlist_add()
2691 if (rlist->rl_rgd[x] == rgd) { in gfs2_rlist_add()
2692 swap(rlist->rl_rgd[x], in gfs2_rlist_add()
2693 rlist->rl_rgd[rlist->rl_rgrps - 1]); in gfs2_rlist_add()
2704 if (rlist->rl_rgd) { in gfs2_rlist_add()
2705 memcpy(tmp, rlist->rl_rgd, in gfs2_rlist_add()
2707 kfree(rlist->rl_rgd); in gfs2_rlist_add()
2711 rlist->rl_rgd = tmp; in gfs2_rlist_add()
2714 rlist->rl_rgd[rlist->rl_rgrps++] = rgd; in gfs2_rlist_add()
2734 gfs2_holder_init(rlist->rl_rgd[x]->rd_gl, LM_ST_EXCLUSIVE, in gfs2_rlist_alloc()
2748 kfree(rlist->rl_rgd); in gfs2_rlist_free()