Searched refs:rlist (Results 1 – 5 of 5) sorted by relevance
/fs/gfs2/ |
D | rgrp.c | 1577 void gfs2_rlist_add(struct gfs2_sbd *sdp, struct gfs2_rgrp_list *rlist, in gfs2_rlist_add() argument 1585 if (gfs2_assert_warn(sdp, !rlist->rl_ghs)) in gfs2_rlist_add() 1595 for (x = 0; x < rlist->rl_rgrps; x++) in gfs2_rlist_add() 1596 if (rlist->rl_rgd[x] == rgd) in gfs2_rlist_add() 1599 if (rlist->rl_rgrps == rlist->rl_space) { in gfs2_rlist_add() 1600 new_space = rlist->rl_space + 10; in gfs2_rlist_add() 1605 if (rlist->rl_rgd) { in gfs2_rlist_add() 1606 memcpy(tmp, rlist->rl_rgd, in gfs2_rlist_add() 1607 rlist->rl_space * sizeof(struct gfs2_rgrpd *)); in gfs2_rlist_add() 1608 kfree(rlist->rl_rgd); in gfs2_rlist_add() [all …]
|
D | rgrp.h | 64 void gfs2_rlist_add(struct gfs2_sbd *sdp, struct gfs2_rgrp_list *rlist, 66 void gfs2_rlist_alloc(struct gfs2_rgrp_list *rlist, unsigned int state); 67 void gfs2_rlist_free(struct gfs2_rgrp_list *rlist);
|
D | bmap.c | 752 struct gfs2_rgrp_list rlist; in do_strip() local 781 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list)); in do_strip() 795 gfs2_rlist_add(sdp, &rlist, bstart); in do_strip() 803 gfs2_rlist_add(sdp, &rlist, bstart); in do_strip() 807 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in do_strip() 809 for (x = 0; x < rlist.rl_rgrps; x++) { in do_strip() 811 rgd = rlist.rl_ghs[x].gh_gl->gl_object; in do_strip() 815 error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); in do_strip() 872 gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs); in do_strip() 874 gfs2_rlist_free(&rlist); in do_strip()
|
D | eattr.c | 1300 struct gfs2_rgrp_list rlist; in ea_dealloc_indirect() local 1310 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list)); in ea_dealloc_indirect() 1335 gfs2_rlist_add(sdp, &rlist, bstart); in ea_dealloc_indirect() 1342 gfs2_rlist_add(sdp, &rlist, bstart); in ea_dealloc_indirect() 1346 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in ea_dealloc_indirect() 1348 for (x = 0; x < rlist.rl_rgrps; x++) { in ea_dealloc_indirect() 1350 rgd = rlist.rl_ghs[x].gh_gl->gl_object; in ea_dealloc_indirect() 1354 error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); in ea_dealloc_indirect() 1403 gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs); in ea_dealloc_indirect() 1405 gfs2_rlist_free(&rlist); in ea_dealloc_indirect()
|
D | dir.c | 1857 struct gfs2_rgrp_list rlist; in leaf_dealloc() local 1865 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list)); in leaf_dealloc() 1894 gfs2_rlist_add(sdp, &rlist, blk); in leaf_dealloc() 1898 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in leaf_dealloc() 1900 for (x = 0; x < rlist.rl_rgrps; x++) { in leaf_dealloc() 1902 rgd = rlist.rl_ghs[x].gh_gl->gl_object; in leaf_dealloc() 1906 error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); in leaf_dealloc() 1946 gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs); in leaf_dealloc() 1948 gfs2_rlist_free(&rlist); in leaf_dealloc()
|