/linux-4.1.27/fs/hfsplus/ |
H A D | wrapper.c | 162 u32 blocksize; hfsplus_read_wrapper() local 166 blocksize = sb_min_blocksize(sb, HFSPLUS_SECTOR_SIZE); hfsplus_read_wrapper() 167 if (!blocksize) hfsplus_read_wrapper() 226 blocksize = be32_to_cpu(sbi->s_vhdr->blocksize); hfsplus_read_wrapper() 231 if (blocksize < HFSPLUS_SECTOR_SIZE || ((blocksize - 1) & blocksize)) hfsplus_read_wrapper() 233 sbi->alloc_blksz = blocksize; hfsplus_read_wrapper() 234 sbi->alloc_blksz_shift = ilog2(blocksize); hfsplus_read_wrapper() 235 blocksize = min_t(u32, sbi->alloc_blksz, PAGE_SIZE); hfsplus_read_wrapper() 240 while (part_start & ((blocksize >> HFSPLUS_SECTOR_SHIFT) - 1)) hfsplus_read_wrapper() 241 blocksize >>= 1; hfsplus_read_wrapper() 243 if (sb_set_blocksize(sb, blocksize) != blocksize) { hfsplus_read_wrapper() 244 pr_err("unable to set blocksize to %u!\n", blocksize); hfsplus_read_wrapper()
|
H A D | hfsplus_raw.h | 118 __be32 blocksize; member in struct:hfsplus_vh
|
/linux-4.1.27/block/partitions/ |
H A D | ibm.c | 66 int blocksize, find_label() 92 testsect[0] = info->label_block * (blocksize >> 9); find_label() 96 testsect[1] = (blocksize >> 9); find_label() 97 testsect[2] = 2 * (blocksize >> 9); find_label() 134 int blocksize, find_vol1_partitions() 153 secperblk = blocksize >> 9; find_vol1_partitions() 196 int blocksize, find_lnx1_partitions() 209 secperblk = blocksize >> 9; find_lnx1_partitions() 243 int blocksize, find_cms1_partitions() 255 blocksize = label->cms.block_size; find_cms1_partitions() 256 secperblk = blocksize >> 9; find_cms1_partitions() 268 * If an FBA device is CMS formatted with blocksize > 512 byte find_cms1_partitions() 292 int blocksize, res; ibm_partition() local 302 blocksize = bdev_logical_block_size(bdev); ibm_partition() 303 if (blocksize <= 0) ibm_partition() 324 if (find_label(state, info, geo, blocksize, &labelsect, name, type, ibm_partition() 327 res = find_vol1_partitions(state, geo, blocksize, name, ibm_partition() 330 res = find_lnx1_partitions(state, geo, blocksize, name, ibm_partition() 334 res = find_cms1_partitions(state, geo, blocksize, name, ibm_partition() 349 offset = (info->label_block + 1) * (blocksize >> 9); ibm_partition() 63 find_label(struct parsed_partitions *state, dasd_information2_t *info, struct hd_geometry *geo, int blocksize, sector_t *labelsect, char name[], char type[], union label_t *label) find_label() argument 132 find_vol1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label) find_vol1_partitions() argument 194 find_lnx1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect, loff_t i_size, dasd_information2_t *info) find_lnx1_partitions() argument 241 find_cms1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect) find_cms1_partitions() argument
|
/linux-4.1.27/drivers/ssb/ |
H A D | driver_chipcommon_sflash.c | 28 u32 blocksize; member in struct:ssb_sflash_tbl_e 149 sflash->blocksize = e->blocksize; ssb_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; ssb_sflash_init() 154 pr_info("Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n", ssb_sflash_init() 155 e->name, sflash->size / 1024, e->blocksize, e->numblocks); ssb_sflash_init()
|
/linux-4.1.27/drivers/bcma/ |
H A D | driver_chipcommon_sflash.c | 29 u32 blocksize; member in struct:bcma_sflash_tbl_e 149 sflash->blocksize = e->blocksize; bcma_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; bcma_sflash_init() 154 bcma_info(bus, "Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n", bcma_sflash_init() 155 e->name, sflash->size / 1024, sflash->blocksize, bcma_sflash_init()
|
/linux-4.1.27/drivers/crypto/qce/ |
H A D | sha.c | 152 unsigned int blocksize = qce_ahash_export() local 161 memcpy(out_state->buffer, rctx->buf, blocksize); qce_ahash_export() 168 memcpy(out_state->buf, rctx->buf, blocksize); qce_ahash_export() 182 unsigned int blocksize; qce_import_common() local 185 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); qce_import_common() 187 memcpy(rctx->buf, buffer, blocksize); qce_import_common() 189 if (in_count <= blocksize) { qce_import_common() 206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); qce_import_common() 243 unsigned int blocksize; qce_ahash_update() local 245 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); qce_ahash_update() 251 if (total <= blocksize) { qce_ahash_update() 270 hash_later = total % blocksize; qce_ahash_update() 277 /* here nbytes is multiple of blocksize */ qce_ahash_update() 375 unsigned int blocksize; qce_ahash_hmac_setkey() local 381 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); qce_ahash_hmac_setkey() 384 if (keylen <= blocksize) { qce_ahash_hmac_setkey() 455 unsigned int blocksize; member in struct:qce_ahash_def 466 .blocksize = SHA1_BLOCK_SIZE, 475 .blocksize = SHA256_BLOCK_SIZE, 484 .blocksize = SHA1_BLOCK_SIZE, 493 .blocksize = SHA256_BLOCK_SIZE, 526 base->cra_blocksize = def->blocksize; qce_ahash_register_one()
|
H A D | ablkcipher.c | 265 unsigned int blocksize; member in struct:qce_ablkcipher_def 276 .blocksize = AES_BLOCK_SIZE, 285 .blocksize = AES_BLOCK_SIZE, 294 .blocksize = AES_BLOCK_SIZE, 303 .blocksize = AES_BLOCK_SIZE, 312 .blocksize = DES_BLOCK_SIZE, 321 .blocksize = DES_BLOCK_SIZE, 330 .blocksize = DES3_EDE_BLOCK_SIZE, 339 .blocksize = DES3_EDE_BLOCK_SIZE, 363 alg->cra_blocksize = def->blocksize; qce_ablkcipher_register_one()
|
H A D | common.c | 239 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); qce_setup_regs_ahash() local 246 if (!rctx->last_blk && req->nbytes % blocksize) qce_setup_regs_ahash()
|
/linux-4.1.27/fs/affs/ |
H A D | super.c | 191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options() 202 *blocksize = -1; parse_options() 221 pr_warn("Invalid blocksize (512, 1024, 2048, 4096 allowed)\n"); parse_options() 224 *blocksize = n; parse_options() 305 int size, blocksize; affs_fill_super() local 337 &blocksize,&sbi->s_prefix, affs_fill_super() 356 pr_debug("initial blocksize=%d, #blocks=%d\n", 512, size); affs_fill_super() 363 if (blocksize > 0) { affs_fill_super() 364 i = j = blocksize; affs_fill_super() 365 size = size / (blocksize / 512); affs_fill_super() 367 for (blocksize = i; blocksize <= j; blocksize <<= 1, size >>= 1) { affs_fill_super() 371 pr_debug("setting blocksize to %d\n", blocksize); affs_fill_super() 372 affs_set_blocksize(sb, blocksize); affs_fill_super() 380 * report the real number of blocks of the real blocksize, affs_fill_super() 390 blocksize, size, reserved); affs_fill_super() 397 sbi->s_hashsize = blocksize / 4 - 56; affs_fill_super() 476 sig, sig[3] + '0', blocksize); affs_fill_super() 516 int blocksize; affs_remount() local 539 &blocksize, &prefix, volume, affs_remount() 190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options() argument
|
/linux-4.1.27/include/linux/ |
H A D | cryptouser.h | 67 unsigned int blocksize; member in struct:crypto_report_hash 73 unsigned int blocksize; member in struct:crypto_report_cipher 81 unsigned int blocksize; member in struct:crypto_report_blkcipher 90 unsigned int blocksize; member in struct:crypto_report_aead
|
H A D | jbd.h | 184 __be32 s_blocksize; /* journal device blocksize */ 534 * @j_blocksize: blocksize for the location where we store the journal. 667 * Device, blocksize and starting block offset for the location where we
|
H A D | jbd2.h | 239 __be32 s_blocksize; /* journal device blocksize */ 716 * @j_blocksize: blocksize for the location where we store the journal. 860 * Device, blocksize and starting block offset for the location where we
|
H A D | buffer_head.h | 197 sector_t bblock, unsigned blocksize);
|
H A D | nilfs2_fs.h | 158 blocksize =
|
/linux-4.1.27/fs/nilfs2/ |
H A D | the_nilfs.c | 236 int blocksize; load_nilfs() local 259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); load_nilfs() 260 if (blocksize != nilfs->ns_blocksize) { load_nilfs() 262 "NILFS warning: blocksize differs between " load_nilfs() 264 blocksize, nilfs->ns_blocksize); load_nilfs() 497 struct super_block *sb, int blocksize, nilfs_load_super_block() 505 sbp[0] = nilfs_read_super_block(sb, NILFS_SB_OFFSET_BYTES, blocksize, nilfs_load_super_block() 507 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); nilfs_load_super_block() 516 "(blocksize = %d)\n", blocksize); nilfs_load_super_block() 520 "(blocksize = %d)\n", blocksize); nilfs_load_super_block() 549 "using spare superblock (blocksize = %d).\n", blocksize); nilfs_load_super_block() 576 int blocksize; init_nilfs() local 581 blocksize = sb_min_blocksize(sb, NILFS_MIN_BLOCK_SIZE); init_nilfs() 582 if (!blocksize) { init_nilfs() 583 printk(KERN_ERR "NILFS: unable to set blocksize\n"); init_nilfs() 587 err = nilfs_load_super_block(nilfs, sb, blocksize, &sbp); init_nilfs() 599 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); init_nilfs() 600 if (blocksize < NILFS_MIN_BLOCK_SIZE || init_nilfs() 601 blocksize > NILFS_MAX_BLOCK_SIZE) { init_nilfs() 603 "filesystem blocksize %d\n", blocksize); init_nilfs() 607 if (sb->s_blocksize != blocksize) { init_nilfs() 610 if (blocksize < hw_blocksize) { init_nilfs() 612 "NILFS: blocksize %d too small for device " init_nilfs() 614 blocksize, hw_blocksize); init_nilfs() 619 sb_set_blocksize(sb, blocksize); init_nilfs() 621 err = nilfs_load_super_block(nilfs, sb, blocksize, &sbp); init_nilfs() 628 nilfs->ns_blocksize = blocksize; init_nilfs() 496 nilfs_load_super_block(struct the_nilfs *nilfs, struct super_block *sb, int blocksize, struct nilfs_super_block **sbpp) nilfs_load_super_block() argument
|
H A D | recovery.c | 109 unsigned int blocksize = nilfs->ns_blocksize; nilfs_compute_checksum() local 113 BUG_ON(offset >= blocksize); nilfs_compute_checksum() 115 size = min_t(u64, check_bytes, blocksize - offset); nilfs_compute_checksum() 122 bh = __bread(nilfs->ns_bdev, ++start, blocksize); nilfs_compute_checksum() 126 size = min_t(u64, check_bytes, blocksize); nilfs_compute_checksum() 511 unsigned blocksize = nilfs->ns_blocksize; nilfs_recover_dsync_blocks() local 525 err = block_write_begin(inode->i_mapping, pos, blocksize, list_for_each_entry_safe() 529 if (pos + blocksize > isize) list_for_each_entry_safe() 531 pos + blocksize); list_for_each_entry_safe() 543 block_write_end(NULL, inode->i_mapping, pos, blocksize, list_for_each_entry_safe() 544 blocksize, page, NULL); list_for_each_entry_safe()
|
H A D | btnode.c | 250 if (nbh == NULL) { /* blocksize == pagesize */ nilfs_btnode_commit_change_key() 290 if (nbh == NULL) { /* blocksize == pagesize */ nilfs_btnode_abort_change_key()
|
H A D | segment.c | 342 unsigned blocksize = sci->sc_super->s_blocksize; nilfs_segctor_map_segsum_entry() local 345 if (unlikely(ssp->offset + bytes > blocksize)) { nilfs_segctor_map_segsum_entry() 416 unsigned blocksize = sci->sc_super->s_blocksize; nilfs_segctor_segsum_block_required() local 417 /* Size of finfo and binfo is enough small against blocksize */ nilfs_segctor_segsum_block_required() 421 blocksize; nilfs_segctor_segsum_block_required() 639 * may be included if blocksize < pagesize. nilfs_lookup_dirty_data_buffers() 2014 * for blocksize < pagesize because page dirty nilfs_segctor_do_construct()
|
H A D | inode.c | 747 unsigned int blocksize; nilfs_truncate() local 757 blocksize = sb->s_blocksize; nilfs_truncate() 758 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; nilfs_truncate()
|
H A D | sysfs.c | 920 "(2) blocksize\n\tshow volume block size in bytes.\n\n" 934 NILFS_DEV_RO_ATTR(blocksize); variable 943 NILFS_DEV_ATTR_LIST(blocksize),
|
H A D | super.c | 858 u64 pos, int blocksize, nilfs_read_super_block() 864 offset = do_div(sb_index, blocksize); nilfs_read_super_block() 857 nilfs_read_super_block(struct super_block *sb, u64 pos, int blocksize, struct buffer_head **pbh) nilfs_read_super_block() argument
|
/linux-4.1.27/sound/pci/emu10k1/ |
H A D | emu10k1_patch.c | 43 int truesize, size, loopsize, blocksize; snd_emu10k1_sample_new() local 91 blocksize = truesize; snd_emu10k1_sample_new() 93 blocksize *= 2; snd_emu10k1_sample_new() 94 sp->block = snd_emu10k1_synth_alloc(emu, blocksize); snd_emu10k1_sample_new() 97 "synth malloc failed (size=%d)\n", blocksize); snd_emu10k1_sample_new() 102 sp->v.truesize = blocksize; snd_emu10k1_sample_new() 109 if (offset + size > blocksize) snd_emu10k1_sample_new() 118 if (offset + size > blocksize) snd_emu10k1_sample_new() 136 if (offset + loopsize * 2 > blocksize) snd_emu10k1_sample_new() 142 if (offset + loopsize > blocksize) snd_emu10k1_sample_new() 175 if (offset < blocksize) snd_emu10k1_sample_new() 176 snd_emu10k1_synth_bzero(emu, sp->block, offset, blocksize - offset); snd_emu10k1_sample_new()
|
/linux-4.1.27/fs/befs/ |
H A D | super.c | 73 * Check blocksize of BEFS. befs_check_sb() 82 befs_error(sb, "invalid blocksize: %u", befs_sb->block_size); befs_check_sb() 87 befs_error(sb, "blocksize(%u) cannot be larger" befs_check_sb()
|
H A D | befs_fs_types.h | 39 * It matters on large blocksize volumes
|
H A D | linuxvfs.c | 803 * Set dummy blocksize to read super block. befs_fill_super() 804 * Will be set to real fs blocksize later. befs_fill_super() 849 /* Set real blocksize of fs */ befs_fill_super()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | blockcheck.h | 55 void ocfs2_block_check_compute(void *data, size_t blocksize, 57 int ocfs2_block_check_validate(void *data, size_t blocksize, 104 extern u32 ocfs2_hamming_encode_block(void *data, unsigned int blocksize); 105 extern void ocfs2_hamming_fix_block(void *data, unsigned int blocksize,
|
H A D | ocfs2_fs.h | 41 * blocksize of 2K, it is 4096 bytes into disk. 53 * Blocks cannot be bigger than clusters, so the maximum blocksize is the 454 on the blocksize. OCFS2's maximum 455 blocksize, 4K, requires 16 parity bits, 575 * 255 * sizeof(__le16) == 512B, within the 512B block minimum blocksize. 666 * our smallest blocksize, which is 512 bytes. To ensure this, 668 * will not be available on the smallest blocksize. 1271 static inline struct ocfs2_disk_dqtrailer *ocfs2_block_dqtrailer(int blocksize, ocfs2_block_dqtrailer() argument 1275 ptr += blocksize - OCFS2_QBLK_RESERVED_SPACE; ocfs2_block_dqtrailer() 1480 static inline int ocfs2_fast_symlink_chars(int blocksize) ocfs2_fast_symlink_chars() argument 1482 return blocksize - offsetof(struct ocfs2_dinode, id2.i_symlink); ocfs2_fast_symlink_chars() 1485 static inline int ocfs2_max_inline_data_with_xattr(int blocksize, ocfs2_max_inline_data_with_xattr() argument 1489 return blocksize - ocfs2_max_inline_data_with_xattr() 1493 return blocksize - ocfs2_max_inline_data_with_xattr() 1497 static inline int ocfs2_extent_recs_per_inode(int blocksize) ocfs2_extent_recs_per_inode() argument 1501 size = blocksize - ocfs2_extent_recs_per_inode() 1507 static inline int ocfs2_chain_recs_per_inode(int blocksize) ocfs2_chain_recs_per_inode() argument 1511 size = blocksize - ocfs2_chain_recs_per_inode() 1517 static inline int ocfs2_extent_recs_per_eb(int blocksize) ocfs2_extent_recs_per_eb() argument 1521 size = blocksize - ocfs2_extent_recs_per_eb() 1527 static inline int ocfs2_extent_recs_per_gd(int blocksize) ocfs2_extent_recs_per_gd() argument 1531 size = blocksize - ocfs2_extent_recs_per_gd() 1537 static inline int ocfs2_local_alloc_size(int blocksize) ocfs2_local_alloc_size() argument 1541 size = blocksize - ocfs2_local_alloc_size() 1547 static inline int ocfs2_group_bitmap_size(int blocksize, ocfs2_group_bitmap_size() argument 1567 static inline int ocfs2_truncate_recs_per_inode(int blocksize) ocfs2_truncate_recs_per_inode() argument 1571 size = blocksize - ocfs2_truncate_recs_per_inode() 1577 static inline uint64_t ocfs2_backup_super_blkno(int blocksize, int index) ocfs2_backup_super_blkno() argument 1583 offset /= blocksize; ocfs2_backup_super_blkno() 1590 static inline int ocfs2_xattr_recs_per_xb(int blocksize) ocfs2_xattr_recs_per_xb() argument 1594 size = blocksize - ocfs2_xattr_recs_per_xb()
|
H A D | blockcheck.c | 154 u32 ocfs2_hamming_encode_block(void *data, unsigned int blocksize) ocfs2_hamming_encode_block() argument 156 return ocfs2_hamming_encode(0, data, blocksize * 8, 0); ocfs2_hamming_encode_block() 222 void ocfs2_hamming_fix_block(void *data, unsigned int blocksize, ocfs2_hamming_fix_block() argument 225 ocfs2_hamming_fix(data, blocksize * 8, 0, fix); ocfs2_hamming_fix_block() 391 void ocfs2_block_check_compute(void *data, size_t blocksize, ocfs2_block_check_compute() argument 399 crc = crc32_le(~0, data, blocksize); ocfs2_block_check_compute() 400 ecc = ocfs2_hamming_encode_block(data, blocksize); ocfs2_block_check_compute() 420 int ocfs2_block_check_validate(void *data, size_t blocksize, ocfs2_block_check_validate() argument 437 crc = crc32_le(~0, data, blocksize); ocfs2_block_check_validate() 447 ecc = ocfs2_hamming_encode_block(data, blocksize); ocfs2_block_check_validate() 448 ocfs2_hamming_fix_block(data, blocksize, ecc ^ bc_ecc); ocfs2_block_check_validate() 451 crc = crc32_le(~0, data, blocksize); ocfs2_block_check_validate()
|
H A D | dir.h | 114 struct ocfs2_dir_block_trailer *ocfs2_dir_trailer_from_size(int blocksize,
|
H A D | reservations.h | 89 * @max_bitmap_bytes: Maximum size of the bitmap (typically blocksize)
|
H A D | xattr.c | 466 int blocksize = src->bu_inode->i_sb->s_blocksize; ocfs2_xattr_bucket_copy_data() local 473 blocksize); ocfs2_xattr_bucket_copy_data() local 669 * when blocksize = 512, may reserve one more cluser for ocfs2_calc_xattr_init() 1099 size_t cplen, blocksize; ocfs2_xattr_get_value_outside() local 1106 blocksize = inode->i_sb->s_blocksize; ocfs2_xattr_get_value_outside() 1127 cplen = len >= blocksize ? blocksize : len; ocfs2_xattr_get_value_outside() 1343 u16 blocksize = inode->i_sb->s_blocksize; __ocfs2_xattr_set_value_outside() local 1384 cp_len = value_len > blocksize ? blocksize : value_len; __ocfs2_xattr_set_value_outside() 1388 if (cp_len < blocksize) __ocfs2_xattr_set_value_outside() 1390 blocksize - cp_len); __ocfs2_xattr_set_value_outside() 4182 int i, blocksize = inode->i_sb->s_blocksize; ocfs2_cp_xattr_block_to_bucket() local 4199 memset(bucket_block(bucket, i), 0, blocksize); ocfs2_cp_xattr_block_to_bucket() local 4209 size = blocksize - offset; ocfs2_cp_xattr_block_to_bucket() 4227 off_change = OCFS2_XATTR_BUCKET_SIZE - blocksize + ocfs2_cp_xattr_block_to_bucket() 4389 size_t blocksize = inode->i_sb->s_blocksize; ocfs2_defrag_xattr_bucket() local 4405 for (i = 0; i < bucket->bu_blocks; i++, buf += blocksize) ocfs2_defrag_xattr_bucket() 4406 memcpy(buf, bucket_block(bucket, i), blocksize); ocfs2_defrag_xattr_bucket() 4444 if (((end - len) / blocksize != ocfs2_defrag_xattr_bucket() 4445 (end - 1) / blocksize)) ocfs2_defrag_xattr_bucket() 4446 end = end - end % blocksize; ocfs2_defrag_xattr_bucket() 4475 for (i = 0; i < bucket->bu_blocks; i++, buf += blocksize) ocfs2_defrag_xattr_bucket() 4476 memcpy(bucket_block(bucket, i), buf, blocksize); ocfs2_defrag_xattr_bucket() local 4631 int blocksize = inode->i_sb->s_blocksize; ocfs2_divide_xattr_bucket() local 4694 memset(bucket_block(t_bucket, i), 0, blocksize); ocfs2_divide_xattr_bucket() local 4697 xh->xh_free_start = cpu_to_le16(blocksize); ocfs2_divide_xattr_bucket() 5358 size_t blocksize = inode->i_sb->s_blocksize; ocfs2_xattr_bucket_value_truncate() local 5370 value_blk = offset / blocksize; ocfs2_xattr_bucket_value_truncate() 5373 BUG_ON(value_blk != (offset + OCFS2_XATTR_ROOT_SIZE - 1) / blocksize); ocfs2_xattr_bucket_value_truncate() 5379 (vb.vb_bh->b_data + offset % blocksize); ocfs2_xattr_bucket_value_truncate()
|
H A D | localalloc.c | 103 * alloc maximums at various cluster sizes (4k blocksize) 130 * descriptors - 512 byte blocksize at cluster sizes lower ocfs2_la_default_mb() 131 * than 16K and also 1k blocksize with 4k cluster size. ocfs2_la_default_mb() 151 * Some clustersize / blocksize combinations will have ocfs2_la_default_mb() 156 * As an example, 16K clustersize at 4K blocksize ocfs2_la_default_mb()
|
H A D | dir.c | 123 struct ocfs2_dir_block_trailer *ocfs2_dir_trailer_from_size(int blocksize, ocfs2_dir_trailer_from_size() argument 128 p += blocksize - sizeof(struct ocfs2_dir_block_trailer); ocfs2_dir_trailer_from_size() 2861 * blocksize == clustersize and the dirent won't fit in the ocfs2_expand_inline_dir() 3453 int blocksize = dir->i_sb->s_blocksize; ocfs2_find_dir_space_el() local 3493 if (ocfs2_skip_dir_trailer(dir, de, offset % blocksize, ocfs2_find_dir_space_el() 3494 blocksize)) ocfs2_find_dir_space_el()
|
H A D | aops.c | 435 unsigned blocksize = head->b_size; walk_page_buffers() local 444 block_end = block_start + blocksize; walk_page_buffers()
|
H A D | journal.c | 527 * offset depends on the blocksize. 547 * struct ocfs2_block_check offset depends on the blocksize.
|
H A D | super.c | 809 * blocksizes. 4096 is the maximum blocksize because it is ocfs2_sb_probe() 1816 mlog(ML_ERROR, "unable to set blocksize\n"); ocfs2_get_sector()
|
/linux-4.1.27/include/linux/ssb/ |
H A D | ssb_driver_mips.h | 27 u32 blocksize; member in struct:ssb_sflash
|
/linux-4.1.27/drivers/mtd/ |
H A D | bcm47xxpart.c | 93 uint32_t blocksize = master->erasesize; bcm47xxpart_parse() local 103 if (blocksize < 0x1000) bcm47xxpart_parse() 104 blocksize = 0x1000; bcm47xxpart_parse() 119 for (offset = 0; offset <= master->size - blocksize; bcm47xxpart_parse() 120 offset += blocksize) { bcm47xxpart_parse() 233 offset = rounddown(offset + trx->length, blocksize); bcm47xxpart_parse() 249 if (offset != master->size - blocksize && bcm47xxpart_parse() 290 master->size - blocksize, 0); bcm47xxpart_parse()
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes.c | 264 unsigned int blocksize; member in struct:ccp_aes_def 274 .blocksize = AES_BLOCK_SIZE, 282 .blocksize = AES_BLOCK_SIZE, 290 .blocksize = AES_BLOCK_SIZE, 298 .blocksize = 1, 306 .blocksize = 1, 314 .blocksize = 1, 341 alg->cra_blocksize = def->blocksize; ccp_register_aes_alg()
|
H A D | ccp-ops.c | 779 * needs to be buffered into a blocksize chunk ccp_prepare_data() 802 * output needs to be buffered into a blocksize chunk ccp_prepare_data()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | qnx4_fs.h | 29 #define QNX4_BLOCK_SIZE 0x200 /* blocksize of 512 bytes */ 30 #define QNX4_BLOCK_SIZE_BITS 9 /* blocksize shift */
|
H A D | coda.h | 222 long va_blocksize; /* blocksize preferred for i/o */
|
H A D | fuse.h | 620 uint32_t blocksize; member in struct:fuse_bmap_in
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | bcm47xxsflash.c | 80 if (b47s->blocksize < (64 * 1024)) bcm47xxsflash_erase() 168 u32 mask = b47s->blocksize - 1; bcm47xxsflash_write_at() 174 if (byte || (len < b47s->blocksize)) { bcm47xxsflash_write_at() 190 if (byte == b47s->blocksize) bcm47xxsflash_write_at() 251 mtd->erasesize = b47s->blocksize; bcm47xxsflash_fill_mtd() 300 b47s->blocksize = sflash->blocksize; bcm47xxsflash_bcma_probe()
|
H A D | bcm47xxsflash.h | 69 u32 blocksize; member in struct:bcm47xxsflash
|
H A D | mtd_dataflash.c | 154 unsigned blocksize = priv->page_size << 3; dataflash_erase() local 185 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; dataflash_erase() 211 instr->addr += blocksize; dataflash_erase() 212 instr->len -= blocksize; dataflash_erase()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 147 size_t blocksize, keybytes, keylength, n; krb5_derive_key() local 153 blocksize = gk5e->blocksize; krb5_derive_key() 170 inblockdata = kmalloc(blocksize, gfp_mask); krb5_derive_key() 174 outblockdata = kmalloc(blocksize, gfp_mask); krb5_derive_key() 183 inblock.len = blocksize; krb5_derive_key() 186 outblock.len = blocksize; krb5_derive_key() 235 memset(outblockdata, 0, blocksize); krb5_derive_key() 238 memset(inblockdata, 0, blocksize); krb5_derive_key()
|
H A D | gss_krb5_wrap.c | 43 gss_krb5_padding(int blocksize, int length) gss_krb5_padding() argument 45 return blocksize - (length % blocksize); gss_krb5_padding() 49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) gss_krb5_add_padding() argument 51 int padding = gss_krb5_padding(blocksize, buf->len - offset); gss_krb5_add_padding() 66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) gss_krb5_remove_padding() argument 107 if (pad > blocksize) gss_krb5_remove_padding() 164 int blocksize = 0, plainlen; gss_wrap_kerberos_v1() local 177 blocksize = crypto_blkcipher_blocksize(kctx->enc); gss_wrap_kerberos_v1() 178 gss_krb5_add_padding(buf, offset, blocksize); gss_wrap_kerberos_v1() 179 BUG_ON((buf->len - offset) % blocksize); gss_wrap_kerberos_v1() 191 BUG_ON((buf->len - offset - headlen) % blocksize); gss_wrap_kerberos_v1() 280 int blocksize; gss_unwrap_kerberos_v1() local 374 blocksize = crypto_blkcipher_blocksize(kctx->enc); gss_unwrap_kerberos_v1() 383 if (gss_krb5_remove_padding(buf, blocksize)) gss_unwrap_kerberos_v1() 443 int blocksize; gss_wrap_kerberos_v2() local 476 blocksize = crypto_blkcipher_blocksize(kctx->acceptor_enc); gss_wrap_kerberos_v2()
|
H A D | gss_krb5_crypto.c | 651 int blocksize; gss_krb5_aes_encrypt() local 669 blocksize = crypto_blkcipher_blocksize(cipher); gss_krb5_aes_encrypt() 714 nblocks = (nbytes + blocksize - 1) / blocksize; gss_krb5_aes_encrypt() 717 cbcbytes = (nblocks - 2) * blocksize; gss_krb5_aes_encrypt() 770 int nblocks, blocksize, cbcbytes; gss_krb5_aes_decrypt() local 785 blocksize = crypto_blkcipher_blocksize(cipher); gss_krb5_aes_decrypt() 793 nblocks = (subbuf.len + blocksize - 1) / blocksize; gss_krb5_aes_decrypt() 797 cbcbytes = (nblocks - 2) * blocksize; gss_krb5_aes_decrypt()
|
H A D | gss_krb5_mech.c | 71 .blocksize = 8, 92 .blocksize = 1, 113 .blocksize = 8, 136 .blocksize = 16, 159 .blocksize = 16,
|
/linux-4.1.27/fs/qnx6/ |
H A D | super_mmi.c | 70 /* set new blocksize */ qnx6_mmi_fill_super() 72 pr_err("unable to set blocksize\n"); qnx6_mmi_fill_super() 75 /* blocksize invalidates bh - pull it back in */ qnx6_mmi_fill_super()
|
H A D | inode.c | 212 pr_debug("blocksize: %08x\n", fs32_to_cpu(sbi, sb->sb_blocksize)); qnx6_superblock_debug() 316 pr_err("unable to set blocksize\n"); qnx6_fill_super() 361 /* set new blocksize */ qnx6_fill_super() 363 pr_err("unable to set blocksize\n"); qnx6_fill_super() 366 /* blocksize invalidates bh - pull it back in */ qnx6_fill_super() 569 /* calc blocks based on 512 byte blocksize */ qnx6_iget()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723com/ |
H A D | fw_common.c | 60 u32 blocksize = sizeof(u32); rtl8723_fw_block_write() local 65 blockcount = size / blocksize; rtl8723_fw_block_write() 66 remainsize = size % blocksize; rtl8723_fw_block_write() 69 offset = i * blocksize; rtl8723_fw_block_write() 74 offset = blockcount * blocksize; rtl8723_fw_block_write()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | alauda.c | 97 unsigned int blocksize; /* number of pages per block */ member in struct:alauda_media_info 440 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; alauda_init_media() 444 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; alauda_init_media() 779 * (pagesize+64)*blocksize bytes in length. 798 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, alauda_write_block() 820 unsigned int blocksize = MEDIA_INFO(us).blocksize; alauda_write_lba() local 846 blocksize, blockbuffer); alauda_write_lba() 850 memset(blockbuffer, 0, blocksize * (pagesize + 64)); alauda_write_lba() 858 for (i = 0; i < blocksize; i++) { alauda_write_lba() 921 unsigned int blocksize = MEDIA_INFO(us).blocksize; alauda_read_data() local 935 len = min(sectors, blocksize) * (pagesize + 64); alauda_read_data() 967 pages = min(sectors, blocksize - page); alauda_read_data() 1015 unsigned int blocksize = MEDIA_INFO(us).blocksize; alauda_write_data() local 1027 len = min(sectors, blocksize) * pagesize; alauda_write_data() 1038 blockbuffer = kmalloc((pagesize + 64) * blocksize, GFP_NOIO); alauda_write_data() 1056 unsigned int pages = min(sectors, blocksize - page); alauda_write_data() 1163 * MEDIA_INFO(us).blocksize; alauda_transport()
|
H A D | sddr55.c | 99 int blocksize; /* Size of block in pages */ member in struct:sddr55_card_info 100 int blockshift; /* log2 of blocksize */ 216 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> sddr55_read_data() 235 info->blocksize - page); sddr55_read_data() 343 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> sddr55_write_data() 362 info->blocksize - page); sddr55_write_data() 585 info->blocksize = 16; sddr55_get_capacity() 616 info->blocksize = 32; sddr55_get_capacity() 622 info->blocksize = 32; sddr55_get_capacity() 628 info->blocksize = 32; sddr55_get_capacity() 634 info->blocksize = 32; sddr55_get_capacity()
|
H A D | sddr09.c | 259 int blocksize; /* Size of block in pages */ member in struct:sddr09_card_info 260 int blockshift; /* log2 of blocksize */ 763 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; sddr09_read_data() 780 pages = min(sectors, info->blocksize - page); sddr09_read_data() 900 result = sddr09_read22(us, address>>1, info->blocksize, sddr09_write_lba() 906 for (i = 0; i < info->blocksize; i++) { sddr09_write_lba() 940 result = sddr09_write_inplace(us, address>>1, info->blocksize, sddr09_write_lba() 1004 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; sddr09_write_data() 1020 pages = min(sectors, info->blocksize - page); sddr09_write_data() 1602 info->blocksize = (1 << info->blockshift); sddr09_transport() 1603 info->blockmask = info->blocksize - 1; sddr09_transport()
|
/linux-4.1.27/fs/ext4/ |
H A D | move_extent.c | 185 unsigned int blocksize, block_start, block_end; mext_page_mkuptodate() local 193 blocksize = 1 << inode->i_blkbits; mext_page_mkuptodate() 195 create_empty_buffers(page, blocksize, 0); mext_page_mkuptodate() 201 block_end = block_start + blocksize; mext_page_mkuptodate() 216 zero_user(page, block_start, blocksize); mext_page_mkuptodate() 269 unsigned long blocksize = orig_inode->i_sb->s_blocksize; move_extent_per_page() local 301 tmp_data_size = orig_inode->i_size & (blocksize - 1); move_extent_per_page() 304 * blocksize. So we set appropriate value. move_extent_per_page() 307 tmp_data_size = blocksize; move_extent_per_page() 466 unsigned int blocksize = 1 << blkbits; mext_check_arguments() local 468 orig_eof = (i_size_read(orig_inode) + blocksize - 1) >> blkbits; mext_check_arguments() 469 donor_eof = (i_size_read(donor_inode) + blocksize - 1) >> blkbits; mext_check_arguments()
|
H A D | namei.c | 257 unsigned blocksize, struct dx_hash_info *hinfo, 261 struct dx_map_entry *offsets, int count, unsigned blocksize); 262 static struct ext4_dir_entry_2* dx_pack_dirents(char *base, unsigned blocksize); 277 unsigned int blocksize) initialize_dirent_tail() 281 sizeof(struct ext4_dir_entry_tail), blocksize); initialize_dirent_tail() 497 ext4_next_entry(struct ext4_dir_entry_2 *p, unsigned long blocksize) ext4_next_entry() argument 500 ext4_rec_len_from_disk(p->rec_len, blocksize)); ext4_next_entry() 685 unsigned blocksize = dir->i_sb->s_blocksize; dx_show_entries() local 703 bh->b_data, blocksize, 0); dx_show_entries() 712 (space/bcount)*100/blocksize); dx_show_entries() 1175 unsigned blocksize, struct dx_hash_info *hinfo, dx_make_map() 1182 while ((char *) de < base + blocksize) { dx_make_map() 1193 de = ext4_next_entry(de, blocksize); dx_make_map() 1638 unsigned blocksize) dx_move_dirents() 1648 ext4_rec_len_to_disk(rec_len, blocksize); dx_move_dirents() 1660 static struct ext4_dir_entry_2* dx_pack_dirents(char *base, unsigned blocksize) dx_pack_dirents() argument 1666 while ((char*)de < base + blocksize) { dx_pack_dirents() 1667 next = ext4_next_entry(de, blocksize); dx_pack_dirents() 1672 to->rec_len = ext4_rec_len_to_disk(rec_len, blocksize); dx_pack_dirents() 1690 unsigned blocksize = dir->i_sb->s_blocksize; do_split() local 1726 map = (struct dx_map_entry *) (data2 + blocksize); do_split() 1728 blocksize, hinfo, map); do_split() 1736 if (size + map[i].size/2 > blocksize/2) do_split() 1751 blocksize); do_split() 1752 de = dx_pack_dirents(data1, blocksize); do_split() 1753 de->rec_len = ext4_rec_len_to_disk(data1 + (blocksize - csum_size) - do_split() 1755 blocksize); do_split() 1756 de2->rec_len = ext4_rec_len_to_disk(data2 + (blocksize - csum_size) - do_split() 1758 blocksize); do_split() 1760 t = EXT4_DIRENT_TAIL(data2, blocksize); do_split() 1761 initialize_dirent_tail(t, blocksize); do_split() 1763 t = EXT4_DIRENT_TAIL(data1, blocksize); do_split() 1764 initialize_dirent_tail(t, blocksize); do_split() 1768 blocksize, 1)); do_split() 1770 blocksize, 1)); do_split() 1934 unsigned int blocksize = dir->i_sb->s_blocksize; add_dirent_to_buf() local 1943 bh, bh->b_data, blocksize - csum_size, add_dirent_to_buf() 1957 err = ext4_insert_dentry(dir, inode, de, blocksize, &dentry->d_name, add_dirent_to_buf() 2008 unsigned blocksize; make_indexed_dir() local 2023 blocksize = dir->i_sb->s_blocksize; make_indexed_dir() 2037 ext4_rec_len_from_disk(fde->rec_len, blocksize)); make_indexed_dir() 2038 if ((char *) de >= (((char *) root) + blocksize)) { make_indexed_dir() 2043 len = ((char *) root) + (blocksize - csum_size) - (char *) de; make_indexed_dir() 2057 while ((char *)(de2 = ext4_next_entry(de, blocksize)) < top) make_indexed_dir() 2059 de->rec_len = ext4_rec_len_to_disk(data1 + (blocksize - csum_size) - make_indexed_dir() 2061 blocksize); make_indexed_dir() 2064 t = EXT4_DIRENT_TAIL(data1, blocksize); make_indexed_dir() 2065 initialize_dirent_tail(t, blocksize); make_indexed_dir() 2070 de->rec_len = ext4_rec_len_to_disk(blocksize - EXT4_DIR_REC_LEN(2), make_indexed_dir() 2071 blocksize); make_indexed_dir() 2152 unsigned blocksize; ext4_add_entry() local 2160 blocksize = sb->s_blocksize; ext4_add_entry() 2205 de->rec_len = ext4_rec_len_to_disk(blocksize - csum_size, blocksize); ext4_add_entry() 2208 t = EXT4_DIRENT_TAIL(bh->b_data, blocksize); ext4_add_entry() 2209 initialize_dirent_tail(t, blocksize); ext4_add_entry() 2377 unsigned int blocksize = dir->i_sb->s_blocksize; ext4_generic_delete_entry() local 2391 blocksize) + ext4_generic_delete_entry() 2393 blocksize), ext4_generic_delete_entry() 2394 blocksize); ext4_generic_delete_entry() 2400 i += ext4_rec_len_from_disk(de->rec_len, blocksize); ext4_generic_delete_entry() 2402 de = ext4_next_entry(de, blocksize); ext4_generic_delete_entry() 2617 int blocksize, int csum_size, ext4_init_dot_dotdot() 2623 blocksize); ext4_init_dot_dotdot() 2627 de = ext4_next_entry(de, blocksize); ext4_init_dot_dotdot() 2631 de->rec_len = ext4_rec_len_to_disk(blocksize - ext4_init_dot_dotdot() 2633 blocksize); ext4_init_dot_dotdot() 2636 EXT4_DIR_REC_LEN(de->name_len), blocksize); ext4_init_dot_dotdot() 2640 return ext4_next_entry(de, blocksize); ext4_init_dot_dotdot() 2650 unsigned int blocksize = dir->i_sb->s_blocksize; ext4_init_new_dir() local 2670 ext4_init_dot_dotdot(inode, de, blocksize, csum_size, dir->i_ino, 0); ext4_init_new_dir() 2673 t = EXT4_DIRENT_TAIL(dir_block->b_data, blocksize); ext4_init_new_dir() 2674 initialize_dirent_tail(t, blocksize); ext4_init_new_dir() 276 initialize_dirent_tail(struct ext4_dir_entry_tail *t, unsigned int blocksize) initialize_dirent_tail() argument 1174 dx_make_map(struct inode *dir, struct ext4_dir_entry_2 *de, unsigned blocksize, struct dx_hash_info *hinfo, struct dx_map_entry *map_tail) dx_make_map() argument 1637 dx_move_dirents(char *from, char *to, struct dx_map_entry *map, int count, unsigned blocksize) dx_move_dirents() argument 2615 ext4_init_dot_dotdot(struct inode *inode, struct ext4_dir_entry_2 *de, int blocksize, int csum_size, unsigned int parent_ino, int dotdot_real_len) ext4_init_dot_dotdot() argument
|
H A D | readpage.c | 26 * the end-of-file on blocksize < PAGE_CACHE_SIZE setups. 144 const unsigned blocksize = 1 << blkbits; ext4_mpage_readpages() local 178 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; ext4_mpage_readpages()
|
H A D | super.c | 1724 int blocksize = parse_options() local 1727 if (blocksize < PAGE_CACHE_SIZE) { parse_options() 3452 int blocksize, clustersize; ext4_fill_super() local 3490 blocksize = sb_min_blocksize(sb, EXT4_MIN_BLOCK_SIZE); ext4_fill_super() 3491 if (!blocksize) { ext4_fill_super() 3492 ext4_msg(sb, KERN_ERR, "unable to set blocksize"); ext4_fill_super() 3500 if (blocksize != EXT4_MIN_BLOCK_SIZE) { ext4_fill_super() 3502 offset = do_div(logical_sb_block, blocksize); ext4_fill_super() 3706 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); ext4_fill_super() 3707 if (blocksize < EXT4_MIN_BLOCK_SIZE || ext4_fill_super() 3708 blocksize > EXT4_MAX_BLOCK_SIZE) { ext4_fill_super() 3710 "Unsupported filesystem blocksize %d", blocksize); ext4_fill_super() 3715 if (blocksize != PAGE_SIZE) { ext4_fill_super() 3717 "error: unsupported blocksize for dax"); ext4_fill_super() 3734 if (sb->s_blocksize != blocksize) { ext4_fill_super() 3735 /* Validate the filesystem blocksize */ ext4_fill_super() 3736 if (!sb_set_blocksize(sb, blocksize)) { ext4_fill_super() 3738 blocksize); ext4_fill_super() 3744 offset = do_div(logical_sb_block, blocksize); ext4_fill_super() 3774 (sbi->s_inode_size > blocksize)) { ext4_fill_super() 3802 sbi->s_inodes_per_block = blocksize / EXT4_INODE_SIZE(sb); ext4_fill_super() 3807 sbi->s_desc_per_block = blocksize / EXT4_DESC_SIZE(sb); ext4_fill_super() 3839 if (clustersize < blocksize) { ext4_fill_super() 3842 "block size (%d)", clustersize, blocksize); ext4_fill_super() 3849 if (sbi->s_clusters_per_group > blocksize * 8) { ext4_fill_super() 3856 (sbi->s_clusters_per_group * (clustersize / blocksize))) { ext4_fill_super() 3864 if (clustersize != blocksize) { ext4_fill_super() 3867 blocksize); ext4_fill_super() 3868 clustersize = blocksize; ext4_fill_super() 3870 if (sbi->s_blocks_per_group > blocksize * 8) { ext4_fill_super() 3879 sbi->s_cluster_ratio = clustersize / blocksize; ext4_fill_super() 3881 if (sbi->s_inodes_per_group > blocksize * 8) { ext4_fill_super() 4433 int hblock, blocksize; ext4_get_dev_journal() local 4445 blocksize = sb->s_blocksize; ext4_get_dev_journal() 4447 if (blocksize < hblock) { ext4_get_dev_journal() 4449 "blocksize too small for journal device"); ext4_get_dev_journal() 4453 sb_block = EXT4_MIN_BLOCK_SIZE / blocksize; ext4_get_dev_journal() 4454 offset = EXT4_MIN_BLOCK_SIZE % blocksize; ext4_get_dev_journal() 4455 set_blocksize(bdev, blocksize); ext4_get_dev_journal() 4456 if (!(bh = __bread(bdev, sb_block, blocksize))) { ext4_get_dev_journal() 4492 start, len, blocksize); ext4_get_dev_journal()
|
H A D | inode.c | 839 unsigned blocksize = head->b_size; ext4_walk_page_buffers() local 847 block_end = block_start + blocksize; ext4_walk_page_buffers() 922 unsigned blocksize = inode->i_sb->s_blocksize; ext4_block_write_begin() local 933 create_empty_buffers(page, blocksize, 0); ext4_block_write_begin() 935 bbits = ilog2(blocksize); ext4_block_write_begin() 940 block_end = block_start + blocksize; ext4_block_write_begin() 951 WARN_ON(bh->b_size != blocksize); ext4_block_write_begin() 1809 * is important for mmaped based write. So if we do with blocksize 1K 2077 * blocksize < pagesize, we need to make mpage_map_and_submit_buffers() 2098 * supports blocksize < pagesize as we will try to mpage_map_and_submit_buffers() 2306 * unnecessary complication, it is actually inevitable in blocksize < pagesize 2524 * blocksize < pagesize) so that we don't block on IO when we ext4_writepages() 3367 unsigned blocksize, pos; __ext4_block_zero_page_range() local 3379 blocksize = inode->i_sb->s_blocksize; __ext4_block_zero_page_range() 3384 create_empty_buffers(page, blocksize, 0); __ext4_block_zero_page_range() 3388 pos = blocksize; __ext4_block_zero_page_range() 3392 pos += blocksize; __ext4_block_zero_page_range() 3423 BUG_ON(blocksize != PAGE_CACHE_SIZE); __ext4_block_zero_page_range() 3463 unsigned blocksize = inode->i_sb->s_blocksize; ext4_block_zero_page_range() local 3464 unsigned max = blocksize - (offset & (blocksize - 1)); ext4_block_zero_page_range() 3489 unsigned blocksize; ext4_block_truncate_page() local 3492 blocksize = inode->i_sb->s_blocksize; ext4_block_truncate_page() 3493 length = blocksize - (offset & (blocksize - 1)); ext4_block_truncate_page() 4675 * blocksize case ext4_wait_for_tail_page_commit()
|
H A D | page-io.c | 425 unsigned block_start, blocksize; ext4_bio_write_page() local 431 blocksize = 1 << inode->i_blkbits; ext4_bio_write_page()
|
H A D | ext4.h | 1054 size of blocksize * 8 1740 #define EXT4_DIRENT_TAIL(block, blocksize) \ 1742 ((blocksize) - \ 1778 ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) ext4_rec_len_from_disk() argument 1784 return blocksize; ext4_rec_len_from_disk() 1791 static inline __le16 ext4_rec_len_to_disk(unsigned len, unsigned blocksize) ext4_rec_len_to_disk() argument 1793 if ((len > blocksize) || (blocksize > (1 << 18)) || (len & 3)) ext4_rec_len_to_disk() 1798 if (len == blocksize) { ext4_rec_len_to_disk() 1799 if (blocksize == 65536) ext4_rec_len_to_disk() 2855 int blocksize, int csum_size, 2858 unsigned int blocksize);
|
H A D | indirect.c | 1214 unsigned blocksize = inode->i_sb->s_blocksize; ext4_ind_truncate() local 1216 last_block = (inode->i_size + blocksize-1) ext4_ind_truncate() 1218 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) ext4_ind_truncate() 1327 unsigned blocksize = inode->i_sb->s_blocksize; ext4_ind_remove_space() local 1329 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) ext4_ind_remove_space()
|
H A D | mballoc.c | 122 * blocksize) blocks. So it can have information regarding groups_per_page 809 * contain blocks_per_page (PAGE_CACHE_SIZE / blocksize) blocks. 820 int blocksize; ext4_mb_init_cache() local 840 blocksize = 1 << inode->i_blkbits; ext4_mb_init_cache() 841 blocks_per_page = PAGE_CACHE_SIZE / blocksize; ext4_mb_init_cache() 907 data = page_address(page) + (i * blocksize); ext4_mb_init_cache() 918 group, page->index, i * blocksize); ext4_mb_init_cache() 930 memset(data, 0xff, blocksize); ext4_mb_init_cache() 938 group, page->index, i * blocksize); ext4_mb_init_cache() 943 memcpy(data, bitmap, blocksize); ext4_mb_init_cache()
|
H A D | xattr.c | 1233 void *from, size_t n, int blocksize) ext4_xattr_shift_entries() 1244 > blocksize); ext4_xattr_shift_entries() 1231 ext4_xattr_shift_entries(struct ext4_xattr_entry *entry, int value_offs_shift, void *to, void *from, size_t n, int blocksize) ext4_xattr_shift_entries() argument
|
/linux-4.1.27/fs/ext2/ |
H A D | super.c | 789 int blocksize = BLOCK_SIZE; ext2_fill_super() local 812 * See what the current blocksize for the device is, and ext2_fill_super() 813 * use that as the blocksize. Otherwise (or if the blocksize ext2_fill_super() 818 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); ext2_fill_super() 819 if (!blocksize) { ext2_fill_super() 820 ext2_msg(sb, KERN_ERR, "error: unable to set blocksize"); ext2_fill_super() 828 if (blocksize != BLOCK_SIZE) { ext2_fill_super() 829 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; ext2_fill_super() 830 offset = (sb_block*BLOCK_SIZE) % blocksize; ext2_fill_super() 913 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); ext2_fill_super() 916 if (blocksize != PAGE_SIZE) { ext2_fill_super() 918 "error: unsupported blocksize for dax"); ext2_fill_super() 928 /* If the blocksize doesn't match, re-read the thing.. */ ext2_fill_super() 929 if (sb->s_blocksize != blocksize) { ext2_fill_super() 932 if (!sb_set_blocksize(sb, blocksize)) { ext2_fill_super() 934 "error: bad blocksize %d", blocksize); ext2_fill_super() 938 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; ext2_fill_super() 939 offset = (sb_block*BLOCK_SIZE) % blocksize; ext2_fill_super() 965 (sbi->s_inode_size > blocksize)) { ext2_fill_super() 1004 ext2_msg(sb, KERN_ERR, "error: unsupported blocksize"); ext2_fill_super() 1010 "error: fragsize %lu != blocksize %lu" ext2_fill_super()
|
H A D | inode.c | 476 int blocksize = inode->i_sb->s_blocksize; ext2_alloc_branch() local 506 memset(bh->b_data, 0, blocksize); ext2_alloc_branch() 1098 unsigned blocksize; __ext2_truncate_blocks() local 1099 blocksize = inode->i_sb->s_blocksize; __ext2_truncate_blocks() 1100 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); __ext2_truncate_blocks()
|
/linux-4.1.27/crypto/ |
H A D | ablkcipher.c | 193 unsigned bs = walk->blocksize; ablkcipher_copy_iv() 243 bsize = min(walk->blocksize, n); ablkcipher_walk_next() 302 walk->blocksize = crypto_tfm_alg_blocksize(req->base.tfm); ablkcipher_walk_phys() 393 rblkcipher.blocksize = alg->cra_blocksize; crypto_ablkcipher_report() 422 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_ablkcipher_show() 474 rblkcipher.blocksize = alg->cra_blocksize; crypto_givcipher_report() 503 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_givcipher_show()
|
H A D | blkcipher.c | 349 unsigned int blocksize) blkcipher_walk_virt_block() 352 walk->walk_blocksize = blocksize; blkcipher_walk_virt_block() 363 unsigned int blocksize) blkcipher_aead_walk_virt_block() 366 walk->walk_blocksize = blocksize; blkcipher_aead_walk_virt_block() 519 rblkcipher.blocksize = alg->cra_blocksize; crypto_blkcipher_report() 544 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_blkcipher_show() 347 blkcipher_walk_virt_block(struct blkcipher_desc *desc, struct blkcipher_walk *walk, unsigned int blocksize) blkcipher_walk_virt_block() argument 360 blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_aead *tfm, unsigned int blocksize) blkcipher_aead_walk_virt_block() argument
|
H A D | aead.c | 123 raead.blocksize = alg->cra_blocksize; crypto_aead_report() 151 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_aead_show() 208 raead.blocksize = alg->cra_blocksize; crypto_nivaead_report() 237 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_nivaead_show()
|
H A D | proc.c | 110 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); c_show()
|
H A D | ahash.c | 495 rhash.blocksize = alg->cra_blocksize; crypto_ahash_report() 520 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_ahash_show()
|
H A D | cmac.c | 159 /* keeping the surplus of blocksize */ crypto_cmac_digest_update()
|
H A D | xcbc.c | 133 /* keeping the surplus of blocksize */ crypto_xcbc_digest_update()
|
H A D | shash.c | 537 rhash.blocksize = alg->cra_blocksize; crypto_shash_report() 562 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); crypto_shash_show()
|
H A D | crypto_user.c | 86 rcipher.blocksize = alg->cra_blocksize; crypto_report_cipher()
|
/linux-4.1.27/fs/sysv/ |
H A D | itree.c | 129 int blocksize = inode->i_sb->s_blocksize; alloc_branch() local 148 memset(bh->b_data, 0, blocksize); alloc_branch() 372 unsigned blocksize; sysv_truncate() local 378 blocksize = inode->i_sb->s_blocksize; sysv_truncate() 379 iblock = (inode->i_size + blocksize-1) sysv_truncate()
|
/linux-4.1.27/fs/ext3/ |
H A D | super.c | 1701 int blocksize; ext3_fill_super() local 1723 blocksize = sb_min_blocksize(sb, EXT3_MIN_BLOCK_SIZE); ext3_fill_super() 1724 if (!blocksize) { ext3_fill_super() 1725 ext3_msg(sb, KERN_ERR, "error: unable to set blocksize"); ext3_fill_super() 1733 if (blocksize != EXT3_MIN_BLOCK_SIZE) { ext3_fill_super() 1734 logic_sb_block = (sb_block * EXT3_MIN_BLOCK_SIZE) / blocksize; ext3_fill_super() 1735 offset = (sb_block * EXT3_MIN_BLOCK_SIZE) % blocksize; ext3_fill_super() 1824 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); ext3_fill_super() 1826 if (blocksize < EXT3_MIN_BLOCK_SIZE || ext3_fill_super() 1827 blocksize > EXT3_MAX_BLOCK_SIZE) { ext3_fill_super() 1830 "filesystem blocksize %d", blocksize); ext3_fill_super() 1835 if (sb->s_blocksize != blocksize) { ext3_fill_super() 1837 * Make sure the blocksize for the filesystem is larger ext3_fill_super() 1840 if (blocksize < hblock) { ext3_fill_super() 1843 "hardware sectorsize %d", blocksize, hblock); ext3_fill_super() 1848 if (!sb_set_blocksize(sb, blocksize)) { ext3_fill_super() 1850 "error: bad blocksize %d", blocksize); ext3_fill_super() 1853 logic_sb_block = (sb_block * EXT3_MIN_BLOCK_SIZE) / blocksize; ext3_fill_super() 1854 offset = (sb_block * EXT3_MIN_BLOCK_SIZE) % blocksize; ext3_fill_super() 1880 (sbi->s_inode_size > blocksize)) { ext3_fill_super() 1889 if (blocksize != sbi->s_frag_size) { ext3_fill_super() 1891 "error: fragsize %lu != blocksize %u (unsupported)", ext3_fill_super() 1892 sbi->s_frag_size, blocksize); ext3_fill_super() 1901 sbi->s_inodes_per_block = blocksize / EXT3_INODE_SIZE(sb); ext3_fill_super() 1906 sbi->s_desc_per_block = blocksize / sizeof(struct ext3_group_desc); ext3_fill_super() 1926 if (sbi->s_blocks_per_group > blocksize * 8) { ext3_fill_super() 1932 if (sbi->s_frags_per_group > blocksize * 8) { ext3_fill_super() 1938 if (sbi->s_inodes_per_group > blocksize * 8) { ext3_fill_super() 2234 int hblock, blocksize; ext3_get_dev_journal() local 2244 blocksize = sb->s_blocksize; ext3_get_dev_journal() 2246 if (blocksize < hblock) { ext3_get_dev_journal() 2248 "error: blocksize too small for journal device"); ext3_get_dev_journal() 2252 sb_block = EXT3_MIN_BLOCK_SIZE / blocksize; ext3_get_dev_journal() 2253 offset = EXT3_MIN_BLOCK_SIZE % blocksize; ext3_get_dev_journal() 2254 set_blocksize(bdev, blocksize); ext3_get_dev_journal() 2255 if (!(bh = __bread(bdev, sb_block, blocksize))) { ext3_get_dev_journal() 2282 start, len, blocksize); ext3_get_dev_journal()
|
H A D | namei.c | 151 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize, 156 static struct ext3_dir_entry_2 *dx_pack_dirents(char *base, unsigned blocksize); 291 unsigned blocksize = dir->i_sb->s_blocksize; dx_show_entries() local 306 dx_show_leaf(hinfo, (struct ext3_dir_entry_2 *) bh->b_data, blocksize, 0); dx_show_entries() 314 names, space/bcount,(space/bcount)*100/blocksize); dx_show_entries() 700 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize, dx_make_map() argument 707 while ((char *) de < base + blocksize) dx_make_map() 1111 static struct ext3_dir_entry_2 *dx_pack_dirents(char *base, unsigned blocksize) dx_pack_dirents() argument 1118 while ((char *)de < base + blocksize) { dx_pack_dirents() 1142 unsigned blocksize = dir->i_sb->s_blocksize; do_split() local 1173 map = (struct dx_map_entry *) (data2 + blocksize); do_split() 1175 blocksize, hinfo, map); do_split() 1183 if (size + map[i].size/2 > blocksize/2) do_split() 1197 de = dx_pack_dirents(data1,blocksize); do_split() 1198 de->rec_len = ext3_rec_len_to_disk(data1 + blocksize - (char *) de); do_split() 1199 de2->rec_len = ext3_rec_len_to_disk(data2 + blocksize - (char *) de2); do_split() 1200 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data1, blocksize, 1)); do_split() 1201 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data2, blocksize, 1)); do_split() 1344 unsigned blocksize; make_indexed_dir() local 1349 blocksize = dir->i_sb->s_blocksize; make_indexed_dir() 1363 if ((char *) de >= (((char *) root) + blocksize)) { make_indexed_dir() 1370 len = ((char *) root) + blocksize - (char *) de; make_indexed_dir() 1385 de->rec_len = ext3_rec_len_to_disk(data1 + blocksize - (char *) de); make_indexed_dir() 1388 de->rec_len = ext3_rec_len_to_disk(blocksize - EXT3_DIR_REC_LEN(2)); make_indexed_dir() 1444 unsigned blocksize; ext3_add_entry() local 1448 blocksize = sb->s_blocksize; ext3_add_entry() 1478 de->rec_len = ext3_rec_len_to_disk(blocksize); ext3_add_entry()
|
H A D | inode.c | 657 int blocksize = inode->i_sb->s_blocksize; ext3_alloc_branch() local 695 memset(bh->b_data, 0, blocksize); ext3_alloc_branch() 1159 unsigned blocksize = head->b_size; walk_page_buffers() local 1168 block_end = block_start + blocksize; walk_page_buffers() 1999 unsigned blocksize, iblock, length, pos; ext3_block_truncate_page() local 2006 blocksize = inode->i_sb->s_blocksize; ext3_block_truncate_page() 2007 if ((from & (blocksize - 1)) == 0) ext3_block_truncate_page() 2013 length = blocksize - (offset & (blocksize - 1)); ext3_block_truncate_page() 2017 create_empty_buffers(page, blocksize, 0); ext3_block_truncate_page() 2021 pos = blocksize; ext3_block_truncate_page() 2025 pos += blocksize; ext3_block_truncate_page() 2505 unsigned blocksize = inode->i_sb->s_blocksize; ext3_truncate() local 2519 last_block = (inode->i_size + blocksize-1) ext3_truncate()
|
/linux-4.1.27/fs/ |
H A D | buffer.c | 244 printk("device %s blocksize: %d\n", bdevname(bdev, b), __find_get_block_slow() 589 sector_t bblock, unsigned blocksize) write_boundary_block() 591 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); write_boundary_block() 1565 unsigned long blocksize, unsigned long b_state) create_empty_buffers() 1569 head = alloc_page_buffers(page, blocksize, 1); create_empty_buffers() 1634 static inline int block_size_bits(unsigned int blocksize) block_size_bits() argument 1636 return ilog2(blocksize); block_size_bits() 1685 unsigned int blocksize, bbits; __block_write_full_page() local 1704 blocksize = bh->b_size; __block_write_full_page() 1705 bbits = block_size_bits(blocksize); __block_write_full_page() 1728 WARN_ON(bh->b_size != blocksize); __block_write_full_page() 1891 unsigned blocksize, bbits; __block_write_begin() local 1900 blocksize = head->b_size; __block_write_begin() 1901 bbits = block_size_bits(blocksize); __block_write_begin() 1907 block_end = block_start + blocksize; __block_write_begin() 1918 WARN_ON(bh->b_size != blocksize); __block_write_begin() 1969 unsigned blocksize; __block_commit_write() local 1973 blocksize = bh->b_size; __block_commit_write() 1977 block_end = block_start + blocksize; __block_commit_write() 2117 unsigned block_start, block_end, blocksize; block_is_partially_uptodate() local 2126 blocksize = head->b_size; block_is_partially_uptodate() 2129 if (from < blocksize && to > PAGE_CACHE_SIZE - blocksize) block_is_partially_uptodate() 2135 block_end = block_start + blocksize; block_is_partially_uptodate() 2164 unsigned int blocksize, bbits; block_read_full_page() local 2169 blocksize = head->b_size; block_read_full_page() 2170 bbits = block_size_bits(blocksize); block_read_full_page() 2173 lblock = (i_size_read(inode)+blocksize-1) >> bbits; block_read_full_page() 2187 WARN_ON(bh->b_size != blocksize); block_read_full_page() 2193 zero_user(page, i * blocksize, blocksize); block_read_full_page() 2278 unsigned blocksize = 1 << inode->i_blkbits; cont_expand_zero() local 2291 if (zerofrom & (blocksize-1)) { cont_expand_zero() 2292 *bytes |= (blocksize-1); cont_expand_zero() 2325 if (zerofrom & (blocksize-1)) { cont_expand_zero() 2326 *bytes |= (blocksize-1); cont_expand_zero() 2358 unsigned blocksize = 1 << inode->i_blkbits; cont_write_begin() local 2367 if (pos+len > *bytes && zerofrom & (blocksize-1)) { cont_write_begin() 2368 *bytes |= (blocksize-1); cont_write_begin() 2507 const unsigned blocksize = 1 << blkbits; nobh_write_begin() local 2548 head = alloc_page_buffers(page, blocksize, 0); nobh_write_begin() 2563 block_in_page++, block_start += blocksize, bh = bh->b_this_page) { nobh_write_begin() 2566 block_end = block_start + blocksize; nobh_write_begin() 2733 unsigned blocksize; nobh_truncate_page() local 2741 blocksize = 1 << inode->i_blkbits; nobh_truncate_page() 2742 length = offset & (blocksize - 1); nobh_truncate_page() 2748 length = blocksize - length; nobh_truncate_page() 2764 pos = blocksize; nobh_truncate_page() 2767 pos += blocksize; nobh_truncate_page() 2770 map_bh.b_size = blocksize; nobh_truncate_page() 2811 unsigned blocksize; block_truncate_page() local 2819 blocksize = 1 << inode->i_blkbits; block_truncate_page() 2820 length = offset & (blocksize - 1); block_truncate_page() 2826 length = blocksize - length; block_truncate_page() 2835 create_empty_buffers(page, blocksize, 0); block_truncate_page() 2839 pos = blocksize; block_truncate_page() 2843 pos += blocksize; block_truncate_page() 2848 WARN_ON(bh->b_size != blocksize); block_truncate_page() 588 write_boundary_block(struct block_device *bdev, sector_t bblock, unsigned blocksize) write_boundary_block() argument 1564 create_empty_buffers(struct page *page, unsigned long blocksize, unsigned long b_state) create_empty_buffers() argument
|
H A D | mpage.c | 147 const unsigned blocksize = 1 << blkbits; do_mpage_readpage() local 165 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; do_mpage_readpage() 333 * the end-of-file on blocksize < PAGE_CACHE_SIZE setups.
|
H A D | direct-io.c | 52 * down by dio->blkfactor. Similarly, fs-blocksize quantities are converted 56 * blocksize. 66 blocksize, this specifies how much 69 unsigned start_zero_done; /* flag: sub-blocksize zeroing has 568 * fs blocksize, (1 << inode->i_blkbits).
|
H A D | ioctl.c | 278 * blocksize, so make sure our len is at least block length. __generic_block_fiemap()
|
/linux-4.1.27/arch/ia64/lib/ |
H A D | memcpy_mck.S | 270 #define blocksize r23 define 287 mov blocksize=BLOCK_SIZE 289 cmp.lt p6,p7=blocksize,in2 292 (p6) mov in2=blocksize 365 /* check if we have more than blocksize to copy, if so go back */ 366 cmp.gt p8,p0=saved_in2,blocksize 368 (p8) add dst0=saved_in0,blocksize 369 (p8) add src0=saved_in1,blocksize 370 (p8) sub in2=saved_in2,blocksize
|
/linux-4.1.27/fs/reiserfs/ |
H A D | ioctl.c | 178 unsigned long blocksize = inode->i_sb->s_blocksize; reiserfs_unpack() local 194 write_from = inode->i_size & (blocksize - 1); reiserfs_unpack()
|
H A D | file.c | 181 unsigned blocksize; reiserfs_commit_page() local 192 blocksize = 1 << inode->i_blkbits; reiserfs_commit_page() 207 block_end = block_start + blocksize; reiserfs_commit_page()
|
H A D | stree.c | 389 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh) is_leaf() argument 406 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) { is_leaf() 413 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); is_leaf() 416 if (used_space != blocksize - blkh_free_space(blkh)) { is_leaf() 428 prev_location = blocksize; is_leaf() 436 if (ih_location(ih) >= blocksize is_leaf() 444 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { is_leaf() 464 static int is_internal(char *buf, int blocksize, struct buffer_head *bh) is_internal() argument 481 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { is_internal() 488 if (used_space != blocksize - blkh_free_space(blkh)) { is_internal()
|
H A D | procfs.c | 236 "blocksize: \t%i\n" show_on_disk_super()
|
H A D | inode.c | 1176 loff_t blocksize = inode->i_sb->s_blocksize; real_space_diff() local 1192 (blocksize - 1)) >> inode->i_sb->s_blocksize_bits) * UNFM_P_SIZE + real_space_diff() 2194 unsigned long blocksize = inode->i_sb->s_blocksize; grab_tail_page() local 2204 * If i_size % blocksize == 0, our file is currently block aligned grab_tail_page() 2207 if ((offset & (blocksize - 1)) == 0) { grab_tail_page() 2216 start = (offset / blocksize) * blocksize; grab_tail_page() 2230 pos += blocksize; grab_tail_page() 2268 unsigned blocksize = inode->i_sb->s_blocksize; reiserfs_truncate_file() local 2337 length = offset & (blocksize - 1); reiserfs_truncate_file() 2340 length = blocksize - length; reiserfs_truncate_file()
|
H A D | fix_node.c | 2249 unsigned long blocksize = sb->s_blocksize; get_virtual_node_size() local 2253 max_num_of_items = (blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN); get_virtual_node_size() 2254 max_num_of_entries = (blocksize - BLKH_SIZE - IH_SIZE) / get_virtual_node_size() 2345 "blocksize %s[%d] (%b)", tb_buffer_sanity_check()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_types.h | 75 * Minimum and maximum blocksize and sectorsize. 76 * The blocksize upper limit is pretty much arbitrary.
|
H A D | xfs_trans_resv.c | 208 * the inode btree: max depth * blocksize 272 * the directory bmap btree could join or split: (max depth + v2) * blocksize 310 * the directory bmap btree could join or split: (max depth + v2) * blocksize 362 * the inode blocks allocated: mp->m_ialloc_blks * blocksize 363 * the inode btree: max depth * blocksize 391 * the inode btree: max depth * blocksize 470 * the inode btree: max depth * blocksize 526 * bmap btree for bitmap/summary inode: max depth * blocksize 528 * allocation btrees for 1 block alloc: 2 * (2 * maxdepth - 1) * blocksize 545 * one bitmap/summary block: blocksize 561 * one bitmap block: blocksize
|
H A D | xfs_fs.h | 160 __u32 blocksize; /* filesystem (data) block size */ member in struct:xfs_fsop_geom_v1 186 __u32 blocksize; /* filesystem (data) block size */ member in struct:xfs_fsop_geom
|
H A D | xfs_btree.h | 209 __uint8_t bc_blocklog; /* log2(blocksize) of btree blocks */
|
/linux-4.1.27/fs/minix/ |
H A D | minix.h | 90 static inline unsigned minix_blocks_needed(unsigned bits, unsigned blocksize) minix_blocks_needed() argument 92 return DIV_ROUND_UP(bits, blocksize * 8); minix_blocks_needed()
|
H A D | bitmap.c | 26 static __u32 count_free(struct buffer_head *map[], unsigned blocksize, __u32 numbits) count_free() argument 29 unsigned blocks = DIV_ROUND_UP(numbits, blocksize * 8); count_free() 32 unsigned words = blocksize / 2; count_free()
|
H A D | inode.c | 345 printk("MINIX-fs: blocksize too small for device\n"); minix_fill_super()
|
/linux-4.1.27/arch/m68k/emu/ |
H A D | nfblock.c | 42 u32 *blocksize) nfhd_get_capacity() 45 virt_to_phys(blocks), virt_to_phys(blocksize)); nfhd_get_capacity() 41 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, u32 *blocksize) nfhd_get_capacity() argument
|
/linux-4.1.27/fs/isofs/ |
H A D | inode.c | 162 unsigned int blocksize; member in struct:iso9660_options 352 popt->blocksize = 1024; parse_options() 465 popt->blocksize = n; parse_options() 599 * First of all, get the hardware blocksize for this device. isofs_fill_super() 600 * If we don't know what it is, or the hardware blocksize is isofs_fill_super() 601 * larger than the blocksize the user specified, then use isofs_fill_super() 607 opt.blocksize = sb_min_blocksize(s, opt.blocksize); isofs_fill_super() 725 if (orig_zonesize < opt.blocksize) isofs_fill_super() 764 * we may need to change the device blocksize, and would isofs_fill_super() 778 * to change the device blocksize, so release the buffer now. isofs_fill_super() 784 * Force the blocksize to 512 for 512 byte sectors. The file isofs_fill_super() 788 * Note - we should never be setting the blocksize to something isofs_fill_super() 797 * entries. By forcing the blocksize in this way, we ensure isofs_fill_super() 950 printk(KERN_WARNING "ISOFS: Logical zone size(%d) < hardware blocksize(%u)\n", isofs_fill_super() 951 orig_zonesize, opt.blocksize); isofs_fill_super()
|
H A D | rock.c | 87 int blocksize = 1 << rs->inode->i_blkbits; rock_continue() local 93 if ((unsigned)rs->cont_offset > blocksize - min_de_size || rock_continue() 94 (unsigned)rs->cont_size > blocksize || rock_continue() 95 (unsigned)(rs->cont_offset + rs->cont_size) > blocksize) { rock_continue()
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | gss_krb5.h | 53 /* Maximum blocksize for the supported crypto algorithms */ 66 const u32 blocksize; /* encryption blocksize */ member in struct:gss_krb5_enctype 69 the blocksize) */
|
/linux-4.1.27/sound/pci/lx6464es/ |
H A D | lx6464es.h | 96 u16 pcm_granularity; /* board blocksize */
|
H A D | lx6464es.c | 727 /* blocksize is a power of 2 */ lx_set_granularity() 743 dev_err(chip->card->dev, "snapped blocksize to %d\n", snapped_gran); lx_set_granularity() 745 dev_dbg(chip->card->dev, "set blocksize on board %d\n", snapped_gran); lx_set_granularity()
|
/linux-4.1.27/fs/fat/ |
H A D | cache.c | 309 const unsigned long blocksize = sb->s_blocksize; fat_bmap() local 324 last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; fat_bmap() 333 last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) fat_bmap()
|
H A D | inode.c | 977 {Opt_obsolete, "blocksize=%u"}, 1558 fat_msg(sb, KERN_ERR, "unable to set blocksize %u", fat_fill_super()
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
H A D | cryp_core.c | 69 * @blocksize: Size of blocks. 83 u32 blocksize; member in struct:cryp_ctx 217 if (ctx->outlen / ctx->blocksize > 0) { cryp_interrupt_handler() 218 count = ctx->blocksize / 4; cryp_interrupt_handler() 231 if (ctx->datalen / ctx->blocksize > 0) { cryp_interrupt_handler() 232 count = ctx->blocksize / 4; cryp_interrupt_handler() 284 int num_of_regs = ctx->blocksize / 8; cfg_ivs() 291 * someone provides an incorrect blocksize which would force calling cfg_ivs() 295 dev_err(device_data->dev, "[%s] Incorrect blocksize %d", cfg_ivs() 296 __func__, ctx->blocksize); cfg_ivs() 300 for (i = 0; i < ctx->blocksize / 4; i++) cfg_ivs() 649 int len = ctx->blocksize / BYTES_PER_WORD; cryp_polling_mode() 786 * handling cipher/plaintext > blocksize, except when hw_crypt_noxts() 915 ctx->datalen = nbytes - (nbytes % ctx->blocksize); ablk_crypt() 1102 ctx->blocksize = crypto_tfm_alg_blocksize(tfm); cryp_cra_init()
|
/linux-4.1.27/fs/udf/ |
H A D | inode.c | 732 if the extent is not a multiple of the blocksize, round up */ inode_getblk() 896 unsigned long blocksize = inode->i_sb->s_blocksize; udf_split_extents() local 904 blocksize - 1) >> blocksize_bits; udf_split_extents() 941 blocksize; udf_split_extents() 1057 unsigned long blocksize = inode->i_sb->s_blocksize; udf_merge_extents() local 1070 blocksize - 1) >> blocksize_bits)))) { udf_merge_extents() 1074 blocksize - 1) & ~UDF_EXTENT_LENGTH_MASK) { udf_merge_extents() 1079 ~(blocksize - 1); udf_merge_extents() 1083 blocksize; udf_merge_extents() 1093 blocksize - 1) & ~(blocksize - 1)); udf_merge_extents() 1108 blocksize - 1) >> blocksize_bits); udf_merge_extents() 1114 blocksize - 1) & ~UDF_EXTENT_LENGTH_MASK) { udf_merge_extents() 1119 ~(blocksize - 1); udf_merge_extents() 1123 blocksize; udf_merge_extents() 1128 blocksize - 1) & ~(blocksize - 1)); udf_merge_extents() 1142 blocksize - 1) >> blocksize_bits); udf_merge_extents()
|
H A D | super.c | 214 unsigned int blocksize; member in struct:udf_options 522 uopt->blocksize = n; udf_parse_options() 1921 if (!sb_set_blocksize(sb, uopt->blocksize)) { udf_load_vrs() 2132 uopt.blocksize = bdev_logical_block_size(sb->s_bdev); udf_fill_super() 2134 if (ret == -EAGAIN && uopt.blocksize != UDF_DEFAULT_BLOCKSIZE) { udf_fill_super() 2136 pr_notice("Rescanning with blocksize %d\n", udf_fill_super() 2140 uopt.blocksize = UDF_DEFAULT_BLOCKSIZE; udf_fill_super()
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamalg.c | 3378 unsigned int blocksize; member in struct:caam_alg_template 3398 .blocksize = NULL_BLOCK_SIZE, 3417 .blocksize = NULL_BLOCK_SIZE, 3436 .blocksize = NULL_BLOCK_SIZE, 3456 .blocksize = NULL_BLOCK_SIZE, 3476 .blocksize = NULL_BLOCK_SIZE, 3496 .blocksize = NULL_BLOCK_SIZE, 3516 .blocksize = AES_BLOCK_SIZE, 3535 .blocksize = AES_BLOCK_SIZE, 3554 .blocksize = AES_BLOCK_SIZE, 3574 .blocksize = AES_BLOCK_SIZE, 3594 .blocksize = AES_BLOCK_SIZE, 3615 .blocksize = AES_BLOCK_SIZE, 3635 .blocksize = DES3_EDE_BLOCK_SIZE, 3654 .blocksize = DES3_EDE_BLOCK_SIZE, 3673 .blocksize = DES3_EDE_BLOCK_SIZE, 3693 .blocksize = DES3_EDE_BLOCK_SIZE, 3713 .blocksize = DES3_EDE_BLOCK_SIZE, 3733 .blocksize = DES3_EDE_BLOCK_SIZE, 3753 .blocksize = DES_BLOCK_SIZE, 3772 .blocksize = DES_BLOCK_SIZE, 3791 .blocksize = DES_BLOCK_SIZE, 3811 .blocksize = DES_BLOCK_SIZE, 3831 .blocksize = DES_BLOCK_SIZE, 3851 .blocksize = DES_BLOCK_SIZE, 3871 .blocksize = 1, 3890 .blocksize = 1, 3909 .blocksize = 1, 3929 .blocksize = 1, 3949 .blocksize = 1, 3969 .blocksize = 1, 3989 .blocksize = 1, 4006 .blocksize = 1, 4024 .blocksize = 1, 4042 .blocksize = AES_BLOCK_SIZE, 4059 .blocksize = DES3_EDE_BLOCK_SIZE, 4076 .blocksize = DES_BLOCK_SIZE, 4093 .blocksize = 1, 4109 .blocksize = 1, 4218 alg->cra_blocksize = template->blocksize; caam_alg_alloc()
|
H A D | caamhash.c | 519 int blocksize = crypto_tfm_alg_blocksize(&ahash->base); ahash_setkey() local 528 if (keylen > blocksize) { ahash_setkey() 1604 unsigned int blocksize; member in struct:caam_hash_template 1617 .blocksize = SHA1_BLOCK_SIZE, 1638 .blocksize = SHA224_BLOCK_SIZE, 1659 .blocksize = SHA256_BLOCK_SIZE, 1680 .blocksize = SHA384_BLOCK_SIZE, 1701 .blocksize = SHA512_BLOCK_SIZE, 1722 .blocksize = MD5_BLOCK_WORDS * 4, 1871 alg->cra_blocksize = template->blocksize; caam_hash_alloc()
|
/linux-4.1.27/drivers/atm/ |
H A D | solos-pci.c | 634 int blocksize = 0; flash_upgrade() local 642 blocksize = ATMEL_FPGA_BLOCK; flash_upgrade() 644 blocksize = SPI_FLASH_BLOCK; flash_upgrade() 649 blocksize = ATMEL_SOLOS_BLOCK; flash_upgrade() 651 blocksize = SPI_FLASH_BLOCK; flash_upgrade() 657 blocksize = ATMEL_FPGA_BLOCK; flash_upgrade() 659 blocksize = SPI_FLASH_BLOCK; flash_upgrade() 670 blocksize = ATMEL_SOLOS_BLOCK; flash_upgrade() 672 blocksize = SPI_FLASH_BLOCK; flash_upgrade() 691 numblocks = fw->size / blocksize; flash_upgrade() 710 for (offset = 0; offset < fw->size; offset += blocksize) { flash_upgrade() 721 for(i = 0; i < blocksize; i += 4) { flash_upgrade() 734 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); flash_upgrade()
|
/linux-4.1.27/include/crypto/ |
H A D | algapi.h | 125 unsigned int blocksize; member in struct:ablkcipher_walk 197 unsigned int blocksize); 201 unsigned int blocksize);
|
/linux-4.1.27/fs/ntfs/ |
H A D | aops.c | 197 unsigned int blocksize, vcn_ofs; ntfs_read_block() local 208 blocksize = vol->sb->s_blocksize; ntfs_read_block() 212 create_empty_buffers(page, blocksize, 0); ntfs_read_block() 234 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; ntfs_read_block() 242 zblock = (init_size + blocksize - 1) >> blocksize_bits; ntfs_read_block() 341 zero_user(page, i * blocksize, blocksize); ntfs_read_block() 563 unsigned int blocksize, vcn_ofs; ntfs_write_block() local 577 blocksize = vol->sb->s_blocksize; ntfs_write_block() 581 create_empty_buffers(page, blocksize, ntfs_write_block() 610 dblock = (i_size + blocksize - 1) >> blocksize_bits; ntfs_write_block() 750 bend = (unsigned long *)((u8*)bpos + blocksize); ntfs_write_block() 795 zero_user(page, bh_offset(bh), blocksize); ntfs_write_block() 1568 unsigned long blocksize, flags; ntfs_bmap() local 1587 blocksize = vol->sb->s_blocksize; ntfs_bmap() 1599 if (unlikely(ofs >= size || (ofs + blocksize > size && size < i_size))) ntfs_bmap()
|
H A D | file.c | 601 unsigned blocksize, u; ntfs_prepare_pages_for_non_resident_write() local 622 blocksize = vol->sb->s_blocksize; ntfs_prepare_pages_for_non_resident_write() 633 create_empty_buffers(page, blocksize, 0); ntfs_prepare_pages_for_non_resident_write() 665 bh_end = bh_pos + blocksize; ntfs_prepare_pages_for_non_resident_write() 703 blocksize); ntfs_prepare_pages_for_non_resident_write() 779 blocksize); ntfs_prepare_pages_for_non_resident_write() 798 blocksize); ntfs_prepare_pages_for_non_resident_write() 837 zero_user(page, bh_offset(bh), blocksize); ntfs_prepare_pages_for_non_resident_write() 962 blocksize); ntfs_prepare_pages_for_non_resident_write() 1188 } while (bh_pos += blocksize, (bh = bh->b_this_page) != head); ntfs_prepare_pages_for_non_resident_write() 1216 if (unlikely(bh_pos + blocksize > initialized_size)) { ntfs_prepare_pages_for_non_resident_write() 1222 blocksize); ntfs_prepare_pages_for_non_resident_write() 1363 blocksize); ntfs_prepare_pages_for_non_resident_write() 1410 unsigned blocksize, u; ntfs_commit_pages_after_non_resident_write() local 1415 blocksize = vi->i_sb->s_blocksize; ntfs_commit_pages_after_non_resident_write() 1430 bh_end = bh_pos + blocksize; ntfs_commit_pages_after_non_resident_write() 1438 } while (bh_pos += blocksize, (bh = bh->b_this_page) != head); ntfs_commit_pages_after_non_resident_write()
|
H A D | super.c | 2726 int blocksize, result; ntfs_fill_super() local 2790 blocksize = sb_min_blocksize(sb, NTFS_BLOCK_SIZE); ntfs_fill_super() 2791 if (blocksize < NTFS_BLOCK_SIZE) { ntfs_fill_super() 2796 BUG_ON(blocksize != sb->s_blocksize); ntfs_fill_super() 2798 blocksize, sb->s_blocksize_bits); ntfs_fill_super() 2834 if (vol->sector_size > blocksize) { ntfs_fill_super() 2835 blocksize = sb_set_blocksize(sb, vol->sector_size); ntfs_fill_super() 2836 if (blocksize != vol->sector_size) { ntfs_fill_super() 2843 BUG_ON(blocksize != sb->s_blocksize); ntfs_fill_super() 2848 blocksize, sb->s_blocksize_bits); ntfs_fill_super()
|
H A D | mft.c | 469 unsigned int blocksize = vol->sb->s_blocksize; ntfs_sync_mft_mirror() local 470 int max_bhs = vol->mft_record_size / blocksize; ntfs_sync_mft_mirror() 509 bh = head = alloc_page_buffers(page, blocksize, 1); ntfs_sync_mft_mirror() 526 block_end = block_start + blocksize; ntfs_sync_mft_mirror() 673 unsigned int blocksize = vol->sb->s_blocksize; write_mft_record_nolock() local 675 int max_bhs = vol->mft_record_size / blocksize; write_mft_record_nolock() 702 block_end = block_start + blocksize; write_mft_record_nolock()
|
/linux-4.1.27/fs/freevxfs/ |
H A D | vxfs_olt.c | 67 * @bsize: blocksize of the filesystem
|
H A D | vxfs_super.c | 167 printk(KERN_WARNING "vxfs: unable to set blocksize\n"); vxfs_fill_super() 195 printk(KERN_DEBUG "vxfs: blocksize: %d\n", rsbp->vs_bsize); vxfs_fill_super()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | sh_mmcif.c | 244 size_t blocksize; member in struct:sh_mmcif_host 566 host->sg_blkidx += host->blocksize; sh_mmcif_next_block() 568 /* data->sg->length must be a multiple of host->blocksize? */ sh_mmcif_next_block() 585 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & sh_mmcif_single_read() 606 for (i = 0; i < host->blocksize / 4; i++) sh_mmcif_read_block() 624 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & sh_mmcif_multi_read() 649 for (i = 0; i < host->blocksize / 4; i++) sh_mmcif_mread_block() 663 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & sh_mmcif_single_write() 684 for (i = 0; i < host->blocksize / 4; i++) sh_mmcif_write_block() 702 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & sh_mmcif_multi_write() 727 for (i = 0; i < host->blocksize / 4; i++) sh_mmcif_mwrite_block()
|
H A D | cb710-mmc.c | 212 size_t count, size_t blocksize) cb710_mmc_set_transfer_size() 216 ((count - 1) << 16)|(blocksize - 1)); cb710_mmc_set_transfer_size() 219 count, count == 1 ? "" : "s", blocksize); cb710_mmc_set_transfer_size() 211 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) cb710_mmc_set_transfer_size() argument
|
H A D | toshsd.c | 481 dev_dbg(&host->pdev->dev, "setup data transfer: blocksize %08x nr_blocks %d, offset: %08x\n", toshsd_start_data() 493 /* Set transfer length and blocksize */ toshsd_start_data()
|
H A D | tmio_mmc_pio.c | 759 pr_debug("setup data transfer: blocksize %08x nr_blocks %d\n", tmio_mmc_start_data() 776 /* Set transfer length / blocksize */ tmio_mmc_start_data()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-floppy_ioctl.c | 27 * int blocksize; 160 * int blocksize; ide_floppy_format_unit()
|
/linux-4.1.27/fs/romfs/ |
H A D | storage.c | 114 /* copy the string up to blocksize bytes at a time */ romfs_blk_read() 143 /* scan the string up to blocksize bytes at a time */ romfs_blk_strnlen()
|
/linux-4.1.27/fs/f2fs/ |
H A D | super.c | 556 buf->f_bsize = sbi->blocksize; f2fs_statfs() 825 unsigned int blocksize; sanity_check_raw_super() local 843 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); sanity_check_raw_super() 844 if (blocksize != F2FS_BLKSIZE) { sanity_check_raw_super() 846 "Invalid blocksize (%u), supports only 4KB\n", sanity_check_raw_super() 847 blocksize); sanity_check_raw_super() 903 sbi->blocksize = 1 << sbi->log_blocksize; init_sb_info() 988 f2fs_msg(sb, KERN_ERR, "unable to set blocksize"); f2fs_fill_super()
|
H A D | checkpoint.c | 561 unsigned long blk_size = sbi->blocksize; validate_checkpoint() 614 unsigned long blk_size = sbi->blocksize; get_valid_checkpoint()
|
H A D | file.c | 493 unsigned int blocksize = inode->i_sb->s_blocksize; truncate_blocks() local 502 free_from = (pgoff_t)F2FS_BYTES_TO_BLK(from + blocksize - 1); truncate_blocks()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 98 unsigned blocksize; member in struct:gpu_formats 207 return color_formats_table[format].blocksize; r600_fmt_get_blocksize() 244 u32 blocksize; member in struct:array_mode_checker 258 u32 tile_bytes = tile_width * tile_height * values->blocksize * values->nsamples; r600_get_array_mode_alignment() 270 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); r600_get_array_mode_alignment() 278 (tile_height * values->blocksize * values->nsamples))); r600_get_array_mode_alignment() 286 (values->blocksize * values->nsamples * tile_width))); r600_get_array_mode_alignment() 290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); r600_get_array_mode_alignment() 385 array_check.blocksize = r600_fmt_get_blocksize(format); r600_cs_track_validate_cb() 581 array_check.blocksize = bpe; r600_cs_track_validate_db() 1416 unsigned blocksize; r600_texture_size() local 1421 blocksize = r600_fmt_get_blocksize(format); r600_texture_size() 1438 size = nbx * nby * blocksize * nsamples; r600_texture_size() 1520 array_check.blocksize = r600_fmt_get_blocksize(format); r600_check_texture_resource()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
H A D | eeprom.c | 952 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; p54_read_eeprom() local 967 blocksize = min(eeprom_size, maxblocksize); p54_read_eeprom() 969 offset, blocksize); p54_read_eeprom() 973 offset += blocksize; p54_read_eeprom() 974 eeprom_size -= blocksize; p54_read_eeprom()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
H A D | fw.c | 60 u32 blocksize = sizeof(u32); _rtl88e_fw_block_write() local 65 blockcount = size / blocksize; _rtl88e_fw_block_write() 66 remainsize = size % blocksize; _rtl88e_fw_block_write() 69 offset = i * blocksize; _rtl88e_fw_block_write() 75 offset = blockcount * blocksize; _rtl88e_fw_block_write()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192c/ |
H A D | fw_common.c | 75 u32 blocksize = sizeof(u32); _rtl92c_fw_block_write() local 80 blockcount = size / blocksize; _rtl92c_fw_block_write() 81 remainsize = size % blocksize; _rtl92c_fw_block_write() 84 offset = i * blocksize; _rtl92c_fw_block_write() 90 offset = blockcount * blocksize; _rtl92c_fw_block_write()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | fw.c | 70 u32 blocksize = sizeof(u32); _rtl92d_fw_block_write() local 75 blockCount = size / blocksize; _rtl92d_fw_block_write() 76 remainSize = size % blocksize; _rtl92d_fw_block_write() 78 offset = i * blocksize; _rtl92d_fw_block_write() 83 offset = blockCount * blocksize; _rtl92d_fw_block_write()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_diag.c | 92 /* Initialize block I/O to DIAG device using the specified blocksize and 97 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, mdsk_init_io() argument 109 iib->block_size = blocksize; mdsk_init_io() 389 /* figure out blocksize of device */ dasd_diag_check_device() 435 /* get formatted blocksize from label block */ dasd_diag_check_device()
|
H A D | dasd_proc.c | 93 "at blocksize: %d, %lld blocks, %lld MB", dasd_devices_show()
|
H A D | dasd_ioctl.c | 41 * used by dasdfmt after BIODASDDISABLE to retrigger blocksize detection
|
H A D | dasd_fba.c | 201 DBF_DEV_EVENT(DBF_WARNING, block->base, "unknown blocksize %d", dasd_fba_do_analysis()
|
/linux-4.1.27/fs/omfs/ |
H A D | inode.c | 305 * in units of the blocksize. 497 * page while the fs blocksize can be larger. omfs_fill_super() 503 * a power of two factor of blocksize. omfs_fill_super()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-exception-store.c | 175 *error = "Chunk size is not a multiple of device blocksize"; dm_exception_store_set_chunk_size()
|
H A D | dm-verity.c | 68 unsigned char data_dev_block_bits; /* log2(data blocksize) */ 69 unsigned char hash_dev_block_bits; /* log2(hash blocksize) */
|
H A D | dm-crypt.c | 428 ti->error = "cypher blocksize is not a power of 2"; crypt_iv_benbi_ctr() 433 ti->error = "cypher blocksize is > 512"; crypt_iv_benbi_ctr()
|
/linux-4.1.27/drivers/scsi/ |
H A D | osst_options.h | 30 /* Don't change, as this is the HW blocksize */
|
H A D | st.h | 68 int default_blksize; /* Forced blocksize, -1 = no value */
|
H A D | sr_ioctl.c | 539 /* ... if this fails, we switch the blocksize using MODE SELECT */ sr_read_sector()
|
H A D | sr.c | 423 * we do lazy blocksize switching (when reading XA sectors, sr_init_command() 432 "can't switch blocksize: in interrupt\n"); sr_init_command()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/ |
H A D | libiam.h | 76 int blocksize, int keysize, int recsize, int ptrsize);
|
/linux-4.1.27/fs/btrfs/ |
H A D | struct-funcs.c | 49 * have a metadata blocksize different from the page size.
|
H A D | relocation.c | 1774 u32 blocksize; replace_path() local 1823 blocksize = dest->nodesize; replace_path() 1899 ret = btrfs_inc_extent_ref(trans, src, old_bytenr, blocksize, replace_path() 1904 ret = btrfs_inc_extent_ref(trans, dest, new_bytenr, blocksize, replace_path() 1909 ret = btrfs_free_extent(trans, src, new_bytenr, blocksize, replace_path() 1915 ret = btrfs_free_extent(trans, dest, old_bytenr, blocksize, replace_path() 2646 u32 blocksize; do_relocation() local 2710 blocksize = root->nodesize; do_relocation() 2739 node->eb->start, blocksize, do_relocation() 2808 u64 bytenr, u32 blocksize) mark_block_processed() 2810 set_extent_bits(&rc->processed_blocks, bytenr, bytenr + blocksize - 1, mark_block_processed() 2817 u32 blocksize; __mark_block_processed() local 2820 blocksize = rc->extent_root->nodesize; __mark_block_processed() 2821 mark_block_processed(rc, node->bytenr, blocksize); __mark_block_processed() 2860 u32 blocksize = rc->extent_root->nodesize; tree_block_processed() local 2863 bytenr + blocksize - 1, EXTENT_DIRTY, 1, NULL)) tree_block_processed() 3347 u64 bytenr, u32 blocksize, __add_tree_block() 3372 key.offset = blocksize; __add_tree_block() 3389 key.offset == blocksize))) __add_tree_block() 3661 u32 blocksize = rc->extent_root->nodesize; local 3680 ret = __add_tree_block(rc, key.offset, blocksize, 3722 ret = __add_tree_block(rc, key.offset, blocksize, 2807 mark_block_processed(struct reloc_control *rc, u64 bytenr, u32 blocksize) mark_block_processed() argument 3346 __add_tree_block(struct reloc_control *rc, u64 bytenr, u32 blocksize, struct rb_root *blocks) __add_tree_block() argument
|
H A D | reada.c | 329 u32 blocksize; reada_find_extent() local 349 blocksize = root->nodesize; reada_find_extent() 359 length = blocksize; reada_find_extent() 362 if (ret || !bbio || length < blocksize) reada_find_extent()
|
H A D | ctree.c | 1573 static int close_blocks(u64 blocknr, u64 other, u32 blocksize) close_blocks() argument 1575 if (blocknr < other && other - (blocknr + blocksize) < 32768) close_blocks() 1577 if (blocknr > other && blocknr - (other + blocksize) < 32768) close_blocks() 1636 u32 blocksize; btrfs_realloc_node() local 1646 blocksize = root->nodesize; btrfs_realloc_node() 1669 close = close_blocks(blocknr, other, blocksize); btrfs_realloc_node() 1673 close = close_blocks(blocknr, other, blocksize); btrfs_realloc_node() 1707 min(16 * blocksize, btrfs_realloc_node() 1708 (end_slot - i) * blocksize)); btrfs_realloc_node() 2248 u32 blocksize; reada_for_search() local 2260 blocksize = root->nodesize; reada_for_search() 2292 nread += blocksize; reada_for_search()
|
H A D | scrub.c | 2424 u32 blocksize; scrub_extent() local 2427 blocksize = sctx->sectorsize; scrub_extent() 2433 blocksize = sctx->nodesize; scrub_extent() 2439 blocksize = sctx->sectorsize; scrub_extent() 2444 u64 l = min_t(u64, len, blocksize); scrub_extent() 2565 u32 blocksize; scrub_extent_for_parity() local 2568 blocksize = sctx->sectorsize; scrub_extent_for_parity() 2570 blocksize = sctx->nodesize; scrub_extent_for_parity() 2572 blocksize = sctx->sectorsize; scrub_extent_for_parity() 2577 u64 l = min_t(u64, len, blocksize); scrub_extent_for_parity()
|
H A D | extent-tree.c | 7514 struct btrfs_root *root, u32 blocksize) use_block_rsv() 7526 ret = block_rsv_use_bytes(block_rsv, blocksize); use_block_rsv() 7548 ret = reserve_metadata_bytes(root, block_rsv, blocksize, use_block_rsv() 7559 ret = block_rsv_use_bytes(global_rsv, blocksize); use_block_rsv() 7567 struct btrfs_block_rsv *block_rsv, u32 blocksize) unuse_block_rsv() 7569 block_rsv_add_bytes(block_rsv, blocksize, 0); unuse_block_rsv() 7592 u32 blocksize = root->nodesize; btrfs_alloc_tree_block() local 7600 root->alloc_bytenr += blocksize; btrfs_alloc_tree_block() 7604 block_rsv = use_block_rsv(trans, root, blocksize); btrfs_alloc_tree_block() 7608 ret = btrfs_reserve_extent(root, blocksize, blocksize, btrfs_alloc_tree_block() 7662 unuse_block_rsv(root->fs_info, block_rsv, blocksize); btrfs_alloc_tree_block() 7693 u32 blocksize; reada_walk_down() local 7711 blocksize = root->nodesize; reada_walk_down() 8073 u32 blocksize; do_walk_down() local 8095 blocksize = root->nodesize; do_walk_down() 8199 ret = btrfs_free_extent(trans, root, bytenr, blocksize, parent, do_walk_down() 7513 use_block_rsv(struct btrfs_trans_handle *trans, struct btrfs_root *root, u32 blocksize) use_block_rsv() argument 7566 unuse_block_rsv(struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *block_rsv, u32 blocksize) unuse_block_rsv() argument
|
H A D | inode.c | 401 u64 blocksize = root->sectorsize; compress_file_range() local 444 * skip compression for a small file range(<=blocksize) that compress_file_range() 447 if (total_compressed <= blocksize && compress_file_range() 462 num_bytes = ALIGN(end - start + 1, blocksize); compress_file_range() 463 num_bytes = max(blocksize, num_bytes); compress_file_range() 564 total_compressed = ALIGN(total_compressed, blocksize); compress_file_range() 923 u64 blocksize = root->sectorsize; cow_file_range() local 935 num_bytes = ALIGN(end - start + 1, blocksize); cow_file_range() 936 num_bytes = max(blocksize, num_bytes); cow_file_range() 4403 /* FIXME blocksize != 4096 */ btrfs_truncate_inode_items() 4584 u32 blocksize = root->sectorsize; btrfs_truncate_page() local 4593 if ((offset & (blocksize - 1)) == 0 && btrfs_truncate_page() 4594 (!len || ((len & (blocksize - 1)) == 0))) btrfs_truncate_page() 9093 u32 blocksize = inode->i_sb->s_blocksize; btrfs_getattr() local 9102 stat->blocks = (ALIGN(inode_get_bytes(inode), blocksize) + btrfs_getattr() 9103 ALIGN(delalloc_bytes, blocksize)) >> 9; btrfs_getattr()
|
H A D | extent_io.c | 2932 size_t blocksize = inode->i_sb->s_blocksize; __do_readpage() local 2940 BUG_ON(blocksize != PAGE_SIZE); __do_readpage() 2999 iosize = ALIGN(iosize, blocksize); __do_readpage() 3384 size_t blocksize; __extent_writepage_io() local 3420 blocksize = inode->i_sb->s_blocksize; __extent_writepage_io() 3443 iosize = ALIGN(iosize, blocksize); __extent_writepage_io() 4251 size_t blocksize = page->mapping->host->i_sb->s_blocksize; extent_invalidatepage() local 4253 start += ALIGN(offset, blocksize); extent_invalidatepage()
|
H A D | file.c | 2561 int blocksize = BTRFS_I(inode)->root->sectorsize; btrfs_fallocate() local 2564 alloc_start = round_down(offset, blocksize); btrfs_fallocate() 2565 alloc_end = round_up(offset + len, blocksize); btrfs_fallocate() 2660 last_byte = ALIGN(last_byte, blocksize); btrfs_fallocate()
|
/linux-4.1.27/fs/gfs2/ |
H A D | bmap.c | 190 * filesystem with a blocksize of 4096. 937 unsigned blocksize, iblock, length, pos; gfs2_block_truncate_page() local 946 blocksize = inode->i_sb->s_blocksize; gfs2_block_truncate_page() 947 length = blocksize - (offset & (blocksize - 1)); gfs2_block_truncate_page() 951 create_empty_buffers(page, blocksize, 0); gfs2_block_truncate_page() 955 pos = blocksize; gfs2_block_truncate_page() 959 pos += blocksize; gfs2_block_truncate_page()
|
H A D | quota.c | 678 unsigned blocksize, iblock, pos; gfs2_adjust_quota() local 723 blocksize = inode->i_sb->s_blocksize; gfs2_adjust_quota() 727 create_empty_buffers(page, blocksize, 0); gfs2_adjust_quota() 730 pos = blocksize; gfs2_adjust_quota() 734 pos += blocksize; gfs2_adjust_quota() 743 zero_user(page, pos - blocksize, bh->b_size); gfs2_adjust_quota()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_pscsi.c | 344 * For TYPE_TAPE, attempt to determine blocksize with MODE_SENSE. pscsi_add_device_to_list() 669 * Hack to correctly obtain the initiator requested blocksize for pscsi_transport_complete() 680 u32 blocksize; pscsi_transport_complete() local 697 blocksize = (buf[9] << 16) | (buf[10] << 8) | pscsi_transport_complete() 700 blocksize = (buf[13] << 16) | (buf[14] << 8) | pscsi_transport_complete() 703 sd->sector_size = blocksize; pscsi_transport_complete()
|
H A D | target_core_iblock.c | 711 * Convert the blocksize advertised to the initiator to the 512 byte iblock_execute_rw()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 439 uint blocksize; /* Block size of SDIO transfers */ member in struct:brcmf_sdio 1419 (roundup(len, bus->blocksize) != rd->len)) { brcmf_sdio_hdparse() 1586 (roundup(totlen, bus->blocksize) - totlen); brcmf_sdio_rxglom() 1587 totlen = roundup(totlen, bus->blocksize); brcmf_sdio_rxglom() 1814 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { brcmf_sdio_read_control() 1815 pad = bus->blocksize - (rdlen % bus->blocksize); brcmf_sdio_read_control() 1816 if ((pad <= bus->roundup) && (pad < bus->blocksize) && brcmf_sdio_read_control() 1876 /* Pad read to blocksize for efficiency */ brcmf_sdio_pad() 1879 if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { brcmf_sdio_pad() 1880 *pad = bus->blocksize - (*rdlen % bus->blocksize); brcmf_sdio_pad() 1881 if (*pad <= bus->roundup && *pad < bus->blocksize && brcmf_sdio_pad() 2444 if (bus->roundup && bus->blocksize && (len > bus->blocksize)) { brcmf_sdio_tx_ctrlframe() 2445 pad = bus->blocksize - (len % bus->blocksize); brcmf_sdio_tx_ctrlframe() 2446 if ((pad > bus->roundup) || (pad >= bus->blocksize)) brcmf_sdio_tx_ctrlframe() 4181 bus->blocksize = bus->sdiodev->func[2]->cur_blksize; brcmf_sdio_probe() 4182 bus->roundup = min(max_roundup, bus->blocksize); brcmf_sdio_probe()
|
H A D | bcmsdh.c | 1027 brcmf_err("Failed to set F1 blocksize\n"); brcmf_sdiod_probe() 1033 brcmf_err("Failed to set F2 blocksize\n"); brcmf_sdiod_probe()
|
/linux-4.1.27/drivers/usb/atm/ |
H A D | ueagle-atm.c | 768 u16 blocksize; check_dsp_e1() local 802 blocksize = get_unaligned_le16(dsp + pp); check_dsp_e1() 806 if (pp + blocksize > len) check_dsp_e1() 809 pp += blocksize; check_dsp_e1() 950 u16 blockaddr, blocksize; uea_load_page_e1() local 991 blocksize = get_unaligned_le16(p); uea_load_page_e1() 994 bi.wSize = cpu_to_le16(blocksize); uea_load_page_e1() 1003 if (uea_idma_write(sc, p, blocksize)) uea_load_page_e1() 1006 p += blocksize; uea_load_page_e1() 1032 unsigned int blocksize; __uea_load_page_e4() local 1035 blocksize = E4_PAGE_BYTES(blockidx->PageSize); __uea_load_page_e4() 1039 bi.dwSize = cpu_to_be32(blocksize); __uea_load_page_e4() 1045 blockno, pageno, blocksize, __uea_load_page_e4() local 1053 if (uea_idma_write(sc, blockoffset, blocksize)) __uea_load_page_e4()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | fw.c | 55 u32 blocksize = sizeof(u32); _rtl92ee_fw_block_write() local 60 blockcount = size / blocksize; _rtl92ee_fw_block_write() 61 remainsize = size % blocksize; _rtl92ee_fw_block_write() 64 offset = i * blocksize; _rtl92ee_fw_block_write() 70 offset = blockcount * blocksize; _rtl92ee_fw_block_write()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.c | 1034 u32 blocksize; i2o_block_probe() local 1092 if (!i2o_parm_field_get(i2o_dev, 0x0004, 1, &blocksize, 4) || i2o_block_probe() 1093 !i2o_parm_field_get(i2o_dev, 0x0000, 3, &blocksize, 4)) { i2o_block_probe() 1094 blk_queue_logical_block_size(queue, le32_to_cpu(blocksize)); i2o_block_probe() 1096 osm_warn("unable to get blocksize of %s\n", gd->disk_name); i2o_block_probe()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_std.c | 251 DBF_LH(6, "new blocksize is %d\n", device->char_data.block_size); tape_std_mtsetblk() 292 * MTFSR: Forward space over 'count' tape blocks (blocksize is set 325 * (blocksize is set via MTSETBLK.
|
H A D | tape_char.c | 106 DBF_EVENT(3, "Invalid blocksize (%zd > %d)\n", tapechar_check_idalbuffer()
|
H A D | tape_core.c | 89 * FIXME: In the future the first_minor and blocksize attribute should be 167 DEVICE_ATTR(blocksize, 0444, tape_blocksize_show, NULL);
|
/linux-4.1.27/drivers/crypto/ |
H A D | n2_core.c | 911 this_len = cipher_descriptor_len(nbytes, walk->blocksize); n2_compute_chunks() 960 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); n2_chunk_complete() 1053 iv_paddr = c->dest_final - rctx->walk.blocksize; n2_do_chaining() 1067 rctx->walk.blocksize); n2_do_chaining() 1074 rctx->walk.blocksize); n2_do_chaining() 1077 rctx->walk.blocksize); n2_do_chaining()
|
H A D | talitos.c | 1702 unsigned int blocksize = ahash_process_req() local 1709 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { ahash_process_req() 1718 /* At least (blocksize + 1) bytes are available to hash */ ahash_process_req() 1720 to_hash_later = nbytes_to_hash & (blocksize - 1); ahash_process_req() 1729 nbytes_to_hash -= blocksize; ahash_process_req() 1730 to_hash_later = blocksize; ahash_process_req() 1881 unsigned int blocksize = ahash_setkey() local 1888 if (keylen <= blocksize) ahash_setkey()
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 561 * blkcipher_walk_done under the covers, which doesn't use walk->blocksize, 562 * but instead uses this tfm->blocksize. */
|
H A D | nx-aes-gcm.c | 485 * blkcipher_walk_done under the covers, which doesn't use walk->blocksize, 486 * but instead uses this tfm->blocksize. */
|
/linux-4.1.27/fs/adfs/ |
H A D | super.c | 440 printk(KERN_ERR "VFS: Unsupported blocksize on dev " adfs_fill_super() 447 * blocksize on this device should now be set to the ADFS log2secsize adfs_fill_super()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
H A D | lproc_lov.c | 284 { "blocksize", &lov_blksize_fops, NULL, 0 },
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
H A D | lproc_mdc.c | 184 { "blocksize", &mdc_blksize_fops, NULL, 0 },
|
/linux-4.1.27/drivers/char/ |
H A D | raw.c | 50 * Set the device's soft blocksize to the minimum possible. This gives the
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_ioctl32.h | 191 __u32 blocksize; /* filesystem (data) block size */ member in struct:compat_xfs_fsop_geom_v1
|
H A D | xfs_mount.c | 363 * of the fs blocksize turn off alignment. xfs_update_alignment() 368 "alignment check failed: sunit/swidth vs. blocksize(%d)", xfs_update_alignment()
|
H A D | xfs_fsops.c | 57 geo->blocksize = mp->m_sb.sb_blocksize; xfs_fs_geometry()
|
/linux-4.1.27/init/ |
H A D | do_mounts_rd.c | 225 * blocksize while generating ext2fs ramdisk-images. rd_load_image()
|
/linux-4.1.27/fs/cachefiles/ |
H A D | bind.c | 145 /* get the cache size and blocksize */ cachefiles_daemon_add_cache()
|
/linux-4.1.27/fs/efs/ |
H A D | super.c | 338 buf->f_bsize = EFS_BLOCKSIZE; /* blocksize */ efs_statfs()
|
/linux-4.1.27/fs/jbd/ |
H A D | journal.c | 790 * @blocksize: blocksize of journalling device 800 int start, int len, int blocksize) journal_init_dev() 810 journal->j_blocksize = blocksize; journal_init_dev() 1517 int offset, blocksize; journal_convert_superblock_v1() local 1525 blocksize = be32_to_cpu(sb->s_blocksize); journal_convert_superblock_v1() 1526 memset(&sb->s_feature_compat, 0, blocksize-offset); journal_convert_superblock_v1() 798 journal_init_dev(struct block_device *bdev, struct block_device *fs_dev, int start, int len, int blocksize) journal_init_dev() argument
|
/linux-4.1.27/fs/nfs/ |
H A D | internal.h | 553 /* make sure blocksize is a power of two */ nfs_block_bits() 577 * Compute and set NFS server blocksize
|
H A D | nfs2xdr.c | 267 * unsigned int blocksize; 301 fattr->du.nfs2.blocksize = be32_to_cpup(p++); decode_fattr()
|
/linux-4.1.27/arch/um/include/shared/ |
H A D | os.h | 49 int ust_blksize; /* blocksize for filesystem I/O */
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | file.c | 28 .ust_blksize = src->st_blksize, /* blocksize for filesys I/O */ copy_stat()
|
/linux-4.1.27/fs/hfs/ |
H A D | mdb.c | 121 pr_err("unable to set blocksize to %u\n", size); hfs_mdb_get()
|
/linux-4.1.27/drivers/cdrom/ |
H A D | cdrom.c | 2063 int blocksize, int nblocks) cdrom_read_cd() 2076 cgc->buflen = blocksize * nblocks; cdrom_read_cd() 2934 int blocksize = 0, format = 0, lba; mmc_ioctl_cdrom_read_data() local 2939 blocksize = CD_FRAMESIZE_RAW; mmc_ioctl_cdrom_read_data() 2942 blocksize = CD_FRAMESIZE; mmc_ioctl_cdrom_read_data() 2946 blocksize = CD_FRAMESIZE_RAW0; mmc_ioctl_cdrom_read_data() 2956 cgc->buffer = kzalloc(blocksize, GFP_KERNEL); mmc_ioctl_cdrom_read_data() 2963 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize); mmc_ioctl_cdrom_read_data() 2972 ret = cdrom_switch_blocksize(cdi, blocksize); mmc_ioctl_cdrom_read_data() 2976 ret = cdrom_read_cd(cdi, cgc, lba, blocksize, 1); mmc_ioctl_cdrom_read_data() 2977 ret |= cdrom_switch_blocksize(cdi, blocksize); mmc_ioctl_cdrom_read_data() 2979 if (!ret && copy_to_user(arg, cgc->buffer, blocksize)) mmc_ioctl_cdrom_read_data() 2061 cdrom_read_cd(struct cdrom_device_info *cdi, struct packet_command *cgc, int lba, int blocksize, int nblocks) cdrom_read_cd() argument
|
/linux-4.1.27/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 878 unsigned int blocksize; wavefront_send_sample() 1071 blocksize = max_blksize; wavefront_send_sample() 1074 blocksize = ALIGN(length - written, 8); wavefront_send_sample() 1083 for (i = 0; i < blocksize; i++) { wavefront_send_sample() 1125 if (i < blocksize - 1) { wavefront_send_sample() 876 unsigned int blocksize; wavefront_send_sample() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
H A D | osc_cache.c | 839 int blocksize = cli->cl_import->imp_obd->obd_osfs.os_bsize ? : 4096; osc_extent_finish() local 863 } else if (blocksize < PAGE_CACHE_SIZE && osc_extent_finish() 869 int count = oap->oap_count + (offset & (blocksize - 1)); osc_extent_finish() 870 int end = (offset + oap->oap_count) & (blocksize - 1); osc_extent_finish() 872 count += blocksize - end; osc_extent_finish() 1439 * 2. blocksize at OST is less than PAGE_CACHE_SIZE and a partial page was 1442 * clients have to calculate lost grant by the blocksize on the OST.
|
H A D | lproc_osc.c | 545 { "blocksize", &osc_blksize_fops, NULL, 0 },
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | jl2005bcd.c | 362 /* total size to fetch is byte 7, times blocksize jl2005c_dostream()
|
/linux-4.1.27/fs/cramfs/ |
H A D | inode.c | 519 pr_err("bad compressed blocksize %u\n", cramfs_readpage()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
H A D | fw.c | 58 u32 blocksize = sizeof(u32); _rtl8821ae_fw_block_write() local 63 blockcount = size / blocksize; _rtl8821ae_fw_block_write() 64 remainsize = size % blocksize; _rtl8821ae_fw_block_write() 67 offset = i * blocksize; _rtl8821ae_fw_block_write() 73 offset = blockcount * blocksize; _rtl8821ae_fw_block_write()
|
/linux-4.1.27/fs/jbd2/ |
H A D | journal.c | 1133 * @blocksize: blocksize of journalling device 1143 unsigned long long start, int len, int blocksize) jbd2_journal_init_dev() 1154 journal->j_blocksize = blocksize; jbd2_journal_init_dev() 1653 * Create a slab for this blocksize jbd2_journal_load() 1141 jbd2_journal_init_dev(struct block_device *bdev, struct block_device *fs_dev, unsigned long long start, int len, int blocksize) jbd2_journal_init_dev() argument
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pt.c | 576 printk(", blocksize %d, %d MB\n", tape->bs, tape->capacity / 1024); pt_identify()
|
/linux-4.1.27/fs/jfs/ |
H A D | super.c | 530 * Initialize blocksize to 4K. jfs_fill_super()
|
/linux-4.1.27/fs/logfs/ |
H A D | logfs_abi.h | 68 * Various blocksize related macros. Blocksize is currently fixed at 4KiB.
|
/linux-4.1.27/include/linux/bcma/ |
H A D | bcma_driver_chipcommon.h | 585 u32 blocksize; member in struct:bcma_sflash
|