Home
last modified time | relevance | path

Searched refs:br_startoff (Results 1 – 19 of 19) sorted by relevance

/linux/fs/xfs/scrub/
H A Dbmap.c176 offset = irec->br_startoff; in xchk_bmap_get_rmap()
195 irec->br_startoff); in xchk_bmap_get_rmap()
223 irec->br_startoff); in xchk_bmap_xref_rmap()
228 irec->br_startoff); in xchk_bmap_xref_rmap()
231 if (rmap.rm_offset != irec->br_startoff) in xchk_bmap_xref_rmap()
233 irec->br_startoff); in xchk_bmap_xref_rmap()
236 if (rmap_end != irec->br_startoff + irec->br_blockcount) in xchk_bmap_xref_rmap()
238 irec->br_startoff); in xchk_bmap_xref_rmap()
243 irec->br_startoff); in xchk_bmap_xref_rmap()
255 irec->br_startoff); in xchk_bmap_xref_rmap()
[all …]
H A Ddqiterate.c32 cursor->bmap.br_startoff = NULLFILEOFF; in xchk_dqiter_init()
60 if (cursor->bmap.br_startoff != NULLFILEOFF && in xchk_dquot_iter_revalidate_bmap()
62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff) in xchk_dquot_iter_revalidate_bmap()
74 if (cursor->bmap.br_startoff > fileoff) { in xchk_dquot_iter_revalidate_bmap()
75 ASSERT(cursor->bmap.br_startoff == fileoff); in xchk_dquot_iter_revalidate_bmap()
100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount; in xchk_dquot_iter_advance_bmap()
117 if (cursor->bmap.br_startoff > fileoff) { in xchk_dquot_iter_advance_bmap()
118 ASSERT(cursor->bmap.br_startoff == fileoff); in xchk_dquot_iter_advance_bmap()
123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk; in xchk_dquot_iter_advance_bmap()
H A Dcow_repair.c96 startoff = xc->irec.br_startoff + in xrep_cow_mark_file_range()
508 if (got->br_startoff > badoff) in xrep_cow_find_mapping()
517 if (got->br_startoff < badoff) { in xrep_cow_find_mapping()
518 const int64_t delta = badoff - got->br_startoff; in xrep_cow_find_mapping()
521 rep->br_startoff += delta; in xrep_cow_find_mapping()
525 if (got->br_startoff + got->br_blockcount > badoff + badlen) { in xrep_cow_find_mapping()
526 const int64_t delta = (got->br_startoff + got->br_blockcount) - in xrep_cow_find_mapping()
H A Dquota.c289 irec.br_startoff > max_dqid_off || in xchk_quota_data_fork()
290 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
292 irec.br_startoff); in xchk_quota_data_fork()
H A Drtbitmap_repair.c442 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
461 error = xfs_bmapi_write(sc->tp, sc->ip, map.br_startoff, in xrep_rtbitmap_data_mappings()
473 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
H A Dattr_repair.c900 offset = got.br_startoff + got.br_blockcount) { in xrep_xattr_recover()
911 for (dabno = round_up(got.br_startoff, geo->fsbcount); in xrep_xattr_recover()
912 dabno < got.br_startoff + got.br_blockcount; in xrep_xattr_recover()
914 xfs_fileoff_t curr_offset = dabno - got.br_startoff; in xrep_xattr_recover()
989 i++, irec.br_startoff, in xrep_xattr_fork_remove()
H A Dtempfile.c426 for (; off < end; off = map.br_startoff + map.br_blockcount) { in xrep_tempfile_prealloc()
H A Dinode_repair.c935 fileoff = be64_to_cpu(fkp->br_startoff); in xrep_dinode_bad_bmbt_fork()
1871 off = got.br_startoff + got.br_blockcount; in xrep_inode_blockdir_size()
H A Dtrace.h486 __entry->startoff = cursor->bmap.br_startoff;
2213 __entry->lblk = irec->br_startoff;
2820 __entry->lblk = irec->br_startoff;
2860 __entry->fileoff = irec->br_startoff;
/linux/fs/xfs/
H A Dxfs_reflink.c312 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
368 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
379 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
380 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent()
381 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent()
382 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent()
388 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent()
405 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_convert_unwritten()
449 resaligned = xfs_aligned_fsb_count(imap->br_startoff, in xfs_reflink_fill_cow_hole()
479 error = xfs_bmapi_read(ip, imap->br_startoff, in xfs_reflink_fill_cow_hole()
[all …]
H A Dxfs_aops.c395 cow_fsb = imap.br_startoff; in xfs_map_blocks()
419 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
424 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
425 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
426 imap.br_startoff = offset_fsb; in xfs_map_blocks()
438 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks()
439 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
615 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_zoned_map_blocks()
616 if (imap.br_startoff > offset_fsb) { in xfs_zoned_map_blocks()
617 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_zoned_map_blocks()
[all …]
H A Dxfs_bmap_util.c184 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
228 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
233 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec()
382 if (got.br_startoff > bno) { in xfs_getbmap()
384 got.br_startoff); in xfs_getbmap()
394 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
456 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
1327 error = xfs_bmapi_read(ip, tirec.br_startoff, in xfs_swap_extent_rmap()
1333 ASSERT(tirec.br_startoff == irec.br_startoff); in xfs_swap_extent_rmap()
1376 tirec.br_startoff += rlen; in xfs_swap_extent_rmap()
[all …]
H A Dxfs_zone_alloc.c243 error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data, in xfs_zoned_map_extent()
329 .br_startoff = XFS_B_TO_FSBT(mp, offset), in xfs_zoned_end_io()
341 while (new.br_startoff < end_fsb) { in xfs_zoned_end_io()
342 new.br_blockcount = end_fsb - new.br_startoff; in xfs_zoned_end_io()
360 new.br_startoff += new.br_blockcount; in xfs_zoned_end_io()
H A Dxfs_dquot.c785 if (got.br_startoff < start) in xfs_dq_get_next_id()
786 got.br_startoff = start; in xfs_dq_get_next_id()
787 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
H A Dxfs_inode.c1124 for (off = round_up(got.br_startoff, geo->fsbcount); in xfs_inactive_dir()
1125 off < got.br_startoff + got.br_blockcount; in xfs_inactive_dir()
1131 fsbno = (off - got.br_startoff) + got.br_startblock; in xfs_inactive_dir()
H A Dxfs_trace.h694 __entry->startoff = r.br_startoff;
1832 __entry->startoff = irec ? irec->br_startoff : 0;
3393 __entry->l_loff = ri->ri_bmap.br_startoff;
3475 __entry->l_loff = bi->bi_bmap.br_startoff;
4061 __entry->lblk = irec->br_startoff;
5587 __entry->loff = left->br_startoff;
5590 __entry->coff = curr->br_startoff;
5593 __entry->noff = new->br_startoff;
5596 __entry->roff = right->br_startoff;
6461 __entry->startoff = got->br_startoff;
[all …]
H A Dxfs_qm.c1204 firstid = (xfs_dqid_t) map[i].br_startoff * in xfs_qm_reset_dqcounts_buf()
/linux/fs/xfs/libxfs/
H A Dxfs_exchmaps.c96 len = min(XFS_FSB_TO_B(mp, imap->br_startoff + imap->br_blockcount), in xfs_exchmaps_update_size()
237 if (!isaligned_64(irec->br_startoff, mp->m_sb.sb_rextsize)) { in xfs_exchmaps_can_skip_mapping()
240 new_end = roundup_64(irec->br_startoff, mp->m_sb.sb_rextsize); in xfs_exchmaps_can_skip_mapping()
242 new_end - irec->br_startoff); in xfs_exchmaps_can_skip_mapping()
260 new_end = rounddown_64(irec->br_startoff + irec->br_blockcount, in xfs_exchmaps_can_skip_mapping()
262 irec->br_blockcount = new_end - irec->br_startoff; in xfs_exchmaps_can_skip_mapping()
302 irec1->br_startoff != xmi->xmi_startoff1) { in xfs_exchmaps_find_mappings()
327 irec2->br_startoff != xmi->xmi_startoff2) { in xfs_exchmaps_find_mappings()
401 swap(irec1->br_startoff, irec2->br_startoff); in xfs_exchmaps_one_step()
737 if (b1->br_startoff + b1->br_blockcount == b2->br_startoff && in xmi_can_merge()
[all …]
H A Dxfs_types.h156 xfs_fileoff_t br_startoff; /* starting file offset */ member