Lines Matching refs:rc_blockcount

52 	cur->bc_rec.rc.rc_blockcount = 0;
69 cur->bc_rec.rc.rc_blockcount = 0;
86 cur->bc_rec.rc.rc_blockcount = 0;
97 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount);
123 if (irec->rc_blockcount == 0 || irec->rc_blockcount > MAXREFCEXTLEN)
139 if (realstart > realstart + irec->rc_blockcount)
141 if (!xfs_verify_agbno(mp, agno, realstart + irec->rc_blockcount - 1))
155 irec->rc_startblock, irec->rc_blockcount, irec->rc_refcount);
174 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount);
198 cur->bc_rec.rc.rc_blockcount = irec->rc_blockcount;
335 return rc->rc_startblock + rc->rc_blockcount;
375 tmp.rc_blockcount -= (agbno - rcext.rc_startblock);
382 tmp.rc_blockcount = agbno - rcext.rc_startblock;
461 left->rc_blockcount = extlen;
522 left->rc_blockcount += cleft->rc_blockcount;
527 *agbno += cleft->rc_blockcount;
528 *aglen -= cleft->rc_blockcount;
586 right->rc_startblock -= cright->rc_blockcount;
587 right->rc_blockcount += cright->rc_blockcount;
592 *aglen -= cright->rc_blockcount;
669 cleft->rc_blockcount = min(aglen,
679 cleft->rc_blockcount = aglen;
758 cright->rc_blockcount = right->rc_startblock -
768 cright->rc_blockcount = aglen;
827 (cleft.rc_blockcount == cright.rc_blockcount);
830 ulen = (unsigned long long)left.rc_blockcount + cleft.rc_blockcount +
831 right.rc_blockcount;
843 ulen = (unsigned long long)left.rc_blockcount + cleft.rc_blockcount;
862 ulen = (unsigned long long)right.rc_blockcount + cright.rc_blockcount;
940 ext.rc_blockcount = 0;
951 tmp.rc_blockcount = min(*aglen,
977 tmp.rc_blockcount, oinfo);
980 (*agbno) += tmp.rc_blockcount;
981 (*aglen) -= tmp.rc_blockcount;
1021 xfs_bmap_add_free(cur->bc_tp, fsbno, ext.rc_blockcount,
1031 (*agbno) += ext.rc_blockcount;
1032 (*aglen) -= ext.rc_blockcount;
1334 if (tmp.rc_startblock + tmp.rc_blockcount <= agbno) {
1355 tmp.rc_blockcount -= (agbno - tmp.rc_startblock);
1360 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno);
1381 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno);
1471 ext.rc_blockcount = 0;
1485 tmp.rc_blockcount = aglen;
1505 if (XFS_IS_CORRUPT(cur->bc_mp, ext.rc_blockcount != aglen)) {
1747 rr->rr_rrec.rc_blockcount);
1750 xfs_bmap_add_free(tp, fsb, rr->rr_rrec.rc_blockcount, NULL);