Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_iomap.c156 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct()
299 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_iomap_eof_want_preallocate()
345 alloc_blocks = XFS_B_TO_FSB(mp, ip->i_size) + 1; in xfs_iomap_prealloc_size()
418 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_delay()
574 end_fsb = XFS_B_TO_FSB(mp, ip->i_size); in xfs_iomap_write_allocate()
664 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.c499 error = xfs_bmapi(NULL, ip, 0, XFS_B_TO_FSB(mp, pathlen), 0, NULL, 0, in xfs_readlink_bmap()
595 end_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)ip->i_size)); in xfs_free_eofblocks()
596 last_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_free_eofblocks()
739 if ((error = xfs_bmapi(tp, ip, 0, XFS_B_TO_FSB(mp, size), in xfs_inactive_symlink_rmt()
2000 fs_blocks = XFS_B_TO_FSB(mp, pathlen); in xfs_symlink()
2267 allocatesize_fsb = XFS_B_TO_FSB(mp, count); in xfs_alloc_file_space()
2525 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space()
Dxfs_rtalloc.c1900 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
1913 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt()
1914 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt()
1960 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
Dxfs_sb.h538 #define XFS_B_TO_FSB(mp,b) \ macro
Dxfs_inode.c1203 map_first = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_isize_check()
1209 (XFS_B_TO_FSB(mp, in xfs_isize_check()
1261 size_last_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)ip->i_size); in xfs_file_last_byte()
1346 toss_start = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_start()
1460 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_finish()
1551 last_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_itruncate_finish()
Dxfs_attr_leaf.c1150 args->rmtblkcnt = XFS_B_TO_FSB(mp, args->valuelen); in xfs_attr_leaf_add_work()
1999 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount, in xfs_attr_leaf_lookup_int()
2049 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount, valuelen); in xfs_attr_leaf_getvalue()
2391 args.rmtblkcnt = XFS_B_TO_FSB(args.dp->i_mount, valuelen); in xfs_attr_leaf_list_int()
2880 lp->valuelen = XFS_B_TO_FSB(dp->i_mount, in xfs_attr_leaf_inactive()
Dxfs_fsops.c423 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
Dxfs_attr.c223 uint dblocks = XFS_B_TO_FSB(mp, valuelen); in xfs_attr_calc_size()
2026 blkcnt = XFS_B_TO_FSB(mp, args->valuelen); in xfs_attr_rmtval_set()
Dxfs_bmap.c5387 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, ip->i_size)); in xfs_getbmapx_fix_eof_hole()
5480 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_discard.c169 minlen = XFS_B_TO_FSB(mp, max_t(u64, granularity, range.minlen)); in xfs_ioc_trim()
Dxfs_aops.c337 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_map_blocks()
1171 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + size); in __xfs_get_blocks()
1402 start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size) + 1; in xfs_vm_write_failed()
1403 end_fsb = XFS_B_TO_FSB(ip->i_mount, to); in xfs_vm_write_failed()
Dxfs_file.c563 start_zero_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_zero_eof()
Dxfs_ioctl.c1008 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr()
/linux-2.6.39/fs/xfs/quota/
Dxfs_qm.c1380 maxlblkcnt = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_qm_dqiterate()