Searched refs:br_startoff (Results 1 - 25 of 39) sorted by relevance

12

/linux-master/fs/xfs/scrub/
H A Ddqiterate.c32 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 Dbmap.c166 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 Drtbitmap_repair.c86 off = map.br_startoff + map.br_blockcount;
105 error = xfs_bmapi_write(sc->tp, sc->ip, map.br_startoff,
117 off = map.br_startoff + map.br_blockcount;
H A Dcow_repair.c94 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 Dquota_repair.c424 if (irec.br_startoff > max_dqid_off ||
425 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) {
441 irec.br_startoff, irec.br_blockcount,
445 ASSERT(nrec.br_startoff == irec.br_startoff);
483 for (fsbno = irec.br_startblock, off = irec.br_startoff;
H A Dquota.c283 irec.br_startoff > max_dqid_off ||
284 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) {
286 irec.br_startoff);
H A Dreaddir.c170 if (map.br_startoff >= last_da)
175 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff);
179 return xfs_dir3_data_read(tp, dp, dp->i_ino, map.br_startoff, 0, bpp);
H A Ddir.c820 if (got.br_startoff >= leaf_lblk)
834 for (lblk = roundup((xfs_dablk_t)got.br_startoff,
836 lblk < got.br_startoff + got.br_blockcount;
844 dabno = got.br_startoff + got.br_blockcount;
854 got.br_startoff == leaf_lblk &&
878 lblk = got.br_startoff;
899 for (lblk = roundup((xfs_dablk_t)got.br_startoff,
901 lblk < got.br_startoff + got.br_blockcount;
908 dabno = got.br_startoff + got.br_blockcount;
H A Dreap.c710 xfs_rmap_ino_owner(&oinfo, ip->i_ino, whichfork, imap->br_startoff);
808 off = imap->br_startoff + imap->br_blockcount;
826 off = hmap.br_startoff + hmap.br_blockcount;
828 scan_blocks = off - imap->br_startoff;
1045 off = imap.br_startoff + imap.br_blockcount;
H A Dbmap_repair.c129 .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;
H A Dattr_repair.c900 offset = got.br_startoff + got.br_blockcount) {
911 for (dabno = round_up(got.br_startoff, geo->fsbcount);
912 dabno < got.br_startoff + got.br_blockcount;
914 xfs_fileoff_t curr_offset = dabno - got.br_startoff;
989 i++, irec.br_startoff,
/linux-master/fs/xfs/libxfs/
H A Dxfs_bmap.c123 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 Dxfs_bmap_btree.c85 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 Dxfs_exchmaps.c96 len = min(XFS_FSB_TO_B(mp, imap->br_startoff + imap->br_blockcount),
237 if (!isaligned_64(irec->br_startoff, mp->m_sb.sb_rextsize)) {
240 new_end = roundup_64(irec->br_startoff, mp->m_sb.sb_rextsize);
242 new_end - irec->br_startoff);
260 new_end = rounddown_64(irec->br_startoff + irec->br_blockcount,
262 irec->br_blockcount = new_end - irec->br_startoff;
302 irec1->br_startoff != xmi->xmi_startoff1) {
327 irec2->br_startoff != xmi->xmi_startoff2) {
401 swap(irec1->br_startoff, irec2->br_startoff);
[all...]
H A Dxfs_iext_tree.c57 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 Dxfs_types.h152 xfs_fileoff_t br_startoff; /* starting file offset */ member in struct:xfs_bmbt_irec
/linux-master/fs/xfs/
H A Dxfs_reflink.c261 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 Dxfs_iomap.c47 (unsigned long long)imap->br_startoff,
128 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff);
233 aligned_end_fsb >= irec.br_startoff + irec.br_blockcount)
462 prev.br_startoff + prev.br_blockcount < offset_fsb)
474 got.br_startoff + got.br_blockcount != prev.br_startoff ||
780 if (imap->br_startoff > offset_fsb)
782 if (imap->br_startoff + imap->br_blockcount < end_fsb)
842 end_fsb = imap.br_startoff + imap.br_blockcount;
899 end_fsb = min(end_fsb, imap.br_startoff
[all...]
H A Dxfs_dir2_readdir.c277 if (map.br_startoff >= last_da)
282 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff);
286 map.br_startoff, 0, &bp);
299 *ra_blk = map.br_startoff;
300 next_ra = map.br_startoff + geo->fsbcount;
306 if (map.br_startoff >= last_da)
313 next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount);
315 next_ra < map.br_startoff + map.br_blockcount) {
H A Dxfs_aops.c297 cow_fsb = imap.br_startoff;
321 imap.br_startoff = end_fsb; /* fake a hole past EOF */
326 if (imap.br_startoff > offset_fsb) {
327 imap.br_blockcount = imap.br_startoff - offset_fsb;
328 imap.br_startoff = offset_fsb;
340 cow_fsb < imap.br_startoff + imap.br_blockcount)
341 imap.br_blockcount = cow_fsb - imap.br_startoff;
H A Dxfs_bmap_util.c191 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;
462 while (got.br_startoff + got.br_blockcount > start_fsb) {
1258 error = xfs_bmapi_read(ip, tirec.br_startoff,
1264 ASSERT(tirec.br_startoff == irec.br_startoff);
[all...]
H A Dxfs_pnfs.c189 end_fsb = min(end_fsb, imap.br_startoff +
H A Dxfs_rmap_item.c308 map->me_startoff = ri->ri_bmap.br_startoff;
494 ri->ri_bmap.br_startoff = map->me_startoff;
H A Dxfs_bmap_item.c263 map->me_startoff = bi->bi_bmap.br_startoff;
464 bi->bi_bmap.br_startoff = map->me_startoff;
H A Dxfs_rtalloc.c721 for (bno = map.br_startoff, fsbno = map.br_startblock;
722 bno < map.br_startoff + map.br_blockcount;
759 oblocks = map.br_startoff + map.br_blockcount;

Completed in 394 milliseconds

12