Searched refs:bsize (Results 1 - 25 of 41) sorted by relevance

12

/fs/squashfs/
H A Dfile_cache.c23 int squashfs_readpage_block(struct page *page, u64 block, int bsize) argument
27 block, bsize);
32 bsize);
H A Dfile_direct.c23 static int squashfs_read_cache(struct page *target_page, u64 block, int bsize,
27 int squashfs_readpage_block(struct page *target_page, u64 block, int bsize) argument
85 res = squashfs_read_cache(target_page, block, bsize, pages,
94 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
140 static int squashfs_read_cache(struct page *target_page, u64 block, int bsize, argument
145 block, bsize);
151 bsize);
H A Dfile.c472 int bsize = read_blocklist(inode, index, &block); local
473 if (bsize < 0)
476 if (bsize == 0)
479 res = squashfs_readpage_block(page, block, bsize);
/fs/freevxfs/
H A Dvxfs_olt.c57 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) argument
59 BUG_ON(sbp->s_blocksize % bsize);
60 return (block * (sbp->s_blocksize / bsize));
67 * @bsize: blocksize of the filesystem
77 vxfs_read_olt(struct super_block *sbp, u_long bsize) argument
85 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize));
H A Dvxfs_lookup.c74 u_long bsize = ip->i_sb->s_blocksize; local
75 return (ip->i_size + bsize - 1) & ~(bsize - 1);
117 u_long bsize = ip->i_sb->s_blocksize; local
139 baddr = kaddr + (block * bsize);
140 limit = baddr + bsize - VXFS_DIRLEN(1);
242 u_long bsize = sbp->s_blocksize; local
283 baddr = kaddr + (block * bsize);
284 limit = baddr + bsize - VXFS_DIRLEN(1);
H A Dvxfs_super.c153 u_long bsize; local
165 bsize = sb_min_blocksize(sbp, BLOCK_SIZE);
166 if (!bsize) {
211 if (vxfs_read_olt(sbp, bsize)) {
H A Dvxfs_bmap.c71 unsigned long bsize = sb->s_blocksize; local
85 if ((bn / (indsize * indsize * bsize / 4)) == 0) {
/fs/jfs/
H A Djfs_mount.c311 s32 bsize; local
327 bsize = le32_to_cpu(j_sb->s_bsize);
329 if (bsize != PSIZE) {
344 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize;
346 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize;
347 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize;
348 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize;
350 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize;
378 sbi->bsize = bsize;
[all...]
H A Djfs_incore.h167 short bsize; /* logical block size */ member in struct:jfs_sb_info
H A Djfs_logmgr.h69 __le32 bsize; /* 4: logical block size in byte */ member in struct:logsuper
70 __le32 l2bsize; /* 4: log2 of bsize */
377 int l2bsize; /* 4: log2 of bsize */
/fs/affs/
H A Dfile.c509 u32 bidx, boff, bsize; local
517 bsize = AFFS_SB(sb)->s_data_blksize;
519 bidx = tmp / bsize;
520 boff = tmp % bsize;
526 tmp = min(bsize - boff, to - pos);
527 BUG_ON(pos + tmp > to || tmp > bsize);
545 u32 size, bsize; local
549 bsize = AFFS_SB(sb)->s_data_blksize;
552 bidx = size / bsize;
553 boff = size % bsize;
677 u32 bidx, boff, bsize; local
[all...]
H A Damigaffs.c342 int bsize; local
345 for (bsize = sb->s_blocksize / sizeof(__be32); bsize > 0; bsize--)
/fs/nfs/
H A Dinternal.h90 unsigned int bsize; member in struct:nfs_parsed_mount_data
512 unsigned long nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) argument
515 if ((bsize & (bsize - 1)) || nrbitsp) {
518 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--)
520 bsize = 1 << nrbits;
525 return bsize;
541 unsigned long nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) argument
543 if (bsize < NFS_MIN_FILE_IO_SIZE)
544 bsize
[all...]
H A Dproc.c86 info->rtmult = fsinfo.bsize;
89 info->wtmult = fsinfo.bsize;
531 stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize;
532 stat->fbytes = (u64)fsinfo.bfree * fsinfo.bsize;
533 stat->abytes = (u64)fsinfo.bavail * fsinfo.bsize;
561 info->rtmult = fsinfo.bsize;
564 info->wtmult = fsinfo.bsize;
H A Dsuper.c159 { Opt_bsize, "bsize=%s" },
651 if (nfss->bsize != 0)
652 seq_printf(m, ",bsize=%u", nfss->bsize);
830 seq_printf(m, ",bsize=%u", nfss->bsize);
1346 mnt->bsize = option;
1965 data->bsize = 0;
2022 args->bsize = data->bsize;
[all...]
/fs/nilfs2/
H A Dalloc.c339 * @bsize: size in bits
345 int bsize)
351 if (end > bsize)
352 end = bsize;
362 i < bsize;
365 if (curr >= bsize)
370 if (end > bsize)
371 end = bsize;
341 nilfs_palloc_find_available_slot(struct inode *inode, unsigned long group, unsigned long target, unsigned char *bitmap, int bsize) argument
/fs/reiserfs/
H A Ditem_ops.c31 static int sd_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) argument
136 unsigned long bsize)
139 return ((le_key_k_offset(version, key) & (bsize - 1)) != 1);
228 unsigned long bsize)
372 unsigned long bsize)
658 unsigned long bsize)
135 direct_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) argument
227 indirect_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) argument
371 direntry_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) argument
657 errcatch_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) argument
/fs/cachefiles/
H A Dbind.c158 cache->bsize = stats.f_bsize;
164 cache->bsize, cache->bshift);
H A Dinternal.h76 unsigned bsize; /* cache's block size */ member in struct:cachefiles_cache
77 unsigned bshift; /* min(ilog2(PAGE_SIZE / bsize), 0) */
/fs/nfsd/
H A Dnfsctl.c872 int bsize; local
873 int rv = get_int(&mesg, &bsize);
876 /* force bsize into allowed range and
879 bsize = max_t(int, bsize, 1024);
880 bsize = min_t(int, bsize, NFSSVC_MAXBLKSIZE);
881 bsize &= ~(1024-1);
887 nfsd_max_blksize = bsize;
/fs/xfs/libxfs/
H A Dxfs_da_format.h825 static inline int xfs_attr_leaf_entsize_local_max(int bsize) argument
827 return (((bsize) >> 1) + ((bsize) >> 2));
/fs/sysv/
H A Dsuper.c308 int bsize = 1 << n_bits; local
309 int bsize_4 = bsize >> 2;
317 sbi->s_inodes_per_block = bsize >> 6;
318 sbi->s_inodes_per_block_1 = (bsize >> 6)-1;
/fs/
H A Dblock_dev.c1080 unsigned bsize = bdev_logical_block_size(bdev); local
1085 while (bsize < PAGE_CACHE_SIZE) {
1086 if (size & bsize)
1088 bsize <<= 1;
1090 bdev->bd_block_size = bsize;
1091 bdev->bd_inode->i_blkbits = blksize_bits(bsize);
/fs/9p/
H A Dvfs_super.c263 buf->f_bsize = rs.bsize;
/fs/ocfs2/
H A Daops.c718 unsigned int bsize = 1 << inode->i_blkbits; local
721 create_empty_buffers(page, bsize, 0);
725 bh = bh->b_this_page, block_start += bsize) {
726 block_end = block_start + bsize;
785 block_end = block_start + bsize;

Completed in 2905 milliseconds

12