Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_mount.c289 if (mp->m_dalign == 0) in xfs_validate_new_dalign()
296 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_validate_new_dalign()
306 mp->m_dalign = XFS_BB_TO_FSBT(mp, mp->m_dalign); in xfs_validate_new_dalign()
307 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign()
312 } else if (mp->m_dalign) { in xfs_validate_new_dalign()
317 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
338 if (mp->m_dalign) { in xfs_update_alignment()
342 if (sbp->sb_unit == mp->m_dalign && in xfs_update_alignment()
346 error = xfs_check_new_dalign(mp, mp->m_dalign, &update_sb); in xfs_update_alignment()
350 sbp->sb_unit = mp->m_dalign; in xfs_update_alignment()
[all …]
Dxfs_super.c218 if (mp->m_dalign > 0) in xfs_fs_show_options()
220 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options()
1261 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param()
1373 if (xfs_has_noalign(mp) && (mp->m_dalign || mp->m_swidth)) { in xfs_fs_validate_params()
1384 if ((mp->m_dalign && !mp->m_swidth) || in xfs_fs_validate_params()
1385 (!mp->m_dalign && mp->m_swidth)) { in xfs_fs_validate_params()
1390 if (mp->m_dalign && (mp->m_swidth % mp->m_dalign != 0)) { in xfs_fs_validate_params()
1393 mp->m_swidth, mp->m_dalign); in xfs_fs_validate_params()
Dxfs_iomap.c137 else if (mp->m_dalign) in xfs_eof_alignment()
138 align = mp->m_dalign; in xfs_eof_alignment()
386 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size()
Dxfs_mount.h141 int m_dalign; /* stripe unit */ member
/fs/xfs/libxfs/
Dxfs_ialloc.c715 args.alignment = args.mp->m_dalign; in xfs_ialloc_ag_alloc()
2858 if (mp->m_dalign && igeo->inoalign_mask && in xfs_ialloc_setup_geometry()
2859 !(mp->m_dalign & igeo->inoalign_mask)) in xfs_ialloc_setup_geometry()
2860 igeo->ialloc_align = mp->m_dalign; in xfs_ialloc_setup_geometry()
Dxfs_bmap.c3427 else if (mp->m_dalign) in xfs_bmap_compute_alignments()
3428 stripe_align = mp->m_dalign; in xfs_bmap_compute_alignments()
4118 if (mp->m_dalign && bma->length >= mp->m_dalign) { in xfs_bmap_alloc_userdata()