Home
last modified time | relevance | path

Searched refs:m_dalign (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/xfs/
Dxfs_mount.c290 if (mp->m_dalign == 0) in xfs_validate_new_dalign()
297 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_validate_new_dalign()
308 mp->m_dalign = XFS_BB_TO_FSBT(mp, mp->m_dalign); in xfs_validate_new_dalign()
309 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign()
316 if (!mp->m_dalign) { in xfs_validate_new_dalign()
319 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
341 if (mp->m_dalign) { in xfs_update_alignment()
345 if (sbp->sb_unit == mp->m_dalign && in xfs_update_alignment()
349 error = xfs_check_new_dalign(mp, mp->m_dalign, &update_sb); in xfs_update_alignment()
353 sbp->sb_unit = mp->m_dalign; in xfs_update_alignment()
[all …]
Dxfs_super.c222 if (mp->m_dalign > 0) in xfs_fs_show_options()
224 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options()
1280 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param()
1392 if (xfs_has_noalign(mp) && (mp->m_dalign || mp->m_swidth)) { in xfs_fs_validate_params()
1403 if ((mp->m_dalign && !mp->m_swidth) || in xfs_fs_validate_params()
1404 (!mp->m_dalign && mp->m_swidth)) { in xfs_fs_validate_params()
1409 if (mp->m_dalign && (mp->m_swidth % mp->m_dalign != 0)) { in xfs_fs_validate_params()
1412 mp->m_swidth, mp->m_dalign); in xfs_fs_validate_params()
Dxfs_iomap.c143 else if (mp->m_dalign) in xfs_eof_alignment()
144 align = mp->m_dalign; in xfs_eof_alignment()
395 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size()
Dxfs_mount.h139 int m_dalign; /* stripe unit */ member
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_ialloc.c715 args.alignment = args.mp->m_dalign; in xfs_ialloc_ag_alloc()
2846 if (mp->m_dalign && igeo->inoalign_mask && in xfs_ialloc_setup_geometry()
2847 !(mp->m_dalign & igeo->inoalign_mask)) in xfs_ialloc_setup_geometry()
2848 igeo->ialloc_align = mp->m_dalign; in xfs_ialloc_setup_geometry()
Dxfs_bmap.c3375 else if (mp->m_dalign) in xfs_bmap_compute_alignments()
3376 stripe_align = mp->m_dalign; in xfs_bmap_compute_alignments()
4066 if (mp->m_dalign && bma->length >= mp->m_dalign) { in xfs_bmap_alloc_userdata()