Home
last modified time | relevance | path

Searched refs:blockcount (Results 1 – 22 of 22) sorted by relevance

/fs/xfs/scrub/
A Drtbitmap.c98 xfs_rtblock_t blockcount) in xchk_rtbitmap_xref() argument
108 xchk_xref_has_no_rt_owner(sc, rgbno, blockcount); in xchk_rtbitmap_xref()
109 xchk_xref_is_not_rt_shared(sc, rgbno, blockcount); in xchk_rtbitmap_xref()
110 xchk_xref_is_not_rt_cow_staging(sc, rgbno, blockcount); in xchk_rtbitmap_xref()
115 rtb->next_free_rgbno = rgbno + blockcount; in xchk_rtbitmap_xref()
129 xfs_filblks_t blockcount; in xchk_rtbitmap_rec() local
132 blockcount = xfs_rtxlen_to_extlen(rtg_mount(rtg), rec->ar_extcount); in xchk_rtbitmap_rec()
134 if (!xfs_verify_rtbext(rtg_mount(rtg), startblock, blockcount)) in xchk_rtbitmap_rec()
137 xchk_rtbitmap_xref(rtb, startblock, blockcount); in xchk_rtbitmap_rec()
A Dcow_repair.c97 xfs_filblks_t blockcount) in xrep_cow_mark_file_range() argument
105 blockcount); in xrep_cow_mark_file_range()
107 return xoff_bitmap_set(&xc->bad_fileoffs, startoff, blockcount); in xrep_cow_mark_file_range()
560 xfs_extlen_t *blockcount) in xrep_cow_replace_range() argument
577 nextoff = min(startoff + *blockcount, in xrep_cow_replace_range()
614 *blockcount = repl.len; in xrep_cow_replace_range()
625 uint64_t blockcount, in xrep_cow_replace() argument
631 while (blockcount > 0) { in xrep_cow_replace()
632 xfs_extlen_t len = min_t(xfs_filblks_t, blockcount, in xrep_cow_replace()
639 blockcount -= len; in xrep_cow_replace()
A Dbmap_repair.c101 xfs_filblks_t blockcount) in xrep_bmap_discover_shared() argument
117 error = xfs_refcount_find_shared(cur, agbno, blockcount, &fbno, &flen, in xrep_bmap_discover_shared()
134 xfs_filblks_t blockcount, in xrep_bmap_from_rmap() argument
152 error = xrep_bmap_discover_shared(rb, startblock, blockcount); in xrep_bmap_from_rmap()
160 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap()
182 blockcount -= irec.br_blockcount; in xrep_bmap_from_rmap()
183 } while (blockcount > 0); in xrep_bmap_from_rmap()
A Drtbitmap_repair.c333 uint64_t blockcount; in xrep_rtbitmap_find_freespace() local
349 blockcount = rtg->rtg_extents * mp->m_sb.sb_rextsize; in xrep_rtbitmap_find_freespace()
350 if (rtb->next_rgbno < blockcount) { in xrep_rtbitmap_find_freespace()
351 error = xrep_rtbitmap_mark_free(rtb, blockcount); in xrep_rtbitmap_find_freespace()
A Dtrace.h499 __entry->blockcount,
964 __entry->blockcount,
2091 __entry->blockcount)
2155 __entry->blockcount,
2627 __entry->blockcount = blockcount;
2634 __entry->blockcount)
2666 __entry->blockcount,
2674 xfs_extlen_t blockcount),
2686 __entry->blockcount = blockcount;
2692 __entry->blockcount)
[all …]
A Drtrmap_repair.c145 xfs_extlen_t blockcount, in xrep_rtrmap_stash() argument
152 .rm_blockcount = blockcount, in xrep_rtrmap_stash()
862 p->blockcount, &p->oinfo, p->unwritten); in xrep_rtrmapbt_live_update()
A Drmap_repair.c215 xfs_extlen_t blockcount, in xrep_rmap_stash() argument
222 .rm_blockcount = blockcount, in xrep_rmap_stash()
1628 p->blockcount, &p->oinfo, p->unwritten); in xrep_rmapbt_live_update()
A Dtempfile.c646 req->blockcount = len; in xrep_tempexch_prep_request()
/fs/xfs/libxfs/
A Dxfs_trans_resv.h126 xfs_extlen_t blockcount, unsigned int *new_logres);
128 xfs_extlen_t blockcount);
A Dxfs_trans_resv.c1500 xfs_extlen_t blockcount, in xfs_calc_atomic_write_log_geometry() argument
1509 ASSERT(blockcount > 0); in xfs_calc_atomic_write_log_geometry()
1516 if (check_mul_overflow(blockcount, per_intent, &logres) || in xfs_calc_atomic_write_log_geometry()
1525 blockcount, min_logblocks, logres); in xfs_calc_atomic_write_log_geometry()
1538 xfs_extlen_t blockcount) in xfs_calc_atomic_write_reservation() argument
1547 if (blockcount == 0) { in xfs_calc_atomic_write_reservation()
1552 min_logblocks = xfs_calc_atomic_write_log_geometry(mp, blockcount, in xfs_calc_atomic_write_reservation()
A Dxfs_exchmaps.c911 xfs_filblks_t blockcount; in xmi_next() local
916 blockcount = XFS_MAX_FILEOFF - off; in xmi_next()
917 error = xfs_bmapi_read(ip, off, blockcount, nrec, &nimaps, bmap_flags); in xmi_next()
966 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip1->i_disk_size)) in xmi_can_exchange_reflink_flags()
968 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip2->i_disk_size)) in xmi_can_exchange_reflink_flags()
989 xmi->xmi_blockcount = req->blockcount; in xfs_exchmaps_init_intent()
1230 if (req->blockcount == 0) in xfs_exchange_mappings()
A Dxfs_exchmaps.h57 xfs_filblks_t blockcount; member
A Dxfs_rmap.h257 xfs_extlen_t blockcount; member
A Dxfs_refcount.c1584 xfs_extlen_t blockcount) in __xfs_refcount_add() argument
1593 ri->ri_blockcount = blockcount; in __xfs_refcount_add()
A Dxfs_rmap.c911 xfs_extlen_t blockcount, in xfs_rmap_update_hook() argument
918 .blockcount = blockcount, in xfs_rmap_update_hook()
A Dxfs_bmap.c5547 xfs_filblks_t blockcount; in xfs_bmse_merge() local
5551 blockcount = left->br_blockcount + got->br_blockcount; in xfs_bmse_merge()
5557 new.br_blockcount = blockcount; in xfs_bmse_merge()
/fs/xfs/
A Dxfs_notify_failure.c32 xfs_extlen_t blockcount; member
65 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt()
320 notify.blockcount = min(xg->xg_block_count, in xfs_dax_notify_dev_failure()
A Dxfs_trace.h206 unsigned int blockcount),
220 __entry->blockcount = blockcount;
227 __entry->blockcount)
248 __entry->blockcount = blockcount;
257 __entry->blockcount,
704 __entry->blockcount,
1815 __entry->blockcount)
3633 __entry->blockcount,
3673 __entry->blockcount,
5462 __entry->blockcount = req->blockcount;
[all …]
A Dxfs_exchrange.c203 .blockcount = XFS_B_TO_FSB(mp, fxr->length), in xfs_exchrange_mappings()
223 req.blockcount = xfs_blen_roundup_rtx(mp, req.blockcount); in xfs_exchrange_mappings()
A Dxfs_exchmaps_item.c397 req->blockcount = xlf->xmi_blockcount; in xfs_xmi_item_recover_intent()
A Dxfs_fsmap.c380 xfs_extlen_t blockcount, in xfs_getfsmap_group_helper() argument
397 frec->len_daddr = XFS_FSB_TO_BB(xg->xg_mount, blockcount); in xfs_getfsmap_group_helper()
/fs/btrfs/
A Dfile-item.c750 unsigned int blockcount; in btrfs_csum_one_bio() local
771 blockcount = BTRFS_BYTES_TO_BLKS(fs_info, in btrfs_csum_one_bio()
775 for (i = 0; i < blockcount; i++) { in btrfs_csum_one_bio()

Completed in 60 milliseconds