Home
last modified time | relevance | path

Searched refs:sb_sectsize (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_trans_resv.c268 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
275 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
282 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
317 t2 = xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
321 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
351 (xfs_calc_buf_res(7, mp->m_sb.sb_sectsize) + in xfs_calc_rename_reservation()
366 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_remove_reservation()
391 (xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_link_reservation()
404 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_add_reservation()
429 (xfs_calc_buf_res(4, mp->m_sb.sb_sectsize) in xfs_calc_remove_reservation()
[all...]
H A Dxfs_sb.c297 sbp->sb_sectsize < XFS_MIN_SECTORSIZE || in xfs_validate_sb_common()
298 sbp->sb_sectsize > XFS_MAX_SECTORSIZE || in xfs_validate_sb_common()
301 sbp->sb_sectsize != (1 << sbp->sb_sectlog) || in xfs_validate_sb_common()
504 to->sb_sectsize = be16_to_cpu(from->sb_sectsize); in __xfs_sb_from_disk()
647 to->sb_sectsize = cpu_to_be16(from->sb_sectsize); in xfs_sb_to_disk()
1126 geo->sectsize = sbp->sb_sectsize; in xfs_fs_geometry()
H A Dxfs_format.h113 uint16_t sb_sectsize; /* volume sector size, bytes */ member
118 uint8_t sb_sectlog; /* log2 of sb_sectsize */
204 __be16 sb_sectsize; /* volume sector size, bytes */ member
209 __u8 sb_sectlog; /* log2 of sb_sectsize */
H A Dxfs_alloc.c52 unsigned int size = mp->m_sb.sb_sectsize; in xfs_agfl_size()
H A Dxfs_ialloc.c2920 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A 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...]
H A Dxfs_sb.c400 sbp->sb_sectsize < XFS_MIN_SECTORSIZE || in xfs_validate_sb_common()
401 sbp->sb_sectsize > XFS_MAX_SECTORSIZE || in xfs_validate_sb_common()
404 sbp->sb_sectsize != (1 << sbp->sb_sectlog) || in xfs_validate_sb_common()
626 to->sb_sectsize = be16_to_cpu(from->sb_sectsize); in __xfs_sb_from_disk()
775 to->sb_sectsize = cpu_to_be16(from->sb_sectsize); in xfs_sb_to_disk()
1194 geo->sectsize = sbp->sb_sectsize; in xfs_fs_geometry()
H A Dxfs_format.h113 uint16_t sb_sectsize; /* volume sector size, bytes */ member
118 uint8_t sb_sectlog; /* log2 of sb_sectsize */
204 __be16 sb_sectsize; /* volume sector size, bytes */ member
209 __u8 sb_sectlog; /* log2 of sb_sectsize */
H A Dxfs_ialloc.c2908 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
H A Dxfs_alloc.c48 unsigned int size = mp->m_sb.sb_sectsize; in xfs_agfl_size()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_mount.c284 * get the sb_sectsize out of the superblock and in xfs_readsb()
329 if (sector_size > sbp->sb_sectsize) { in xfs_readsb()
332 sector_size, sbp->sb_sectsize); in xfs_readsb()
343 sector_size = sbp->sb_sectsize; in xfs_readsb()
H A Dxfs_super.c469 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices()
485 mp->m_sb.sb_sectsize); in xfs_setup_devices()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_mount.c166 * get the sb_sectsize out of the superblock and in xfs_readsb()
211 if (sector_size > sbp->sb_sectsize) { in xfs_readsb()
214 sector_size, sbp->sb_sectsize); in xfs_readsb()
225 sector_size = sbp->sb_sectsize; in xfs_readsb()
H A Dxfs_super.c517 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices()
533 mp->m_sb.sb_sectsize); in xfs_setup_devices()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dagheader.c189 if (sb->sb_sectsize != cpu_to_be16(mp->m_sb.sb_sectsize)) in xchk_superblock()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dagheader.c167 if (sb->sb_sectsize != cpu_to_be16(mp->m_sb.sb_sectsize)) in xchk_superblock()

Completed in 36 milliseconds