Home
last modified time | relevance | path

Searched refs:sb_blocksize (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/fs/xfs/
Dxfs_fsops.c75 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()
Dxfs_mount.c77 { 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 …]
Dxfs_trans_space.h59 (((mp)->m_sb.sb_blocksize == 512 && \
Dxfs_rtalloc.h54 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize)
Dxfs_dir.c207 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()
Dxfs_itable.c191 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()
Dxfs_rtalloc.c205 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()
Dxfs_vfsops.c503 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()
Dxfs_da_btree.h102 #define XFS_LBSIZE(mp) ((mp)->m_sb.sb_blocksize)
Dxfs_attr.c266 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()
Dxfs_trans.h777 ((mp)->m_sb.sb_blocksize + 128)
794 (mp)->m_sb.sb_blocksize + \
Dxfs_ialloc.c247 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()
Dxfs_bmap.c2601 } 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 …]
Dxfs_sb.h127 __uint32_t sb_blocksize; /* logical block size, bytes */ member
Dxfs_dir2.c141 (mp->m_sb.sb_blocksize - (uint)sizeof(xfs_da_node_hdr_t)) / in xfs_dir2_mount()
Dxfs_dir2_leaf.c830 mp->m_sb.sb_blocksize); in xfs_dir2_leaf_getdents()
887 mp->m_sb.sb_blocksize) - 1; in xfs_dir2_leaf_getdents()
Dxfs_attr_leaf.c886 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()
Dxfs_log.c1114 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()
Dxfs_inode.c2176 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/
Dresize.c116 memset(bitmap[i].bh->b_data, 0, sb_blocksize(sb)); in reiserfs_resize()
Dsuper.c898 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()
Dprints.c521 printk ("Blocksize %d\n", sb_blocksize(rs)); in print_super_block()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_ioctl.c658 da.d_miniosz = mp->m_sb.sb_blocksize; in xfs_ioctl()
659 da.d_mem = mp->m_sb.sb_blocksize; in xfs_ioctl()
Dxfs_lrw.c422 zero_len = mp->m_sb.sb_blocksize - isize_fsb_offset; in xfs_zero_last_block()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs_sb.h68 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_v1.s_blocksize)) macro

12