Searched refs:XFS_B_TO_FSB (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/fs/xfs/ |
D | xfs_iomap.c | 144 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct() 322 count_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_iomap_eof_want_preallocate() 390 start_fsb = XFS_B_TO_FSB(mp, offset); in xfs_iomap_eof_prealloc_initial_size() 402 return XFS_B_TO_FSB(mp, offset); in xfs_iomap_eof_prealloc_initial_size() 615 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_delay() 628 if (last_fsb > XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)) in xfs_iomap_write_delay() 629 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_iomap_write_delay() 771 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate() 861 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
|
D | xfs_bmap_util.c | 485 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole() 578 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap() 685 map[i].br_startoff <= XFS_B_TO_FSB(mp, XFS_ISIZE(ip))) in xfs_getbmap() 877 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks() 878 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_free_eofblocks() 994 allocatesize_fsb = XFS_B_TO_FSB(mp, count); in xfs_alloc_file_space() 1239 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 1445 next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_shift_file_space() 1446 stop_fsb = XFS_B_TO_FSB(mp, VFS_I(ip)->i_size); in xfs_shift_file_space() 1453 stop_fsb = XFS_B_TO_FSB(mp, offset); in xfs_shift_file_space() [all …]
|
D | xfs_qm_syscalls.c | 451 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 454 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 468 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 471 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
D | xfs_rtalloc.c | 934 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 947 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 948 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 993 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
D | xfs_pnfs.c | 167 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
D | xfs_aops.c | 315 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks() 1421 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + size); in __xfs_get_blocks() 1723 start_fsb = XFS_B_TO_FSB(ip->i_mount, start); in xfs_vm_kill_delalloc_range() 1724 end_fsb = XFS_B_TO_FSB(ip->i_mount, end); in xfs_vm_kill_delalloc_range()
|
D | xfs_file.c | 519 start_zero_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_zero_eof() 1365 end = XFS_B_TO_FSB(mp, isize); in xfs_seek_hole_data()
|
D | xfs_fsops.c | 574 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
|
D | xfs_inode.c | 1582 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents() 1583 last_block = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_itruncate_extents()
|
D | xfs_ioctl.c | 1130 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr_check_extsize()
|
D | xfs_qm.c | 966 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_dqiterate()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 46 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
|
D | xfs_trans_space.h | 64 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
D | xfs_attr_remote.c | 59 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
|
D | xfs_format.h | 580 #define XFS_B_TO_FSB(mp,b) \ macro
|