Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_mount.c303 if (mp->m_dalign == 0) in xfs_validate_new_dalign()
310 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_validate_new_dalign()
321 mp->m_dalign = XFS_BB_TO_FSBT(mp, mp->m_dalign); in xfs_validate_new_dalign()
322 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign()
329 if (!mp->m_dalign) { in xfs_validate_new_dalign()
332 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
354 if (mp->m_dalign) { in xfs_update_alignment()
358 if (sbp->sb_unit == mp->m_dalign && in xfs_update_alignment()
362 error = xfs_check_new_dalign(mp, mp->m_dalign, &update_sb); in xfs_update_alignment()
366 sbp->sb_unit = mp->m_dalign; in xfs_update_alignment()
[all …]
H A Dxfs_super.c207 if (mp->m_dalign > 0) in xfs_fs_show_options()
209 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options()
1315 parsing_mp->m_dalign = result.uint_32; in xfs_fs_parse_param()
1427 if (xfs_has_noalign(mp) && (mp->m_dalign || mp->m_swidth)) { in xfs_fs_validate_params()
1438 if ((mp->m_dalign && !mp->m_swidth) || in xfs_fs_validate_params()
1439 (!mp->m_dalign && mp->m_swidth)) { in xfs_fs_validate_params()
1444 if (mp->m_dalign && (mp->m_swidth % mp->m_dalign != 0)) { in xfs_fs_validate_params()
1447 mp->m_swidth, mp->m_dalign); in xfs_fs_validate_params()
H A Dxfs_iomap.c191 else if (mp->m_dalign) in xfs_eof_alignment()
192 align = mp->m_dalign; in xfs_eof_alignment()
460 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size()
H A Dxfs_mount.h142 int m_dalign; /* stripe unit */ member
/linux/fs/xfs/libxfs/
H A Dxfs_ialloc.c801 args.alignment = args.mp->m_dalign; in xfs_ialloc_ag_alloc()
3032 if (mp->m_dalign && igeo->inoalign_mask && in xfs_ialloc_setup_geometry()
3033 !(mp->m_dalign & igeo->inoalign_mask)) in xfs_ialloc_setup_geometry()
3034 igeo->ialloc_align = mp->m_dalign; in xfs_ialloc_setup_geometry()
H A Dxfs_sb.c1420 if (!mp->m_dalign) in xfs_validate_stripe_geometry()
1425 BBTOB(mp->m_dalign), BBTOB(mp->m_swidth)); in xfs_validate_stripe_geometry()
H A Dxfs_bmap.c3418 else if (mp->m_dalign) in xfs_bmap_compute_alignments()
3419 stripe_align = mp->m_dalign; in xfs_bmap_compute_alignments()
4177 if (mp->m_dalign && bma->length >= mp->m_dalign) { in xfs_bmapi_allocate()