Home
last modified time | relevance | path

Searched refs:sb_sectsize (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/libxfs/
Dxfs_trans_resv.c265 return xfs_calc_buf_res(nr_ops, mp->m_sb.sb_sectsize) + in xfs_calc_refcountbt_reservation()
302 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
309 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
316 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
383 t2 = xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
387 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
443 (xfs_calc_buf_res(7, mp->m_sb.sb_sectsize) + in xfs_calc_rename_reservation()
458 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_remove_reservation()
483 (xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_link_reservation()
496 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_add_reservation()
[all …]
Dxfs_sb.c399 sbp->sb_sectsize < XFS_MIN_SECTORSIZE || in xfs_validate_sb_common()
400 sbp->sb_sectsize > XFS_MAX_SECTORSIZE || in xfs_validate_sb_common()
403 sbp->sb_sectsize != (1 << sbp->sb_sectlog) || in xfs_validate_sb_common()
571 to->sb_sectsize = be16_to_cpu(from->sb_sectsize); in __xfs_sb_from_disk()
720 to->sb_sectsize = cpu_to_be16(from->sb_sectsize); in xfs_sb_to_disk()
1136 geo->sectsize = sbp->sb_sectsize; in xfs_fs_geometry()
Dxfs_format.h113 uint16_t sb_sectsize; /* volume sector size, bytes */ member
204 __be16 sb_sectsize; /* volume sector size, bytes */ member
Dxfs_ialloc.c2870 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
Dxfs_alloc.c52 unsigned int size = mp->m_sb.sb_sectsize; in xfs_agfl_size()
/fs/xfs/
Dxfs_mount.c210 if (sector_size > sbp->sb_sectsize) { in xfs_readsb()
213 sector_size, sbp->sb_sectsize); in xfs_readsb()
224 sector_size = sbp->sb_sectsize; in xfs_readsb()
Dxfs_super.c500 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices()
516 mp->m_sb.sb_sectsize); in xfs_setup_devices()
/fs/xfs/scrub/
Dagheader.c179 if (sb->sb_sectsize != cpu_to_be16(mp->m_sb.sb_sectsize)) in xchk_superblock()