Searched refs:br_blockcount (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/fs/xfs/libxfs/
H A Dxfs_bmap.c125 cur->bc_rec.b.br_blockcount = 0;
522 ASSERT(mval[i].br_blockcount > 0);
525 ASSERT(mval[i].br_blockcount <= len);
526 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <=
530 ASSERT(mval[i].br_startoff + mval[i].br_blockcount >
534 mval[i - 1].br_startoff + mval[i - 1].br_blockcount ==
865 rec.br_blockcount = 1;
1140 irec->br_startoff, irec->br_startblock, irec->br_blockcount,
1292 lastaddr = got.br_startoff + got.br_blockcount;
1397 bma->aeof = bma->offset >= rec.br_startoff + rec.br_blockcount ||
[all...]
H A Dxfs_attr_remote.c421 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount);
437 lblkno += map[i].br_blockcount;
438 blkcnt -= map[i].br_blockcount;
518 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount);
535 lblkno += map.br_blockcount;
536 blkcnt -= map.br_blockcount;
563 XFS_FSB_TO_BB(mp, map->br_blockcount),
634 attr->xattri_lblkno += map->br_blockcount;
635 attr->xattri_blkcnt -= map->br_blockcount;
677 lblkno += map.br_blockcount;
[all...]
H A Dxfs_types.h154 xfs_filblks_t br_blockcount; /* number of blocks */ member in struct:xfs_bmbt_irec
H A Dxfs_symlink_remote.c263 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
356 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
H A Dxfs_bmap_btree.c87 irec->br_blockcount = l1 & xfs_mask64lo(21);
127 ASSERT(!(s->br_blockcount & xfs_mask64hi(64-BMBT_BLOCKCOUNT_BITLEN)));
136 ((xfs_bmbt_rec_base_t)s->br_blockcount &
H A Dxfs_iext_tree.c58 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0);
62 rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK;
77 irec->br_blockcount = rec->hi & XFS_IEXT_LENGTH_MASK;
990 *end = gotp->br_startoff + gotp->br_blockcount;
/linux-master/fs/xfs/
H A Dxfs_reflink.c192 aglen = irec->br_blockcount;
213 irec->br_blockcount = flen;
224 irec->br_blockcount = fbno - agbno;
269 if (!got.br_blockcount)
318 xfs_filblks_t count_fsb = imap->br_blockcount;
337 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount);
355 xfs_filblks_t count_fsb = imap->br_blockcount;
398 imap->br_blockcount, xfs_get_cowextsz_hint(ip));
422 error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount,
492 cmap->br_blockcount,
[all...]
H A Dxfs_bmap_util.c91 *count += got.br_blockcount;
192 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount);
235 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount;
240 rec->br_startoff += rec->br_blockcount;
243 rec->br_startblock += rec->br_blockcount;
244 rec->br_blockcount = total_end - end;
402 bno = got.br_startoff + got.br_blockcount;
463 while (got.br_startoff + got.br_blockcount > start_fsb) {
472 if (!del.br_blockcount ||
748 startoffset_fsb += imapp->br_blockcount;
[all...]
H A Dxfs_iomap.c47 (unsigned long long)imap->br_blockcount,
128 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount);
232 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount)
448 prev.br_startoff + prev.br_blockcount < offset_fsb)
456 plen = prev.br_blockcount;
460 got.br_startoff + got.br_blockcount != prev.br_startoff ||
461 got.br_startblock + got.br_blockcount != prev.br_startblock)
463 plen += got.br_blockcount;
653 if ((numblks_fsb = imap.br_blockcount) == 0) {
658 ASSERT(imap.br_blockcount);
[all...]
H A Dxfs_attr_inactive.c69 blkno += map.br_blockcount;
70 blkcnt -= map.br_blockcount;
H A Dxfs_aops.c365 imap.br_blockcount = imap.br_startoff - offset_fsb;
378 cow_fsb < imap.br_startoff + imap.br_blockcount)
379 imap.br_blockcount = cow_fsb - imap.br_startoff;
H A Dxfs_bmap_item.c264 map->me_len = bi->bi_bmap.br_blockcount;
390 if (!error && bi->bi_bmap.br_blockcount > 0) {
465 bi->bi_bmap.br_blockcount = map->me_len;
H A Dxfs_dir2_readdir.c302 if (map.br_blockcount < geo->fsbcount &&
314 next_ra < map.br_startoff + map.br_blockcount) {
H A Dxfs_pnfs.c190 imap.br_blockcount);
H A Dxfs_symlink.c308 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0,
H A Dxfs_rmap_item.c309 map->me_len = ri->ri_bmap.br_blockcount;
495 ri->ri_bmap.br_blockcount = map->me_len;
/linux-master/fs/xfs/scrub/
H A Dbmap.c216 if (rmap_end != agbno + irec->br_blockcount)
226 if (rmap_end != irec->br_startoff + irec->br_blockcount)
284 if (rmap_end < agbno + irec->br_blockcount)
318 irec->br_blockcount);
337 len = irec->br_blockcount;
353 irec->br_blockcount, &oinfo);
355 irec->br_blockcount);
358 irec->br_blockcount);
364 xchk_xref_is_only_owned_by(info->sc, agbno, irec->br_blockcount,
367 irec->br_blockcount);
[all...]
H A Dcow_repair.c124 xc->irec_startbno + xc->irec.br_blockcount) {
126 (xc->irec_startbno + xc->irec.br_blockcount);
219 if (rec_bno + rec_len > xc->irec_startbno + xc->irec.br_blockcount) {
221 (xc->irec_startbno + xc->irec.br_blockcount);
259 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
268 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
276 if (xc->next_bno < xc->irec_startbno + xc->irec.br_blockcount) {
280 xc->irec_startbno + xc->irec.br_blockcount -
289 rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
302 xc->irec.br_blockcount);
[all...]
H A Drtbitmap_repair.c86 off = map.br_startoff + map.br_blockcount;
106 map.br_blockcount,
119 off = map.br_startoff + map.br_blockcount;
H A Ddqiterate.c62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff)
100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount;
H A Dquota_repair.c427 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) {
443 irec.br_startoff, irec.br_blockcount,
452 ASSERT(nrec.br_blockcount == irec.br_blockcount);
490 fsbno < irec.br_startblock + irec.br_blockcount;
H A Dbmap_repair.c151 irec.br_blockcount = min_t(xfs_filblks_t, blockcount,
171 irec.br_startblock += irec.br_blockcount;
172 irec.br_startoff += irec.br_blockcount;
173 blockcount -= irec.br_blockcount;
340 next_off = irec.br_startoff + irec.br_blockcount;
H A Ddir.c675 lblk < got.br_startoff + got.br_blockcount;
683 dabno = got.br_startoff + got.br_blockcount;
694 got.br_blockcount == args.geo->fsbcount &&
740 lblk < got.br_startoff + got.br_blockcount;
747 dabno = got.br_startoff + got.br_blockcount;
H A Drtbitmap.c131 off += map.br_blockcount;
H A Dquota.c284 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) {

Completed in 306 milliseconds

12