/linux-master/fs/xfs/scrub/ |
H A D | dqiterate.c | 32 cursor->bmap.br_startoff = NULLFILEOFF; 60 if (cursor->bmap.br_startoff != NULLFILEOFF && 62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff) 74 if (cursor->bmap.br_startoff > fileoff) { 75 ASSERT(cursor->bmap.br_startoff == fileoff); 100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount; 117 if (cursor->bmap.br_startoff > fileoff) { 118 ASSERT(cursor->bmap.br_startoff == fileoff); 123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk;
|
H A D | bmap.c | 166 offset = irec->br_startoff; 185 irec->br_startoff); 213 irec->br_startoff); 218 irec->br_startoff); 221 if (rmap.rm_offset != irec->br_startoff) 223 irec->br_startoff); 226 if (rmap_end != irec->br_startoff + irec->br_blockcount) 228 irec->br_startoff); 233 irec->br_startoff); 245 irec->br_startoff); [all...] |
H A D | rtbitmap_repair.c | 86 off = map.br_startoff + map.br_blockcount; 105 error = xfs_bmapi_write(sc->tp, sc->ip, map.br_startoff, 119 off = map.br_startoff + map.br_blockcount;
|
H A D | cow_repair.c | 94 startoff = xc->irec.br_startoff + 373 if (got->br_startoff > startoff) 426 new.br_startoff += repl->len; 431 new.br_startoff = got->br_startoff; 463 got.br_startoff + got.br_blockcount);
|
H A D | quota_repair.c | 426 if (irec.br_startoff > max_dqid_off || 427 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { 443 irec.br_startoff, irec.br_blockcount, 451 ASSERT(nrec.br_startoff == irec.br_startoff); 489 for (fsbno = irec.br_startblock, off = irec.br_startoff;
|
H A D | quota.c | 283 irec.br_startoff > max_dqid_off || 284 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { 286 irec.br_startoff);
|
H A D | readdir.c | 169 if (map.br_startoff >= last_da) 174 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); 178 return xfs_dir3_data_read(tp, dp, map.br_startoff, 0, bpp);
|
H A D | dir.c | 659 if (got.br_startoff >= leaf_lblk) 673 for (lblk = roundup((xfs_dablk_t)got.br_startoff, 675 lblk < got.br_startoff + got.br_blockcount; 683 dabno = got.br_startoff + got.br_blockcount; 693 got.br_startoff == leaf_lblk && 717 lblk = got.br_startoff; 738 for (lblk = roundup((xfs_dablk_t)got.br_startoff, 740 lblk < got.br_startoff + got.br_blockcount; 747 dabno = got.br_startoff + got.br_blockcount;
|
H A D | bmap_repair.c | 129 .br_startoff = startoff, 172 irec.br_startoff += irec.br_blockcount; 337 if (irec.br_startoff < next_off) 340 next_off = irec.br_startoff + irec.br_blockcount;
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 123 cur->bc_rec.b.br_startoff = 0; 303 ASSERT(be64_to_cpu(prevp->br_startoff) < 304 be64_to_cpu(keyp->br_startoff)); 524 ASSERT(mval[i].br_startoff >= bno); 526 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= 529 ASSERT(mval[i].br_startoff < bno + len); 530 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > 534 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == 535 mval[i].br_startoff); 728 kp->br_startoff [all...] |
H A D | xfs_bmap_btree.c | 85 irec->br_startoff = (l0 & xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9; 126 ASSERT(!(s->br_startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN))); 132 ((xfs_bmbt_rec_base_t)s->br_startoff << 9) | 350 key->bmbt.br_startoff = 359 key->bmbt.br_startoff = cpu_to_be64( 377 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - 378 cur->bc_rec.b.br_startoff; 388 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); 389 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); 391 ASSERT(!mask || mask->bmbt.br_startoff); [all...] |
H A D | xfs_iext_tree.c | 57 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); 61 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK; 76 irec->br_startoff = rec->lo & XFS_IEXT_STARTOFF_MASK; 638 xfs_fileoff_t offset = irec->br_startoff; 652 xfs_iext_rec_cmp(cur_rec(cur), irec->br_startoff) != 0); 986 gotp->br_startoff <= *end - 1) 990 *end = gotp->br_startoff + gotp->br_blockcount; 1009 if (new->br_startoff != old.br_startoff) { 1010 xfs_iext_update_node(ifp, old.br_startoff, [all...] |
H A D | xfs_types.h | 152 xfs_fileoff_t br_startoff; /* starting file offset */ member in struct:xfs_bmbt_irec
|
H A D | xfs_rmap.c | 2649 ri->ri_bmap.br_startoff, ri->ri_bmap.br_blockcount, 2686 ri->ri_bmap.br_startoff); 2730 bmap->br_startoff, 2824 bmap.br_startoff = 0; 2846 bmap.br_startoff = 0;
|
H A D | xfs_da_btree.c | 2215 b = mapp[mapi - 1].br_startoff + 2228 if (got != count || mapp[0].br_startoff != *bno || 2229 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != 2574 if (off != irecs[i].br_startoff) 2602 "[%02d] br_startoff %lld br_startblock %lld br_blockcount %lld br_state %d", 2603 i, irecs[i].br_startoff,
|
/linux-master/fs/xfs/ |
H A D | xfs_reflink.c | 261 if (got.br_startoff >= offset_fsb + count_fsb) 317 xfs_fileoff_t offset_fsb = imap->br_startoff; 328 cmap->br_startoff = offset_fsb + count_fsb; 329 if (cmap->br_startoff > offset_fsb) { 330 xfs_trim_extent(imap, imap->br_startoff, 331 cmap->br_startoff - imap->br_startoff); 337 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); 354 xfs_fileoff_t offset_fsb = imap->br_startoff; 397 resaligned = xfs_aligned_fsb_count(imap->br_startoff, [all...] |
H A D | xfs_dir2_readdir.c | 277 if (map.br_startoff >= last_da) 282 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); 285 error = xfs_dir3_data_read(args->trans, dp, map.br_startoff, 0, &bp); 298 *ra_blk = map.br_startoff; 299 next_ra = map.br_startoff + geo->fsbcount; 305 if (map.br_startoff >= last_da) 312 next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount); 314 next_ra < map.br_startoff + map.br_blockcount) {
|
H A D | xfs_iomap.c | 46 (unsigned long long)imap->br_startoff, 127 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); 232 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount) 448 prev.br_startoff + prev.br_blockcount < offset_fsb) 460 got.br_startoff + got.br_blockcount != prev.br_startoff || 774 if (imap->br_startoff > offset_fsb) 776 if (imap->br_startoff + imap->br_blockcount < end_fsb) 836 end_fsb = imap.br_startoff + imap.br_blockcount; 893 end_fsb = min(end_fsb, imap.br_startoff [all...] |
H A D | xfs_aops.c | 335 cow_fsb = imap.br_startoff; 359 imap.br_startoff = end_fsb; /* fake a hole past EOF */ 364 if (imap.br_startoff > offset_fsb) { 365 imap.br_blockcount = imap.br_startoff - offset_fsb; 366 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 D | xfs_bmap_util.c | 191 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); 235 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; 240 rec->br_startoff += rec->br_blockcount; 390 if (got.br_startoff > bno) { 392 got.br_startoff); 402 bno = got.br_startoff + got.br_blockcount; 463 while (got.br_startoff + got.br_blockcount > start_fsb) { 1269 error = xfs_bmapi_read(ip, tirec.br_startoff, 1275 ASSERT(tirec.br_startoff == irec.br_startoff); [all...] |
H A D | xfs_pnfs.c | 189 end_fsb = min(end_fsb, imap.br_startoff +
|
H A D | xfs_bmap_item.c | 263 map->me_startoff = bi->bi_bmap.br_startoff; 464 bi->bi_bmap.br_startoff = map->me_startoff;
|
H A D | xfs_rmap_item.c | 308 map->me_startoff = ri->ri_bmap.br_startoff; 494 ri->ri_bmap.br_startoff = map->me_startoff;
|
H A D | xfs_rtalloc.c | 726 for (bno = map.br_startoff, fsbno = map.br_startblock; 727 bno < map.br_startoff + map.br_blockcount; 764 oblocks = map.br_startoff + map.br_blockcount;
|
H A D | xfs_dquot.c | 758 if (got.br_startoff < start) 759 got.br_startoff = start; 760 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk;
|