Home
last modified time | relevance | path

Searched refs:XFS_B_TO_FSB (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/fs/xfs/
Dxfs_iomap.c157 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()
Dxfs_trans_space.h61 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_vnodeops.c75 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()
Dxfs_aops.c333 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()
Dxfs_rtalloc.c1891 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()
Dxfs_sb.h537 #define XFS_B_TO_FSB(mp,b) \ macro
Dxfs_attr_leaf.c1176 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()
Dxfs_fsops.c447 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
Dxfs_file.c509 start_zero_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_zero_eof()
Dxfs_attr.c223 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()
Dxfs_ioctl.c1011 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr()
Dxfs_qm.c932 maxlblkcnt = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_qm_dqiterate()
Dxfs_inode.c1215 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()
Dxfs_bmap.c5436 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()