/linux/fs/xfs/scrub/ |
H A D | rtbitmap.c | 98 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()
|
H A D | cow_repair.c | 97 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 in xrep_cow_replace() [all...] |
H A D | bmap_repair.c | 101 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()
|
H A D | rtbitmap_repair.c | 333 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()
|
H A D | trace.h | 478 __field(xfs_filblks_t, blockcount) 488 __entry->blockcount = cursor->bmap.br_blockcount; 499 __entry->blockcount, 946 __field(xfs_extlen_t, blockcount) 955 __entry->blockcount = irec->rc_blockcount; 964 __entry->blockcount, 2079 __field(xfs_extlen_t, blockcount) 2085 __entry->blockcount = rec->ar_blockcount; 2091 __entry->blockcount) 2136 __field(xfs_extlen_t, blockcount) [all …]
|
H A D | rtrmap_repair.c | 145 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()
|
H A D | rmap_repair.c | 215 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()
|
H A D | tempfile.c | 646 req->blockcount = len; in xrep_tempexch_prep_request()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_resv.h | 126 xfs_extlen_t blockcount, unsigned int *new_logres); 128 xfs_extlen_t blockcount);
|
H A D | xfs_trans_resv.c | 1500 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()
|
H A D | xfs_exchmaps.c | 415 * recovery) will log the XMD item, and if *blockcount is nonzero, it in xfs_exchmaps_one_step() 911 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()
|
H A D | xfs_exchmaps.h | 57 xfs_filblks_t blockcount; member
|
H A D | xfs_rmap.h | 257 xfs_extlen_t blockcount; member
|
H A D | xfs_refcount.c | 1584 xfs_extlen_t blockcount) in __xfs_refcount_add() argument 1593 ri->ri_blockcount = blockcount; in __xfs_refcount_add()
|
H A D | xfs_rmap.c | 911 xfs_extlen_t blockcount, in xfs_rmap_update_hook() argument 918 .blockcount = blockcount, in xfs_rmap_update_hook()
|
H A D | xfs_bmap.c | 5547 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()
|
/linux/fs/xfs/ |
H A D | xfs_notify_failure.c | 32 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()
|
H A D | xfs_trace.h | 206 unsigned int blockcount), 207 TP_ARGS(mp, per_intent, step_size, logres, blockcount), 213 __field(unsigned int, blockcount) 220 __entry->blockcount = blockcount; 227 __entry->blockcount) 232 unsigned int step_size, unsigned int blockcount, 234 TP_ARGS(mp, per_intent, step_size, blockcount, min_logblocks, logres), 239 __field(unsigned int, blockcount) 248 __entry->blockcount = blockcount; 257 __entry->blockcount, [all …]
|
H A D | xfs_exchrange.c | 203 .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()
|
H A D | xfs_exchmaps_item.c | 397 req->blockcount = xlf->xmi_blockcount; in xfs_xmi_item_recover_intent()
|
H A D | xfs_fsmap.c | 380 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()
|
/linux/drivers/usb/atm/ |
H A D | ueagle-atm.c | 724 u8 pagecount, blockcount; in check_dsp_e1() local 744 /* enough space for blockcount? */ in check_dsp_e1() 749 blockcount = FW_GET_BYTE(dsp + pp); in check_dsp_e1() 752 for (j = 0; j < blockcount; j++) { in check_dsp_e1() 906 u8 pagecount, blockcount; in uea_load_page_e1() local 934 blockcount = FW_GET_BYTE(p); in uea_load_page_e1() 938 "sending %u blocks for DSP page %u\n", blockcount, pageno); in uea_load_page_e1() 944 for (i = 0; i < blockcount; i++) { in uea_load_page_e1() 953 bi.wLast = cpu_to_le16((i == blockcount - 1) ? 1 : 0); in uea_load_page_e1()
|
/linux/Documentation/admin-guide/ |
H A D | jfs.rst | 58 The value of minlen specifies the minimum blockcount, when
|
/linux/fs/btrfs/ |
H A D | file-item.c | 750 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()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | printk-formats.rst | 59 (unsigned long long)sector, (unsigned long long)blockcount);
|