Searched refs:XFS_B_TO_FSB (Results 1 – 14 of 14) sorted by relevance
/linux-3.4.99/fs/xfs/ |
D | xfs_iomap.c | 157 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct() 298 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_iomap_eof_want_preallocate() 344 alloc_blocks = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)) + 1; in xfs_iomap_prealloc_size() 416 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_delay() 568 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate() 657 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten()
|
D | xfs_trans_space.h | 61 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
D | xfs_vnodeops.c | 75 error = xfs_bmapi_read(ip, 0, XFS_B_TO_FSB(mp, pathlen), mval, &nmaps, in xfs_readlink_bmap() 179 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks() 180 last_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_free_eofblocks() 312 error = xfs_bmapi_read(ip, 0, XFS_B_TO_FSB(mp, size), in xfs_inactive_symlink_rmt() 1547 fs_blocks = XFS_B_TO_FSB(mp, pathlen); in xfs_symlink() 1814 allocatesize_fsb = XFS_B_TO_FSB(mp, count); in xfs_alloc_file_space() 2069 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space()
|
D | xfs_aops.c | 333 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks() 1159 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + size); in __xfs_get_blocks() 1415 start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size) + 1; in xfs_vm_write_failed() 1416 end_fsb = XFS_B_TO_FSB(ip->i_mount, to); in xfs_vm_write_failed()
|
D | xfs_rtalloc.c | 1891 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 1904 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 1905 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 1951 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
D | xfs_sb.h | 537 #define XFS_B_TO_FSB(mp,b) \ macro
|
D | xfs_attr_leaf.c | 1176 args->rmtblkcnt = XFS_B_TO_FSB(mp, args->valuelen); in xfs_attr_leaf_add_work() 2031 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount, in xfs_attr_leaf_lookup_int() 2081 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount, valuelen); in xfs_attr_leaf_getvalue() 2423 args.rmtblkcnt = XFS_B_TO_FSB(args.dp->i_mount, valuelen); in xfs_attr_leaf_list_int() 2917 lp->valuelen = XFS_B_TO_FSB(dp->i_mount, in xfs_attr_leaf_inactive()
|
D | xfs_fsops.c | 447 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
|
D | xfs_file.c | 509 start_zero_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_zero_eof()
|
D | xfs_attr.c | 223 uint dblocks = XFS_B_TO_FSB(mp, valuelen); in xfs_attr_calc_size() 2035 blkcnt = XFS_B_TO_FSB(mp, args->valuelen); in xfs_attr_rmtval_set()
|
D | xfs_ioctl.c | 1011 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr()
|
D | xfs_qm.c | 932 maxlblkcnt = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_qm_dqiterate()
|
D | xfs_inode.c | 1215 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents() 1216 last_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_itruncate_extents()
|
D | xfs_bmap.c | 5436 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole() 5529 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap()
|