Searched refs:XFS_B_TO_FSB (Results 1 – 15 of 15) sorted by relevance
/linux-4.1.27/fs/xfs/ |
D | xfs_iomap.c | 143 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct() 284 count_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_iomap_eof_want_preallocate() 352 start_fsb = XFS_B_TO_FSB(mp, offset); in xfs_iomap_eof_prealloc_initial_size() 364 return XFS_B_TO_FSB(mp, offset); in xfs_iomap_eof_prealloc_initial_size() 577 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_delay() 590 if (last_fsb > XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)) in xfs_iomap_write_delay() 591 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_iomap_write_delay() 733 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate() 823 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
|
D | xfs_bmap_util.c | 459 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole() 552 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap() 659 map[i].br_startoff <= XFS_B_TO_FSB(mp, XFS_ISIZE(ip))) in xfs_getbmap() 851 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks() 852 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_free_eofblocks() 971 allocatesize_fsb = XFS_B_TO_FSB(mp, count); in xfs_alloc_file_space() 1201 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 1407 next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_shift_file_space() 1408 stop_fsb = XFS_B_TO_FSB(mp, VFS_I(ip)->i_size); in xfs_shift_file_space() 1415 stop_fsb = XFS_B_TO_FSB(mp, offset); in xfs_shift_file_space() [all …]
|
D | xfs_qm_syscalls.c | 452 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 455 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 469 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 472 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
D | xfs_rtalloc.c | 937 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 950 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 951 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 997 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
D | xfs_aops.c | 308 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks() 1392 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + size); in __xfs_get_blocks() 1646 start_fsb = XFS_B_TO_FSB(ip->i_mount, start); in xfs_vm_kill_delalloc_range() 1647 end_fsb = XFS_B_TO_FSB(ip->i_mount, end); in xfs_vm_kill_delalloc_range()
|
D | xfs_pnfs.c | 167 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
D | xfs_file.c | 485 start_zero_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_zero_eof() 1327 end = XFS_B_TO_FSB(mp, isize); in xfs_seek_hole_data()
|
D | xfs_fsops.c | 572 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 | 1588 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents() 1589 last_block = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_itruncate_extents()
|
D | xfs_ioctl.c | 1119 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr_check_extsize()
|
D | xfs_qm.c | 967 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_dqiterate()
|
/linux-4.1.27/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 | 548 #define XFS_B_TO_FSB(mp,b) \ macro
|