/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 138 res = xfs_calc_buf_res(mp->m_in_maxlevels, XFS_FSB_TO_B(mp, 1)); in xfs_calc_finobt_res() 141 XFS_FSB_TO_B(mp, 1)); in xfs_calc_finobt_res() 143 res += (uint)XFS_FSB_TO_B(mp, 1); in xfs_calc_finobt_res() 189 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_write_reservation() 192 XFS_FSB_TO_B(mp, 1))), in xfs_calc_write_reservation() 195 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_write_reservation() 218 XFS_FSB_TO_B(mp, 1))), in xfs_calc_itruncate_reservation() 221 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_itruncate_reservation() 224 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_itruncate_reservation() 248 XFS_FSB_TO_B(mp, 1))), in xfs_calc_rename_reservation() [all …]
|
D | xfs_trans_resv.h | 76 ((nx) * (2 * XFS_FSB_TO_B((mp), 2 * XFS_AG_MAXLEVELS(mp) - 1))) 88 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \ 89 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
|
D | xfs_dir2.c | 607 size = XFS_FSB_TO_B(mp, bno + count); in xfs_dir2_grow_inode() 629 rval = XFS_FSB_TO_B(args->dp->i_mount, last) == args->geo->blksize; in xfs_dir2_isblock() 728 dp->i_d.di_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
|
D | xfs_format.h | 547 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) macro
|
D | xfs_dir2_leaf.c | 1735 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize) in xfs_dir2_node_to_leaf()
|
D | xfs_bmap.c | 5260 rtexts = XFS_FSB_TO_B(mp, del.br_blockcount); in xfs_bunmapi()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_discard.c | 181 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || in xfs_ioc_trim() 182 range.minlen > XFS_FSB_TO_B(mp, XFS_ALLOC_AG_MAX_USABLE(mp)) || in xfs_ioc_trim() 206 range.len = XFS_FSB_TO_B(mp, blocks_trimmed); in xfs_ioc_trim()
|
D | xfs_qm_syscalls.c | 667 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_hardlimit)); in xfs_qm_scall_getquota() 669 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_softlimit)); in xfs_qm_scall_getquota() 672 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_res_bcount); in xfs_qm_scall_getquota() 679 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_rtb_hardlimit)); in xfs_qm_scall_getquota() 681 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_rtb_softlimit)); in xfs_qm_scall_getquota() 682 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_res_rtbcount); in xfs_qm_scall_getquota()
|
D | xfs_iomap.c | 69 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_iomap_eof_align_last_fsb() 276 XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_writeio_blocks)) in xfs_iomap_eof_want_preallocate() 341 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign)) in xfs_iomap_eof_prealloc_initial_size() 673 XFS_STATS_ADD(xs_xstrat_bytes, XFS_FSB_TO_B(mp, count_fsb)); in xfs_iomap_write_allocate() 879 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten()
|
D | xfs_pnfs.c | 104 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 105 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap()
|
D | xfs_file.c | 520 zero_off = XFS_FSB_TO_B(mp, start_zero_fsb); in xfs_zero_eof() 521 zero_len = XFS_FSB_TO_B(mp, imap.br_blockcount); in xfs_zero_eof() 1166 endoff = XFS_FSB_TO_B(mp, map->br_startoff + map->br_blockcount); in xfs_find_get_desired_pgoff() 1347 XFS_FSB_TO_B(mp, map[i].br_startoff)); in xfs_seek_hole_data() 1402 start = XFS_FSB_TO_B(mp, fsbno); in xfs_seek_hole_data()
|
D | xfs_bmap_util.c | 1136 lastoffset = XFS_FSB_TO_B(mp, imap.br_startoff + 1) - 1; in xfs_zero_remaining_bytes() 1154 (offset - XFS_FSB_TO_B(mp, imap.br_startoff)), in xfs_zero_remaining_bytes() 1260 if (offset < XFS_FSB_TO_B(mp, startoffset_fsb)) in xfs_free_file_space() 1262 XFS_FSB_TO_B(mp, startoffset_fsb) - 1); in xfs_free_file_space() 1264 XFS_FSB_TO_B(mp, endoffset_fsb) < offset + len) in xfs_free_file_space() 1266 XFS_FSB_TO_B(mp, endoffset_fsb), in xfs_free_file_space()
|
D | xfs_symlink.c | 71 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap() 345 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
|
D | xfs_rtalloc.c | 938 nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt() 998 nmp->m_rsumsize = nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt()
|
D | xfs_log.c | 661 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount() 664 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
|
D | xfs_aops.c | 602 xfs_off_t iomap_offset = XFS_FSB_TO_B(m, imap->br_startoff); in xfs_map_buffer()
|
D | xfs_qm.c | 827 j = XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_reset_dqcounts()
|