Home
last modified time | relevance | path

Searched refs:br_blockcount (Results 1 – 23 of 23) sorted by relevance

/linux/fs/xfs/scrub/
H A Dcow_repair.c126 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount()
128 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount()
218 if (rec_bno + rec_len > xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_mark_missing_staging_rmap()
220 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_mark_missing_staging_rmap()
237 xfs_extlen_t len = xc->irec.br_blockcount; in xrep_cow_debug_replacement()
281 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
290 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
298 if (xc->next_bno < xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_find_bad()
301 xc->irec_startbno + xc->irec.br_blockcount - in xrep_cow_find_bad()
310 rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
[all …]
H A Dbmap.c226 if (rmap_end != bno + irec->br_blockcount) in xchk_bmap_xref_rmap()
236 if (rmap_end != irec->br_startoff + irec->br_blockcount) in xchk_bmap_xref_rmap()
294 if (rmap_end < bno + irec->br_blockcount) in xchk_bmap_xref_rmap_cow()
344 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
358 irec->br_blockcount, &oinfo); in xchk_bmap_rt_iextent_xref()
360 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
363 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
368 irec->br_blockcount, &XFS_RMAP_OINFO_COW); in xchk_bmap_rt_iextent_xref()
370 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
372 irec->br_blockcount); in xchk_bmap_rt_iextent_xref()
[all …]
H A Ddqiterate.c62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff) in xchk_dquot_iter_revalidate_bmap()
100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount; in xchk_dquot_iter_advance_bmap()
H A Drtbitmap_repair.c442 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
462 map.br_blockcount, 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()
912 dabno < got.br_startoff + got.br_blockcount; in xrep_xattr_recover()
921 got.br_blockcount - curr_offset); in xrep_xattr_recover()
990 irec.br_startblock, irec.br_blockcount, in xrep_xattr_fork_remove()
H A Drtbitmap.c183 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
H A Dquota.c290 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
H A Drtsummary.c270 off += map.br_blockcount; in xchk_rtsum_compare()
H A Dtempfile.c426 for (; off < end; off = map.br_startoff + map.br_blockcount) { in xrep_tempfile_prealloc()
H A Dtrace.h488 __entry->blockcount = cursor->bmap.br_blockcount;
2214 __entry->len = irec->br_blockcount;
2821 __entry->len = irec->br_blockcount;
2861 __entry->len = irec->br_blockcount;
2890 __entry->len = irec->br_blockcount;
H A Dinode_repair.c1871 off = got.br_startoff + got.br_blockcount; in xrep_inode_blockdir_size()
/linux/fs/xfs/
H A Dxfs_reflink.c158 error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount, in xfs_reflink_find_shared()
206 error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount, in xfs_reflink_find_rtshared()
264 irec->br_blockcount = shared_len; in xfs_reflink_trim_around_shared()
273 irec->br_blockcount = shared_offset; in xfs_reflink_trim_around_shared()
320 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
369 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent()
388 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent()
406 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_convert_unwritten()
450 imap->br_blockcount, xfs_get_cowextsz_hint(ip)); in xfs_reflink_fill_cow_hole()
480 imap->br_blockcount, imap, &nimaps, 0); in xfs_reflink_fill_cow_hole()
[all …]
H A Dxfs_bmap_util.c84 *count += got.br_blockcount; in xfs_bmap_count_leaves()
185 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); 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()
236 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec()
237 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec()
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()
465 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range()
481 ac->reserved_blocks += del.br_blockcount; in xfs_bmap_punch_delalloc_range()
[all …]
H A Dxfs_zone_alloc.c243 error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data, in xfs_zoned_map_extent()
252 ASSERT(new->br_blockcount >= data.br_blockcount); in xfs_zoned_map_extent()
253 new->br_blockcount = data.br_blockcount; in xfs_zoned_map_extent()
289 data.br_blockcount, NULL, in xfs_zoned_map_extent()
299 new->br_blockcount); in xfs_zoned_map_extent()
302 rmapip->i_used_blocks += new->br_blockcount; in xfs_zoned_map_extent()
304 xfs_zone_inc_written(oz, new->br_blockcount); in xfs_zoned_map_extent()
313 xfs_zone_skip_blocks(oz, new->br_blockcount); in xfs_zoned_map_extent()
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()
[all …]
H A Dxfs_aops.c425 imap.br_blockcount = 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()
617 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_zoned_map_blocks()
625 end_fsb = min(end_fsb, imap.br_startoff + imap.br_blockcount); in xfs_zoned_map_blocks()
H A Dxfs_attr_inactive.c69 blkno += map.br_blockcount; in xfs_attr3_rmt_stale()
70 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
H A Dxfs_qm.c1196 ASSERT(map[i].br_blockcount); in xfs_qm_reset_dqcounts_buf()
1199 lblkno += map[i].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1211 rablkcnt = map[i+1].br_blockcount; in xfs_qm_reset_dqcounts_buf()
1227 map[i].br_blockcount, in xfs_qm_reset_dqcounts_buf()
H A Dxfs_dquot.c387 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_dquot_disk_alloc()
489 ASSERT(map.br_blockcount >= 1); in xfs_dquot_disk_read()
H A Dxfs_trace.h696 __entry->blockcount = r.br_blockcount;
1834 __entry->blockcount = irec ? irec->br_blockcount : 0;
3394 __entry->l_len = ri->ri_bmap.br_blockcount;
3476 __entry->l_len = bi->bi_bmap.br_blockcount;
4062 __entry->len = irec->br_blockcount;
5589 __entry->lcount = left->br_blockcount;
5592 __entry->ccount = curr->br_blockcount;
5595 __entry->ncount = new->br_blockcount;
5598 __entry->rcount = right->br_blockcount;
6463 __entry->blockcount = got->br_blockcount;
[all …]
H A Dxfs_inode.c1125 off < got.br_startoff + got.br_blockcount; in xfs_inactive_dir()
/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()
114 xmi->xmi_startoff1 += irec->br_blockcount; in xmi_advance()
115 xmi->xmi_startoff2 += irec->br_blockcount; in xmi_advance()
116 xmi->xmi_blockcount -= irec->br_blockcount; in xmi_advance()
174 ip1_delta -= irec1->br_blockcount; in xfs_exchmaps_update_quota()
175 ip2_delta += irec1->br_blockcount; in xfs_exchmaps_update_quota()
179 ip1_delta += irec2->br_blockcount; in xfs_exchmaps_update_quota()
180 ip2_delta -= irec2->br_blockcount; in xfs_exchmaps_update_quota()
241 irec->br_blockcount = min(irec->br_blockcount, in xfs_exchmaps_can_skip_mapping()
245 if (isaligned_64(irec->br_blockcount, mp->m_sb.sb_rextsize)) in xfs_exchmaps_can_skip_mapping()
[all …]
H A Dxfs_types.h158 xfs_filblks_t br_blockcount; /* number of blocks */ member
H A Dxfs_refcount.c1610 PREV->br_blockcount); in xfs_refcount_increase_extent()
1626 PREV->br_blockcount); in xfs_refcount_decrease_extent()