Home
last modified time | relevance | path

Searched refs:XFS_MAX_BMBT_EXTLEN (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_iomap.c472 if (plen > XFS_MAX_BMBT_EXTLEN / 2 || in xfs_iomap_prealloc_size()
489 if (alloc_blocks > XFS_MAX_BMBT_EXTLEN) in xfs_iomap_prealloc_size()
500 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN), in xfs_iomap_prealloc_size()
543 if (alloc_blocks > XFS_MAX_BMBT_EXTLEN) in xfs_iomap_prealloc_size()
544 alloc_blocks = XFS_MAX_BMBT_EXTLEN; in xfs_iomap_prealloc_size()
Dxfs_rtalloc.c1389 *ralen = xfs_extlen_to_rtxlen(mp, min(ap->length, XFS_MAX_BMBT_EXTLEN)); in xfs_rtallocate_align()
Dxfs_bmap_util.c710 (XFS_MAX_BMBT_EXTLEN * nimaps)); in xfs_alloc_file_space()
/linux-6.12.1/fs/xfs/scrub/
Dcow_repair.c469 alloc_len = min_t(xfs_fileoff_t, XFS_MAX_BMBT_EXTLEN, in xrep_cow_replace_range()
511 XFS_MAX_BMBT_EXTLEN); in xrep_cow_replace()
Dbmap.c803 if (irec->br_blockcount > XFS_MAX_BMBT_EXTLEN) in xchk_bmap_iextent_delalloc()
817 if (irec->br_blockcount > XFS_MAX_BMBT_EXTLEN) in xchk_bmap_iext_mapping()
898 howmany_64(irec->br_blockcount, XFS_MAX_BMBT_EXTLEN) < nr) in xchk_bmap_iext_iter()
Dreap.c505 ASSERT(len <= XFS_MAX_BMBT_EXTLEN); in xreap_agmeta_extent()
585 ASSERT(len <= XFS_MAX_BMBT_EXTLEN); in xreap_fsmeta_extent()
Dbmap_repair.c152 XFS_MAX_BMBT_EXTLEN); in xrep_bmap_from_rmap()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_bmap.c1495 LEFT.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_add_extent_delay_real()
1513 new->br_blockcount + RIGHT.br_blockcount <= XFS_MAX_BMBT_EXTLEN && in xfs_bmap_add_extent_delay_real()
1519 <= XFS_MAX_BMBT_EXTLEN)) in xfs_bmap_add_extent_delay_real()
2064 LEFT.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_add_extent_unwritten_real()
2082 new->br_blockcount + RIGHT.br_blockcount <= XFS_MAX_BMBT_EXTLEN && in xfs_bmap_add_extent_unwritten_real()
2088 <= XFS_MAX_BMBT_EXTLEN)) in xfs_bmap_add_extent_unwritten_real()
2597 left.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_add_extent_hole_delay()
2602 new->br_blockcount + right.br_blockcount <= XFS_MAX_BMBT_EXTLEN && in xfs_bmap_add_extent_hole_delay()
2605 right.br_blockcount <= XFS_MAX_BMBT_EXTLEN))) in xfs_bmap_add_extent_hole_delay()
2748 left.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_add_extent_hole_real()
[all …]
Dxfs_inode_buf.c768 if (extsize > XFS_MAX_BMBT_EXTLEN) in xfs_inode_validate_extsize()
825 if (cowextsize > XFS_MAX_BMBT_EXTLEN) in xfs_inode_validate_cowextsize()
Dxfs_exchmaps.c738 b1->br_blockcount + b2->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xmi_can_merge()
757 return new_len <= XFS_MAX_BMBT_EXTLEN; in xmi_can_merge_all()
Dxfs_trans_resv.c226 rtxlen = xfs_extlen_to_rtxlen(mp, XFS_MAX_BMBT_EXTLEN); in xfs_rtalloc_block_count()
Dxfs_rtbitmap.c1027 ASSERT(rtlen <= XFS_MAX_BMBT_EXTLEN); in xfs_rtfree_blocks()
Dxfs_format.h1667 #define XFS_MAX_BMBT_EXTLEN ((xfs_extlen_t)(BMBT_BLOCKCOUNT_MASK)) macro
Dxfs_alloc.c2644 ASSERT(len <= XFS_MAX_BMBT_EXTLEN); in xfs_defer_extent_free()