/fs/nfs/ |
D | internal.h | 40 unsigned int bsize; member 215 unsigned long nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) in nfs_block_bits() argument 218 if ((bsize & (bsize - 1)) || nrbitsp) { in nfs_block_bits() 221 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--) in nfs_block_bits() 223 bsize = 1 << nrbits; in nfs_block_bits() 228 return bsize; in nfs_block_bits() 244 unsigned long nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) in nfs_block_size() argument 246 if (bsize < NFS_MIN_FILE_IO_SIZE) in nfs_block_size() 247 bsize = NFS_DEF_FILE_IO_SIZE; in nfs_block_size() 248 else if (bsize >= NFS_MAX_FILE_IO_SIZE) in nfs_block_size() [all …]
|
D | proc.c | 87 info->rtmult = fsinfo.bsize; in nfs_proc_get_root() 90 info->wtmult = fsinfo.bsize; in nfs_proc_get_root() 512 stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize; in nfs_proc_statfs() 513 stat->fbytes = (u64)fsinfo.bfree * fsinfo.bsize; in nfs_proc_statfs() 514 stat->abytes = (u64)fsinfo.bavail * fsinfo.bsize; in nfs_proc_statfs() 542 info->rtmult = fsinfo.bsize; in nfs_proc_fsinfo() 545 info->wtmult = fsinfo.bsize; in nfs_proc_fsinfo()
|
D | pagelist.c | 221 size_t bsize, in nfs_pageio_init() argument 227 desc->pg_bsize = bsize; in nfs_pageio_init()
|
D | super.c | 529 if (nfss->bsize != 0) in nfs_show_mount_options() 530 seq_printf(m, ",bsize=%u", nfss->bsize); in nfs_show_mount_options() 612 seq_printf(m, ",bsize=%u", nfss->bsize); in nfs_show_stats() 1077 mnt->bsize = option; in nfs_parse_mount_options() 1568 data->bsize = 0; in nfs_validate_mount_data() 1619 args->bsize = data->bsize; in nfs_validate_mount_data() 1832 if (data->bsize) in nfs_fill_super() 1833 sb->s_blocksize = nfs_block_size(data->bsize, &sb->s_blocksize_bits); in nfs_fill_super()
|
/fs/affs/ |
D | file.c | 493 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local 500 bsize = AFFS_SB(sb)->s_data_blksize; in affs_do_readpage_ofs() 502 bidx = tmp / bsize; in affs_do_readpage_ofs() 503 boff = tmp % bsize; in affs_do_readpage_ofs() 509 tmp = min(bsize - boff, to - from); in affs_do_readpage_ofs() 510 BUG_ON(from + tmp > to || tmp > bsize); in affs_do_readpage_ofs() 528 u32 size, bsize; in affs_extent_file_ofs() local 532 bsize = AFFS_SB(sb)->s_data_blksize; in affs_extent_file_ofs() 535 bidx = size / bsize; in affs_extent_file_ofs() 536 boff = size % bsize; in affs_extent_file_ofs() [all …]
|
D | amigaffs.c | 342 int bsize; in affs_checksum_block() local 345 for (bsize = sb->s_blocksize / sizeof(__be32); bsize > 0; bsize--) in affs_checksum_block()
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 73 u_long bsize = ip->i_sb->s_blocksize; in dir_blocks() local 74 return (ip->i_size + bsize - 1) & ~(bsize - 1); in dir_blocks() 116 u_long bsize = ip->i_sb->s_blocksize; in vxfs_find_entry() local 138 baddr = kaddr + (block * bsize); in vxfs_find_entry() 139 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_find_entry() 245 u_long bsize = sbp->s_blocksize; in vxfs_readdir() local 293 baddr = kaddr + (block * bsize); in vxfs_readdir() 294 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_readdir()
|
D | vxfs_olt.c | 57 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) in vxfs_oblock() argument 59 BUG_ON(sbp->s_blocksize % bsize); in vxfs_oblock() 60 return (block * (sbp->s_blocksize / bsize)); in vxfs_oblock() 77 vxfs_read_olt(struct super_block *sbp, u_long bsize) in vxfs_read_olt() argument 85 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize)); in vxfs_read_olt()
|
D | vxfs_super.c | 153 u_long bsize; in vxfs_fill_super() local 165 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super() 166 if (!bsize) { in vxfs_fill_super() 211 if (vxfs_read_olt(sbp, bsize)) { in vxfs_fill_super()
|
D | vxfs_bmap.c | 71 unsigned long bsize = sb->s_blocksize; in vxfs_bmap_ext4() local 85 if ((bn / (indsize * indsize * bsize / 4)) == 0) { in vxfs_bmap_ext4()
|
/fs/jfs/ |
D | jfs_mount.c | 311 s32 bsize; in chkSuper() local 327 bsize = le32_to_cpu(j_sb->s_bsize); in chkSuper() 329 if (bsize != PSIZE) { in chkSuper() 344 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 346 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 347 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 348 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 350 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize; in chkSuper() 378 sbi->bsize = bsize; in chkSuper()
|
D | jfs_incore.h | 172 short bsize; /* logical block size */ member
|
D | jfs_logmgr.h | 69 __le32 bsize; /* 4: logical block size in byte */ member
|
D | jfs_dmap.c | 3796 int l2max, l2free, bsize, nextb, i; in dbInitTree() local 3819 for (l2free = dtp->budmin, bsize = 1; l2free < l2max; in dbInitTree() 3820 l2free++, bsize = nextb) { in dbInitTree() 3822 nextb = bsize << 1; in dbInitTree() 3829 if (*cp == l2free && *(cp + bsize) == l2free) { in dbInitTree() 3831 *(cp + bsize) = -1; /* right give left */ in dbInitTree()
|
/fs/xfs/ |
D | xfs_attr_leaf.h | 190 static inline int xfs_attr_leaf_entsize_local_max(int bsize) in xfs_attr_leaf_entsize_local_max() argument 192 return (((bsize) >> 1) + ((bsize) >> 2)); in xfs_attr_leaf_entsize_local_max()
|
/fs/squashfs/ |
D | file.c | 403 int bsize = read_blocklist(inode, index, &block); in squashfs_readpage() local 404 if (bsize < 0) in squashfs_readpage() 407 if (bsize == 0) { /* hole */ in squashfs_readpage() 417 block, bsize); in squashfs_readpage() 420 "\n", block, bsize); in squashfs_readpage()
|
/fs/nfsd/ |
D | nfsctl.c | 1088 int bsize; in write_maxblksize() local 1089 int rv = get_int(&mesg, &bsize); in write_maxblksize() 1095 if (bsize < 1024) in write_maxblksize() 1096 bsize = 1024; in write_maxblksize() 1097 if (bsize > NFSSVC_MAXBLKSIZE) in write_maxblksize() 1098 bsize = NFSSVC_MAXBLKSIZE; in write_maxblksize() 1099 bsize &= ~(1024-1); in write_maxblksize() 1105 nfsd_max_blksize = bsize; in write_maxblksize()
|
/fs/reiserfs/ |
D | item_ops.c | 29 static int sd_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) in sd_is_left_mergeable() argument 136 unsigned long bsize) in direct_is_left_mergeable() argument 139 return ((le_key_k_offset(version, key) & (bsize - 1)) != 1); in direct_is_left_mergeable() 231 unsigned long bsize) in indirect_is_left_mergeable() argument 375 unsigned long bsize) in direntry_is_left_mergeable() argument 657 unsigned long bsize) in errcatch_is_left_mergeable() argument
|
/fs/sysv/ |
D | super.c | 308 int bsize = 1 << n_bits; in complete_read_super() local 309 int bsize_4 = bsize >> 2; in complete_read_super() 317 sbi->s_inodes_per_block = bsize >> 6; in complete_read_super() 318 sbi->s_inodes_per_block_1 = (bsize >> 6)-1; in complete_read_super()
|
/fs/ |
D | block_dev.c | 967 unsigned bsize = bdev_hardsect_size(bdev); in bd_set_size() local 970 while (bsize < PAGE_CACHE_SIZE) { in bd_set_size() 971 if (size & bsize) in bd_set_size() 973 bsize <<= 1; in bd_set_size() 975 bdev->bd_block_size = bsize; in bd_set_size() 976 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in bd_set_size()
|
/fs/ocfs2/ |
D | aops.c | 792 unsigned int bsize = 1 << inode->i_blkbits; in ocfs2_map_page_blocks() local 795 create_empty_buffers(page, bsize, 0); in ocfs2_map_page_blocks() 799 bh = bh->b_this_page, block_start += bsize) { in ocfs2_map_page_blocks() 800 block_end = block_start + bsize; in ocfs2_map_page_blocks() 859 block_end = block_start + bsize; in ocfs2_map_page_blocks()
|
/fs/gfs2/ |
D | bmap.c | 570 unsigned int bsize = sdp->sd_sb.sb_bsize; in gfs2_block_map() local 590 bsize = sdp->sd_jbsize; in gfs2_block_map() 599 size = (lblock + 1) * bsize; in gfs2_block_map()
|
D | ops_address.c | 45 unsigned int bsize = head->b_size; in gfs2_page_add_databufs() local 51 end = start + bsize; in gfs2_page_add_databufs()
|
/fs/udf/ |
D | namei.c | 901 uint32_t bsize; in udf_symlink() local 914 bsize = inode->i_sb->s_blocksize; in udf_symlink() 915 iinfo->i_lenExtents = bsize; in udf_symlink() 916 udf_add_aext(inode, &epos, eloc, bsize, 0); in udf_symlink()
|
/fs/xfs/linux-2.6/ |
D | xfs_aops.c | 218 xfs_fsize_t bsize; in xfs_setfilesize() local 226 bsize = ioend->io_offset + ioend->io_size; in xfs_setfilesize() 231 isize = MIN(isize, bsize); in xfs_setfilesize()
|