/linux-master/fs/sysv/ |
H A D | super.c | 309 int bsize = 1 << n_bits; local 310 int bsize_4 = bsize >> 2; 319 sbi->s_inodes_per_block = bsize >> 6; 320 sbi->s_inodes_per_block_1 = (bsize >> 6)-1;
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 69 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) argument 73 uint32_t iter = bsize >> 2; 82 host_to_adap(uint8_t *src, uint8_t *dst, uint32_t bsize) argument 86 uint32_t iter = bsize >> 2;
|
/linux-master/fs/ext4/ |
H A D | fast_commit.c | 694 int bsize = sbi->s_journal->j_blocksize; local 695 int ret, off = sbi->s_fc_bytes % bsize; 703 if (len > bsize - EXT4_FC_TAG_BASE_LEN) 718 remaining = bsize - EXT4_FC_TAG_BASE_LEN - off; 733 *crc = ext4_chksum(sbi, *crc, sbi->s_fc_bh->b_data, bsize); 741 sbi->s_fc_bytes += bsize - off + len; 758 int off, bsize = sbi->s_journal->j_blocksize; local 769 off = sbi->s_fc_bytes % bsize; 772 tl.fc_len = cpu_to_le16(bsize - off + sizeof(struct ext4_fc_tail)); 773 sbi->s_fc_bytes = round_up(sbi->s_fc_bytes, bsize); 1193 int nblks = 0, ret, bsize = journal->j_blocksize; local [all...] |
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 238 a->bsize = swab32(a->bsize); 424 eah.bsize = bss.len; 467 esecs[2].s_size = eah.bsize;
|
/linux-master/fs/jfs/ |
H A D | jfs_incore.h | 168 short bsize; /* logical block size */ member in struct:jfs_sb_info
|
/linux-master/fs/smb/client/ |
H A D | fs_context.h | 256 unsigned int bsize; member in struct:smb3_fs_context
|
/linux-master/fs/squashfs/ |
H A D | file.c | 555 int res, bsize; local 587 bsize = read_blocklist(inode, index, &block); 588 if (bsize == 0) 596 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
|
/linux-master/fs/cachefiles/ |
H A D | cache.c | 94 cache->bsize = stats.f_bsize; 98 cache->bsize, cache->bshift);
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00usb.c | 121 u16 off, len, bsize; local 129 bsize = min_t(u16, CSR_CACHE_SIZE, len); 132 bsize, REGISTER_TIMEOUT); 134 tb += bsize; 135 len -= bsize; 136 off += bsize;
|
/linux-master/fs/gfs2/ |
H A D | lops.c | 510 unsigned int bsize = sdp->sd_sb.sb_bsize, off; local 544 sz = bio_add_page(bio, page, bsize, off); 545 if (sz == bsize) 565 sz = bio_add_page(bio, page, bsize, off); 566 BUG_ON(sz != bsize); 568 off += bsize;
|
H A D | quota.c | 766 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; local 770 boff = off % bsize; 777 bh = create_empty_buffers(folio, bsize, 0); 781 if (pg_off >= ((bnum * bsize) + bsize)) { 793 folio_zero_range(folio, bnum * bsize, 803 if (to_write > (bsize - boff)) { 804 pg_off += (bsize - boff); 805 to_write -= (bsize - boff); 806 boff = pg_off % bsize; [all...] |
/linux-master/drivers/media/usb/gspca/ |
H A D | gspca.c | 665 int n, nurbs, i, psize, npkt, bsize; local 680 bsize = psize * npkt; 682 "isoc %d pkts size %d = bsize:%d\n", 683 npkt, psize, bsize); 687 bsize = gspca_dev->cam.bulk_size; 688 if (bsize == 0) 689 bsize = psize; 690 gspca_dbg(gspca_dev, D_STREAM, "bulk bsize:%d\n", bsize); 703 bsize, [all...] |
/linux-master/fs/nfsd/ |
H A D | nfsctl.c | 864 int bsize; local 865 int rv = get_int(&mesg, &bsize); 868 trace_nfsd_ctl_maxblksize(netns(file), bsize); 870 /* force bsize into allowed range and 873 bsize = max_t(int, bsize, 1024); 874 bsize = min_t(int, bsize, NFSSVC_MAXBLKSIZE); 875 bsize &= ~(1024-1); 881 nfsd_max_blksize = bsize; [all...] |
/linux-master/drivers/block/ |
H A D | loop.c | 978 static int loop_reconfigure_limits(struct loop_device *lo, unsigned short bsize, argument 984 lim.logical_block_size = bsize; 985 lim.physical_block_size = bsize; 986 lim.io_min = bsize; 1002 unsigned short bsize; local 1082 bsize = config->block_size; 1085 bsize = bdev_logical_block_size(inode->i_sb->s_bdev); 1087 bsize = 512; 1089 error = loop_reconfigure_limits(lo, bsize, true);
|
/linux-master/fs/udf/ |
H A D | namei.c | 602 uint32_t bsize; local 615 bsize = sb->s_blocksize; 616 iinfo->i_lenExtents = bsize; 617 err = udf_add_aext(inode, &epos, &eloc, bsize, 0); 634 memset(epos.bh->b_data, 0x00, bsize);
|
/linux-master/block/ |
H A D | bdev.c | 141 unsigned int bsize = bdev_logical_block_size(bdev); local 144 while (bsize < PAGE_SIZE) { 145 if (size & bsize) 147 bsize <<= 1; 149 BD_INODE(bdev)->i_blkbits = blksize_bits(bsize);
|
/linux-master/security/apparmor/ |
H A D | match.c | 27 * @bsize: size of blob 33 static struct table_header *unpack_table(char *blob, size_t bsize) argument 39 if (bsize < sizeof(struct table_header)) 60 if (bsize < tsize)
|
/linux-master/fs/nilfs2/ |
H A D | alloc.c | 378 * @bsize: size in bits 383 unsigned int bsize, 386 int pos, end = bsize; 388 if (likely(target < bsize)) { 381 nilfs_palloc_find_available_slot(unsigned char *bitmap, unsigned long target, unsigned int bsize, spinlock_t *lock) argument
|
/linux-master/mm/ |
H A D | truncate.c | 782 int bsize = i_blocksize(inode); local 788 if (from >= to || bsize >= PAGE_SIZE) 791 rounded_from = round_up(from, bsize);
|
/linux-master/arch/mips/include/asm/ |
H A D | sgiarcs.h | 281 unsigned char bsize; member in struct:linux_cache_key::param 283 unsigned char bsize;
|
/linux-master/arch/alpha/boot/tools/ |
H A D | objstrip.c | 219 mem_size = fil_size + aout->ah.bsize;
|
/linux-master/include/net/9p/ |
H A D | 9p.h | 522 u32 bsize; member in struct:p9_rstatfs
|
/linux-master/include/linux/ |
H A D | nfs_page.h | 111 unsigned int pg_bsize; /* default bsize for mirrors */ 144 size_t bsize,
|
H A D | nfs_fs_sb.h | 170 unsigned int bsize; /* server block size */ member in struct:nfs_server
|
/linux-master/drivers/s390/block/ |
H A D | dasd_int.h | 796 * Check if bsize is in { 512, 1024, 2048, 4096 } 799 dasd_check_blocksize(int bsize) argument 801 if (bsize < 512 || bsize > 4096 || !is_power_of_2(bsize))
|