/linux-2.4.37.9/fs/xfs/ |
D | xfs_fsops.c | 75 geo->blocksize = mp->m_sb.sb_blocksize; in xfs_fs_geometry() 116 geo->rtsectsize = mp->m_sb.sb_blocksize; in xfs_fs_geometry() 263 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private() 265 memset(block, 0, mp->m_sb.sb_blocksize); in xfs_growfs_data_private() 271 arec = XFS_BTREE_REC_ADDR(mp->m_sb.sb_blocksize, xfs_alloc, in xfs_growfs_data_private() 286 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private() 288 memset(block, 0, mp->m_sb.sb_blocksize); in xfs_growfs_data_private() 294 arec = XFS_BTREE_REC_ADDR(mp->m_sb.sb_blocksize, xfs_alloc, in xfs_growfs_data_private() 310 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private() 312 memset(block, 0, mp->m_sb.sb_blocksize); in xfs_growfs_data_private()
|
D | xfs_mount.c | 77 { offsetof(xfs_sb_t, sb_blocksize), 0 }, 251 sbp->sb_blocksize < XFS_MIN_BLOCKSIZE || 252 sbp->sb_blocksize > XFS_MAX_BLOCKSIZE || 257 (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE) || 258 (sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) || 308 if (unlikely(sbp->sb_blocksize > PAGE_SIZE)) { 311 sbp->sb_blocksize); 571 mp->m_blockmask = sbp->sb_blocksize - 1; 572 mp->m_blockwsize = sbp->sb_blocksize >> XFS_WORDLOG; 597 mp->m_alloc_mxr[i] = XFS_BTREE_BLOCK_MAXRECS(sbp->sb_blocksize, [all …]
|
D | xfs_trans_space.h | 59 (((mp)->m_sb.sb_blocksize == 512 && \
|
D | xfs_rtalloc.h | 54 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize)
|
D | xfs_dir.c | 207 mp->m_dirblksize = mp->m_sb.sb_blocksize; in xfs_dir_mount() 754 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_dir_node_addname() 808 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_dir_node_removename() 857 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_dir_node_lookup() 1047 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_dir_node_replace()
|
D | xfs_itable.c | 191 buf->bs_blksize = mp->m_sb.sb_blocksize; in xfs_bulkstat_one() 197 buf->bs_blksize = mp->m_sb.sb_blocksize; in xfs_bulkstat_one() 294 nicluster = mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(mp) ? in xfs_bulkstat()
|
D | xfs_rtalloc.c | 205 memset(XFS_BUF_PTR(bp), 0, mp->m_sb.sb_blocksize); in xfs_growfs_rt_alloc() 206 xfs_trans_log_buf(tp, bp, 0, mp->m_sb.sb_blocksize - 1); in xfs_growfs_rt_alloc() 1971 nrbmblocks = roundup_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt() 2024 nsbp->sb_blocksize * nsbp->sb_rextsize); in xfs_growfs_rt() 2053 nsbp->sb_rbmblocks * nsbp->sb_blocksize; in xfs_growfs_rt() 2311 mp->m_rsumsize = roundup(mp->m_rsumsize, sbp->sb_blocksize); in xfs_rtmount_init()
|
D | xfs_vfsops.c | 503 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_blocksize, in xfs_mount() 511 mp->m_sb.sb_blocksize, in xfs_mount() 516 mp->m_sb.sb_blocksize, in xfs_mount() 804 statp->f_bsize = sbp->sb_blocksize; in xfs_statvfs()
|
D | xfs_da_btree.h | 102 #define XFS_LBSIZE(mp) ((mp)->m_sb.sb_blocksize)
|
D | xfs_attr.c | 266 size = xfs_attr_leaf_newentsize(&args, mp->m_sb.sb_blocksize, &local); in xfs_attr_set() 270 if (size > (mp->m_sb.sb_blocksize >> 1)) { in xfs_attr_set() 1193 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_attr_node_addname() 1361 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_attr_node_addname() 1453 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_attr_node_removename() 1721 state->blocksize = state->mp->m_sb.sb_blocksize; in xfs_attr_node_get()
|
D | xfs_trans.h | 777 ((mp)->m_sb.sb_blocksize + 128) 794 (mp)->m_sb.sb_blocksize + \
|
D | xfs_ialloc.c | 247 if (args.mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(args.mp)) { in xfs_ialloc_ag_alloc() 253 args.mp->m_sb.sb_blocksize; in xfs_ialloc_ag_alloc() 1190 if ((mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(mp)) || in xfs_dilocate()
|
D | xfs_bmap.c | 2601 } else if (mp->m_sb.sb_blocksize >= NBPP) { in xfs_bmap_alloc() 4268 return ip->i_d.di_size == ip->i_mount->m_sb.sb_blocksize; in xfs_bmap_one_block() 4280 ASSERT(ip->i_d.di_size == ip->i_mount->m_sb.sb_blocksize); in xfs_bmap_one_block() 4343 pp = XFS_BTREE_PTR_ADDR(mp->m_sb.sb_blocksize, xfs_bmbt, block, in xfs_bmap_read_extents() 4389 frp = XFS_BTREE_REC_ADDR(mp->m_sb.sb_blocksize, xfs_bmbt, in xfs_bmap_read_extents() 5900 keyp = XFS_BTREE_KEY_ADDR(mp->m_sb.sb_blocksize, in xfs_check_block() 5916 pp = XFS_BTREE_PTR_ADDR(mp->m_sb.sb_blocksize, in xfs_check_block() 5923 thispa = XFS_BTREE_PTR_ADDR(mp->m_sb.sb_blocksize, in xfs_check_block() 6008 pp = XFS_BTREE_PTR_ADDR(mp->m_sb.sb_blocksize, xfs_bmbt, block, in xfs_bmap_check_leaf_extents() 6047 frp = XFS_BTREE_REC_ADDR(mp->m_sb.sb_blocksize, xfs_bmbt, in xfs_bmap_check_leaf_extents() [all …]
|
D | xfs_sb.h | 127 __uint32_t sb_blocksize; /* logical block size, bytes */ member
|
D | xfs_dir2.c | 141 (mp->m_sb.sb_blocksize - (uint)sizeof(xfs_da_node_hdr_t)) / in xfs_dir2_mount()
|
D | xfs_dir2_leaf.c | 830 mp->m_sb.sb_blocksize); in xfs_dir2_leaf_getdents() 887 mp->m_sb.sb_blocksize) - 1; in xfs_dir2_leaf_getdents()
|
D | xfs_attr_leaf.c | 886 args->trans->t_mountp->m_sb.sb_blocksize, NULL); in xfs_attr_leaf_add() 984 mp->m_sb.sb_blocksize, NULL)); in xfs_attr_leaf_add_work() 988 -xfs_attr_leaf_newentsize(args, mp->m_sb.sb_blocksize, &tmp)); in xfs_attr_leaf_add_work()
|
D | xfs_log.c | 1114 if (mp->m_sb.sb_blocksize >= 16*1024) { in xlog_get_iclog_buffer_size() 1118 switch (mp->m_sb.sb_blocksize) { in xlog_get_iclog_buffer_size()
|
D | xfs_inode.c | 2176 if (mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(mp)) { in xfs_ifree_cluster() 2182 mp->m_sb.sb_blocksize; in xfs_ifree_cluster()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | resize.c | 116 memset(bitmap[i].bh->b_data, 0, sb_blocksize(sb)); in reiserfs_resize()
|
D | super.c | 898 s->s_blocksize = sb_blocksize(rs); in read_super_block() 923 if (!is_any_reiserfs_magic_string (rs) || sb_blocksize(rs) != in read_super_block() 1206 if ( blk_size[MAJOR(dev)][MINOR(dev)] < sb_block_count(rs)*(sb_blocksize(rs)>>10) ) { in reiserfs_read_super()
|
D | prints.c | 521 printk ("Blocksize %d\n", sb_blocksize(rs)); in print_super_block()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_ioctl.c | 658 da.d_miniosz = mp->m_sb.sb_blocksize; in xfs_ioctl() 659 da.d_mem = mp->m_sb.sb_blocksize; in xfs_ioctl()
|
D | xfs_lrw.c | 422 zero_len = mp->m_sb.sb_blocksize - isize_fsb_offset; in xfs_zero_last_block()
|
/linux-2.4.37.9/include/linux/ |
D | reiserfs_fs_sb.h | 68 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_v1.s_blocksize)) macro
|