/linux-4.1.27/fs/hfsplus/ |
D | wrapper.c | 162 u32 blocksize; in hfsplus_read_wrapper() local 166 blocksize = sb_min_blocksize(sb, HFSPLUS_SECTOR_SIZE); in hfsplus_read_wrapper() 167 if (!blocksize) in hfsplus_read_wrapper() 226 blocksize = be32_to_cpu(sbi->s_vhdr->blocksize); in hfsplus_read_wrapper() 231 if (blocksize < HFSPLUS_SECTOR_SIZE || ((blocksize - 1) & blocksize)) in hfsplus_read_wrapper() 233 sbi->alloc_blksz = blocksize; in hfsplus_read_wrapper() 234 sbi->alloc_blksz_shift = ilog2(blocksize); in hfsplus_read_wrapper() 235 blocksize = min_t(u32, sbi->alloc_blksz, PAGE_SIZE); in hfsplus_read_wrapper() 240 while (part_start & ((blocksize >> HFSPLUS_SECTOR_SHIFT) - 1)) in hfsplus_read_wrapper() 241 blocksize >>= 1; in hfsplus_read_wrapper() [all …]
|
D | hfsplus_raw.h | 118 __be32 blocksize; member
|
/linux-4.1.27/block/partitions/ |
D | ibm.c | 66 int blocksize, in find_label() argument 92 testsect[0] = info->label_block * (blocksize >> 9); in find_label() 96 testsect[1] = (blocksize >> 9); in find_label() 97 testsect[2] = 2 * (blocksize >> 9); in find_label() 134 int blocksize, in find_vol1_partitions() argument 153 secperblk = blocksize >> 9; in find_vol1_partitions() 196 int blocksize, in find_lnx1_partitions() argument 209 secperblk = blocksize >> 9; in find_lnx1_partitions() 243 int blocksize, in find_cms1_partitions() argument 255 blocksize = label->cms.block_size; in find_cms1_partitions() [all …]
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 43 int truesize, size, loopsize, blocksize; in snd_emu10k1_sample_new() local 91 blocksize = truesize; in snd_emu10k1_sample_new() 93 blocksize *= 2; in snd_emu10k1_sample_new() 94 sp->block = snd_emu10k1_synth_alloc(emu, blocksize); in snd_emu10k1_sample_new() 97 "synth malloc failed (size=%d)\n", blocksize); in snd_emu10k1_sample_new() 102 sp->v.truesize = blocksize; in snd_emu10k1_sample_new() 109 if (offset + size > blocksize) in snd_emu10k1_sample_new() 118 if (offset + size > blocksize) in snd_emu10k1_sample_new() 136 if (offset + loopsize * 2 > blocksize) in snd_emu10k1_sample_new() 142 if (offset + loopsize > blocksize) in snd_emu10k1_sample_new() [all …]
|
/linux-4.1.27/fs/nilfs2/ |
D | the_nilfs.c | 236 int blocksize; in load_nilfs() local 259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); in load_nilfs() 260 if (blocksize != nilfs->ns_blocksize) { in load_nilfs() 264 blocksize, nilfs->ns_blocksize); in load_nilfs() 497 struct super_block *sb, int blocksize, in nilfs_load_super_block() argument 505 sbp[0] = nilfs_read_super_block(sb, NILFS_SB_OFFSET_BYTES, blocksize, in nilfs_load_super_block() 507 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block() 516 "(blocksize = %d)\n", blocksize); in nilfs_load_super_block() 520 "(blocksize = %d)\n", blocksize); in nilfs_load_super_block() 549 "using spare superblock (blocksize = %d).\n", blocksize); in nilfs_load_super_block() [all …]
|
D | recovery.c | 109 unsigned int blocksize = nilfs->ns_blocksize; in nilfs_compute_checksum() local 113 BUG_ON(offset >= blocksize); in nilfs_compute_checksum() 115 size = min_t(u64, check_bytes, blocksize - offset); in nilfs_compute_checksum() 122 bh = __bread(nilfs->ns_bdev, ++start, blocksize); in nilfs_compute_checksum() 126 size = min_t(u64, check_bytes, blocksize); in nilfs_compute_checksum() 511 unsigned blocksize = nilfs->ns_blocksize; in nilfs_recover_dsync_blocks() local 525 err = block_write_begin(inode->i_mapping, pos, blocksize, in nilfs_recover_dsync_blocks() 529 if (pos + blocksize > isize) in nilfs_recover_dsync_blocks() 531 pos + blocksize); in nilfs_recover_dsync_blocks() 543 block_write_end(NULL, inode->i_mapping, pos, blocksize, in nilfs_recover_dsync_blocks() [all …]
|
D | inode.c | 747 unsigned int blocksize; in nilfs_truncate() local 757 blocksize = sb->s_blocksize; in nilfs_truncate() 758 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
|
D | sysfs.c | 934 NILFS_DEV_RO_ATTR(blocksize); 943 NILFS_DEV_ATTR_LIST(blocksize),
|
D | segment.c | 342 unsigned blocksize = sci->sc_super->s_blocksize; in nilfs_segctor_map_segsum_entry() local 345 if (unlikely(ssp->offset + bytes > blocksize)) { in nilfs_segctor_map_segsum_entry() 416 unsigned blocksize = sci->sc_super->s_blocksize; in nilfs_segctor_segsum_block_required() local 421 blocksize; in nilfs_segctor_segsum_block_required()
|
D | super.c | 858 u64 pos, int blocksize, in nilfs_read_super_block() argument 864 offset = do_div(sb_index, blocksize); in nilfs_read_super_block()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | sha.c | 152 unsigned int blocksize = in qce_ahash_export() local 161 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export() 168 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export() 182 unsigned int blocksize; in qce_import_common() local 185 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common() 187 memcpy(rctx->buf, buffer, blocksize); in qce_import_common() 189 if (in_count <= blocksize) { in qce_import_common() 206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common() 243 unsigned int blocksize; in qce_ahash_update() local 245 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update() [all …]
|
D | ablkcipher.c | 265 unsigned int blocksize; member 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; in qce_ablkcipher_register_one()
|
D | common.c | 239 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); in qce_setup_regs_ahash() local 246 if (!rctx->last_blk && req->nbytes % blocksize) in qce_setup_regs_ahash()
|
/linux-4.1.27/fs/affs/ |
D | super.c | 191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() argument 202 *blocksize = -1; in parse_options() 224 *blocksize = n; in parse_options() 305 int size, blocksize; in affs_fill_super() local 337 &blocksize,&sbi->s_prefix, in affs_fill_super() 363 if (blocksize > 0) { in affs_fill_super() 364 i = j = blocksize; in affs_fill_super() 365 size = size / (blocksize / 512); in affs_fill_super() 367 for (blocksize = i; blocksize <= j; blocksize <<= 1, size >>= 1) { in affs_fill_super() 371 pr_debug("setting blocksize to %d\n", blocksize); in affs_fill_super() [all …]
|
D | Changes | 25 a multiple of the blocksize, the rest of the 144 - The original blocksize of the device is
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 43 gss_krb5_padding(int blocksize, int length) in gss_krb5_padding() argument 45 return blocksize - (length % blocksize); in gss_krb5_padding() 49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) in gss_krb5_add_padding() argument 51 int padding = gss_krb5_padding(blocksize, buf->len - offset); in gss_krb5_add_padding() 66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) in gss_krb5_remove_padding() argument 107 if (pad > blocksize) in gss_krb5_remove_padding() 164 int blocksize = 0, plainlen; in gss_wrap_kerberos_v1() local 177 blocksize = crypto_blkcipher_blocksize(kctx->enc); in gss_wrap_kerberos_v1() 178 gss_krb5_add_padding(buf, offset, blocksize); in gss_wrap_kerberos_v1() 179 BUG_ON((buf->len - offset) % blocksize); in gss_wrap_kerberos_v1() [all …]
|
D | gss_krb5_keys.c | 147 size_t blocksize, keybytes, keylength, n; in krb5_derive_key() local 153 blocksize = gk5e->blocksize; in krb5_derive_key() 170 inblockdata = kmalloc(blocksize, gfp_mask); in krb5_derive_key() 174 outblockdata = kmalloc(blocksize, gfp_mask); in krb5_derive_key() 183 inblock.len = blocksize; in krb5_derive_key() 186 outblock.len = blocksize; in krb5_derive_key() 235 memset(outblockdata, 0, blocksize); in krb5_derive_key() 238 memset(inblockdata, 0, blocksize); in krb5_derive_key()
|
D | gss_krb5_crypto.c | 651 int blocksize; in gss_krb5_aes_encrypt() local 669 blocksize = crypto_blkcipher_blocksize(cipher); in gss_krb5_aes_encrypt() 714 nblocks = (nbytes + blocksize - 1) / blocksize; in gss_krb5_aes_encrypt() 717 cbcbytes = (nblocks - 2) * blocksize; in gss_krb5_aes_encrypt() 770 int nblocks, blocksize, cbcbytes; in gss_krb5_aes_decrypt() local 785 blocksize = crypto_blkcipher_blocksize(cipher); in gss_krb5_aes_decrypt() 793 nblocks = (subbuf.len + blocksize - 1) / blocksize; in gss_krb5_aes_decrypt() 797 cbcbytes = (nblocks - 2) * blocksize; in gss_krb5_aes_decrypt()
|
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/ocfs2/ |
D | blockcheck.c | 154 u32 ocfs2_hamming_encode_block(void *data, unsigned int blocksize) in ocfs2_hamming_encode_block() argument 156 return ocfs2_hamming_encode(0, data, blocksize * 8, 0); in ocfs2_hamming_encode_block() 222 void ocfs2_hamming_fix_block(void *data, unsigned int blocksize, in ocfs2_hamming_fix_block() argument 225 ocfs2_hamming_fix(data, blocksize * 8, 0, fix); in ocfs2_hamming_fix_block() 391 void ocfs2_block_check_compute(void *data, size_t blocksize, in ocfs2_block_check_compute() argument 399 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute() 400 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_compute() 420 int ocfs2_block_check_validate(void *data, size_t blocksize, in ocfs2_block_check_validate() argument 437 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 447 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_validate() [all …]
|
D | ocfs2_fs.h | 1271 static inline struct ocfs2_disk_dqtrailer *ocfs2_block_dqtrailer(int blocksize, in ocfs2_block_dqtrailer() argument 1275 ptr += blocksize - OCFS2_QBLK_RESERVED_SPACE; in ocfs2_block_dqtrailer() 1480 static inline int ocfs2_fast_symlink_chars(int blocksize) in ocfs2_fast_symlink_chars() argument 1482 return blocksize - offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars() 1485 static inline int ocfs2_max_inline_data_with_xattr(int blocksize, in ocfs2_max_inline_data_with_xattr() argument 1489 return blocksize - in ocfs2_max_inline_data_with_xattr() 1493 return blocksize - in ocfs2_max_inline_data_with_xattr() 1497 static inline int ocfs2_extent_recs_per_inode(int blocksize) in ocfs2_extent_recs_per_inode() argument 1501 size = blocksize - in ocfs2_extent_recs_per_inode() 1507 static inline int ocfs2_chain_recs_per_inode(int blocksize) in ocfs2_chain_recs_per_inode() argument [all …]
|
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,
|
D | dir.h | 114 struct ocfs2_dir_block_trailer *ocfs2_dir_trailer_from_size(int blocksize,
|
D | xattr.c | 466 int blocksize = src->bu_inode->i_sb->s_blocksize; in ocfs2_xattr_bucket_copy_data() local 473 blocksize); in ocfs2_xattr_bucket_copy_data() 1099 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local 1106 blocksize = inode->i_sb->s_blocksize; in ocfs2_xattr_get_value_outside() 1127 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside() 1343 u16 blocksize = inode->i_sb->s_blocksize; in __ocfs2_xattr_set_value_outside() local 1384 cp_len = value_len > blocksize ? blocksize : value_len; in __ocfs2_xattr_set_value_outside() 1388 if (cp_len < blocksize) in __ocfs2_xattr_set_value_outside() 1390 blocksize - cp_len); in __ocfs2_xattr_set_value_outside() 4182 int i, blocksize = inode->i_sb->s_blocksize; in ocfs2_cp_xattr_block_to_bucket() local [all …]
|
D | dir.c | 123 struct ocfs2_dir_block_trailer *ocfs2_dir_trailer_from_size(int blocksize, in ocfs2_dir_trailer_from_size() argument 128 p += blocksize - sizeof(struct ocfs2_dir_block_trailer); in ocfs2_dir_trailer_from_size() 3453 int blocksize = dir->i_sb->s_blocksize; in ocfs2_find_dir_space_el() local 3493 if (ocfs2_skip_dir_trailer(dir, de, offset % blocksize, in ocfs2_find_dir_space_el() 3494 blocksize)) in ocfs2_find_dir_space_el()
|
D | aops.c | 435 unsigned blocksize = head->b_size; in walk_page_buffers() local 444 block_end = block_start + blocksize; in walk_page_buffers()
|
D | alloc.c | 6791 unsigned int blocksize = 1 << inode->i_sb->s_blocksize_bits; in ocfs2_zero_dinode_id2_with_xattr() local 6795 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr() 6799 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr()
|
/linux-4.1.27/drivers/mtd/ |
D | bcm47xxpart.c | 93 uint32_t blocksize = master->erasesize; in bcm47xxpart_parse() local 103 if (blocksize < 0x1000) in bcm47xxpart_parse() 104 blocksize = 0x1000; in bcm47xxpart_parse() 119 for (offset = 0; offset <= master->size - blocksize; in bcm47xxpart_parse() 120 offset += blocksize) { in bcm47xxpart_parse() 233 offset = rounddown(offset + trx->length, blocksize); in bcm47xxpart_parse() 249 if (offset != master->size - blocksize && in bcm47xxpart_parse() 290 master->size - blocksize, 0); in bcm47xxpart_parse()
|
/linux-4.1.27/include/linux/ |
D | cryptouser.h | 67 unsigned int blocksize; member 73 unsigned int blocksize; member 81 unsigned int blocksize; member 90 unsigned int blocksize; member
|
D | buffer_head.h | 197 sector_t bblock, unsigned blocksize);
|
D | nfs_xdr.h | 54 __u32 blocksize; member
|
/linux-4.1.27/drivers/ssb/ |
D | driver_chipcommon_sflash.c | 28 u32 blocksize; member 149 sflash->blocksize = e->blocksize; in ssb_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in ssb_sflash_init() 155 e->name, sflash->size / 1024, e->blocksize, e->numblocks); in ssb_sflash_init()
|
/linux-4.1.27/fs/ |
D | buffer.c | 589 sector_t bblock, unsigned blocksize) in write_boundary_block() argument 591 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); in write_boundary_block() 1565 unsigned long blocksize, unsigned long b_state) in create_empty_buffers() argument 1569 head = alloc_page_buffers(page, blocksize, 1); in create_empty_buffers() 1634 static inline int block_size_bits(unsigned int blocksize) in block_size_bits() argument 1636 return ilog2(blocksize); in block_size_bits() 1685 unsigned int blocksize, bbits; in __block_write_full_page() local 1704 blocksize = bh->b_size; in __block_write_full_page() 1705 bbits = block_size_bits(blocksize); in __block_write_full_page() 1728 WARN_ON(bh->b_size != blocksize); in __block_write_full_page() [all …]
|
D | mpage.c | 147 const unsigned blocksize = 1 << blkbits; in do_mpage_readpage() local 165 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; in do_mpage_readpage()
|
/linux-4.1.27/drivers/bcma/ |
D | driver_chipcommon_sflash.c | 29 u32 blocksize; member 149 sflash->blocksize = e->blocksize; in bcma_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in bcma_sflash_init() 155 e->name, sflash->size / 1024, sflash->blocksize, in bcma_sflash_init()
|
/linux-4.1.27/fs/ext4/ |
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) in initialize_dirent_tail() argument 281 sizeof(struct ext4_dir_entry_tail), blocksize); in initialize_dirent_tail() 497 ext4_next_entry(struct ext4_dir_entry_2 *p, unsigned long blocksize) in ext4_next_entry() argument 500 ext4_rec_len_from_disk(p->rec_len, blocksize)); in ext4_next_entry() 685 unsigned blocksize = dir->i_sb->s_blocksize; in dx_show_entries() local 703 bh->b_data, blocksize, 0); in dx_show_entries() 712 (space/bcount)*100/blocksize); in dx_show_entries() [all …]
|
D | move_extent.c | 185 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local 193 blocksize = 1 << inode->i_blkbits; in mext_page_mkuptodate() 195 create_empty_buffers(page, blocksize, 0); in mext_page_mkuptodate() 201 block_end = block_start + blocksize; in mext_page_mkuptodate() 216 zero_user(page, block_start, blocksize); in mext_page_mkuptodate() 269 unsigned long blocksize = orig_inode->i_sb->s_blocksize; in move_extent_per_page() local 301 tmp_data_size = orig_inode->i_size & (blocksize - 1); in move_extent_per_page() 307 tmp_data_size = blocksize; in move_extent_per_page() 466 unsigned int blocksize = 1 << blkbits; in mext_check_arguments() local 468 orig_eof = (i_size_read(orig_inode) + blocksize - 1) >> blkbits; in mext_check_arguments() [all …]
|
D | super.c | 1724 int blocksize = in parse_options() local 1727 if (blocksize < PAGE_CACHE_SIZE) { in parse_options() 3452 int blocksize, clustersize; in ext4_fill_super() local 3490 blocksize = sb_min_blocksize(sb, EXT4_MIN_BLOCK_SIZE); in ext4_fill_super() 3491 if (!blocksize) { in ext4_fill_super() 3500 if (blocksize != EXT4_MIN_BLOCK_SIZE) { in ext4_fill_super() 3502 offset = do_div(logical_sb_block, blocksize); in ext4_fill_super() 3706 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); in ext4_fill_super() 3707 if (blocksize < EXT4_MIN_BLOCK_SIZE || in ext4_fill_super() 3708 blocksize > EXT4_MAX_BLOCK_SIZE) { in ext4_fill_super() [all …]
|
D | readpage.c | 144 const unsigned blocksize = 1 << blkbits; in ext4_mpage_readpages() local 178 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; in ext4_mpage_readpages()
|
D | ext4.h | 1740 #define EXT4_DIRENT_TAIL(block, blocksize) \ argument 1742 ((blocksize) - \ 1778 ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) in ext4_rec_len_from_disk() argument 1784 return blocksize; in ext4_rec_len_from_disk() 1791 static inline __le16 ext4_rec_len_to_disk(unsigned len, unsigned blocksize) in ext4_rec_len_to_disk() argument 1793 if ((len > blocksize) || (blocksize > (1 << 18)) || (len & 3)) in ext4_rec_len_to_disk() 1798 if (len == blocksize) { in ext4_rec_len_to_disk() 1799 if (blocksize == 65536) in ext4_rec_len_to_disk() 2855 int blocksize, int csum_size, 2858 unsigned int blocksize);
|
D | inode.c | 839 unsigned blocksize = head->b_size; in ext4_walk_page_buffers() local 847 block_end = block_start + blocksize; in ext4_walk_page_buffers() 922 unsigned blocksize = inode->i_sb->s_blocksize; in ext4_block_write_begin() local 933 create_empty_buffers(page, blocksize, 0); in ext4_block_write_begin() 935 bbits = ilog2(blocksize); in ext4_block_write_begin() 940 block_end = block_start + blocksize; in ext4_block_write_begin() 951 WARN_ON(bh->b_size != blocksize); in ext4_block_write_begin() 3367 unsigned blocksize, pos; in __ext4_block_zero_page_range() local 3379 blocksize = inode->i_sb->s_blocksize; in __ext4_block_zero_page_range() 3384 create_empty_buffers(page, blocksize, 0); in __ext4_block_zero_page_range() [all …]
|
D | indirect.c | 1214 unsigned blocksize = inode->i_sb->s_blocksize; in ext4_ind_truncate() local 1216 last_block = (inode->i_size + blocksize-1) in ext4_ind_truncate() 1218 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_truncate() 1327 unsigned blocksize = inode->i_sb->s_blocksize; in ext4_ind_remove_space() local 1329 max_block = (EXT4_SB(inode->i_sb)->s_bitmap_maxbytes + blocksize-1) in ext4_ind_remove_space()
|
D | page-io.c | 425 unsigned block_start, blocksize; in ext4_bio_write_page() local 431 blocksize = 1 << inode->i_blkbits; in ext4_bio_write_page()
|
D | mballoc.c | 820 int blocksize; in ext4_mb_init_cache() local 840 blocksize = 1 << inode->i_blkbits; in ext4_mb_init_cache() 841 blocks_per_page = PAGE_CACHE_SIZE / blocksize; in ext4_mb_init_cache() 907 data = page_address(page) + (i * blocksize); in ext4_mb_init_cache() 918 group, page->index, i * blocksize); in ext4_mb_init_cache() 930 memset(data, 0xff, blocksize); in ext4_mb_init_cache() 938 group, page->index, i * blocksize); in ext4_mb_init_cache() 943 memcpy(data, bitmap, blocksize); in ext4_mb_init_cache()
|
D | xattr.c | 1233 void *from, size_t n, int blocksize) in ext4_xattr_shift_entries() argument 1244 > blocksize); in ext4_xattr_shift_entries()
|
/linux-4.1.27/drivers/mtd/devices/ |
D | bcm47xxsflash.c | 80 if (b47s->blocksize < (64 * 1024)) in bcm47xxsflash_erase() 168 u32 mask = b47s->blocksize - 1; in bcm47xxsflash_write_at() 174 if (byte || (len < b47s->blocksize)) { in bcm47xxsflash_write_at() 190 if (byte == b47s->blocksize) in bcm47xxsflash_write_at() 251 mtd->erasesize = b47s->blocksize; in bcm47xxsflash_fill_mtd() 300 b47s->blocksize = sflash->blocksize; in bcm47xxsflash_bcma_probe()
|
D | bcm47xxsflash.h | 69 u32 blocksize; member
|
D | mtd_dataflash.c | 154 unsigned blocksize = priv->page_size << 3; in dataflash_erase() local 185 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase() 211 instr->addr += blocksize; in dataflash_erase() 212 instr->len -= blocksize; in dataflash_erase()
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 264 unsigned int blocksize; member 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; in ccp_register_aes_alg()
|
/linux-4.1.27/drivers/usb/storage/ |
D | alauda.c | 97 unsigned int blocksize; /* number of pages per block */ member 440 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media() 444 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; in alauda_init_media() 798 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, in alauda_write_block() 820 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_write_lba() local 846 blocksize, blockbuffer); in alauda_write_lba() 850 memset(blockbuffer, 0, blocksize * (pagesize + 64)); in alauda_write_lba() 858 for (i = 0; i < blocksize; i++) { in alauda_write_lba() 921 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_read_data() local 935 len = min(sectors, blocksize) * (pagesize + 64); in alauda_read_data() [all …]
|
D | sddr55.c | 99 int blocksize; /* Size of block in pages */ member 216 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> in sddr55_read_data() 235 info->blocksize - page); in sddr55_read_data() 343 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> in sddr55_write_data() 362 info->blocksize - page); in sddr55_write_data() 585 info->blocksize = 16; in sddr55_get_capacity() 616 info->blocksize = 32; in sddr55_get_capacity() 622 info->blocksize = 32; in sddr55_get_capacity() 628 info->blocksize = 32; in sddr55_get_capacity() 634 info->blocksize = 32; in sddr55_get_capacity()
|
D | sddr09.c | 259 int blocksize; /* Size of block in pages */ member 763 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_read_data() 780 pages = min(sectors, info->blocksize - page); in sddr09_read_data() 900 result = sddr09_read22(us, address>>1, info->blocksize, in sddr09_write_lba() 906 for (i = 0; i < info->blocksize; i++) { in sddr09_write_lba() 940 result = sddr09_write_inplace(us, address>>1, info->blocksize, in sddr09_write_lba() 1004 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_write_data() 1020 pages = min(sectors, info->blocksize - page); in sddr09_write_data() 1602 info->blocksize = (1 << info->blockshift); in sddr09_transport() 1603 info->blockmask = info->blocksize - 1; in sddr09_transport()
|
/linux-4.1.27/fs/ntfs/ |
D | aops.c | 197 unsigned int blocksize, vcn_ofs; in ntfs_read_block() local 208 blocksize = vol->sb->s_blocksize; in ntfs_read_block() 212 create_empty_buffers(page, blocksize, 0); in ntfs_read_block() 234 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block() 242 zblock = (init_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block() 341 zero_user(page, i * blocksize, blocksize); in ntfs_read_block() 563 unsigned int blocksize, vcn_ofs; in ntfs_write_block() local 577 blocksize = vol->sb->s_blocksize; in ntfs_write_block() 581 create_empty_buffers(page, blocksize, in ntfs_write_block() 610 dblock = (i_size + blocksize - 1) >> blocksize_bits; in ntfs_write_block() [all …]
|
D | file.c | 601 unsigned blocksize, u; in ntfs_prepare_pages_for_non_resident_write() local 622 blocksize = vol->sb->s_blocksize; in ntfs_prepare_pages_for_non_resident_write() 633 create_empty_buffers(page, blocksize, 0); in ntfs_prepare_pages_for_non_resident_write() 665 bh_end = bh_pos + blocksize; in ntfs_prepare_pages_for_non_resident_write() 703 blocksize); in ntfs_prepare_pages_for_non_resident_write() 779 blocksize); in ntfs_prepare_pages_for_non_resident_write() 798 blocksize); in ntfs_prepare_pages_for_non_resident_write() 837 zero_user(page, bh_offset(bh), blocksize); in ntfs_prepare_pages_for_non_resident_write() 962 blocksize); in ntfs_prepare_pages_for_non_resident_write() 1188 } while (bh_pos += blocksize, (bh = bh->b_this_page) != head); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | super.c | 2726 int blocksize, result; in ntfs_fill_super() local 2790 blocksize = sb_min_blocksize(sb, NTFS_BLOCK_SIZE); in ntfs_fill_super() 2791 if (blocksize < NTFS_BLOCK_SIZE) { in ntfs_fill_super() 2796 BUG_ON(blocksize != sb->s_blocksize); in ntfs_fill_super() 2798 blocksize, sb->s_blocksize_bits); in ntfs_fill_super() 2834 if (vol->sector_size > blocksize) { in ntfs_fill_super() 2835 blocksize = sb_set_blocksize(sb, vol->sector_size); in ntfs_fill_super() 2836 if (blocksize != vol->sector_size) { in ntfs_fill_super() 2843 BUG_ON(blocksize != sb->s_blocksize); in ntfs_fill_super() 2848 blocksize, sb->s_blocksize_bits); in ntfs_fill_super()
|
D | mft.c | 469 unsigned int blocksize = vol->sb->s_blocksize; in ntfs_sync_mft_mirror() local 470 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror() 509 bh = head = alloc_page_buffers(page, blocksize, 1); in ntfs_sync_mft_mirror() 526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror() 673 unsigned int blocksize = vol->sb->s_blocksize; in write_mft_record_nolock() local 675 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock() 702 block_end = block_start + blocksize; in write_mft_record_nolock()
|
/linux-4.1.27/fs/ext3/ |
D | super.c | 1701 int blocksize; in ext3_fill_super() local 1723 blocksize = sb_min_blocksize(sb, EXT3_MIN_BLOCK_SIZE); in ext3_fill_super() 1724 if (!blocksize) { in ext3_fill_super() 1733 if (blocksize != EXT3_MIN_BLOCK_SIZE) { in ext3_fill_super() 1734 logic_sb_block = (sb_block * EXT3_MIN_BLOCK_SIZE) / blocksize; in ext3_fill_super() 1735 offset = (sb_block * EXT3_MIN_BLOCK_SIZE) % blocksize; in ext3_fill_super() 1824 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); in ext3_fill_super() 1826 if (blocksize < EXT3_MIN_BLOCK_SIZE || in ext3_fill_super() 1827 blocksize > EXT3_MAX_BLOCK_SIZE) { in ext3_fill_super() 1830 "filesystem blocksize %d", blocksize); in ext3_fill_super() [all …]
|
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; in dx_show_entries() local 306 dx_show_leaf(hinfo, (struct ext3_dir_entry_2 *) bh->b_data, blocksize, 0); in dx_show_entries() 314 names, space/bcount,(space/bcount)*100/blocksize); in dx_show_entries() 700 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize, in dx_make_map() argument 707 while ((char *) de < base + blocksize) in dx_make_map() 1111 static struct ext3_dir_entry_2 *dx_pack_dirents(char *base, unsigned blocksize) in dx_pack_dirents() argument 1118 while ((char *)de < base + blocksize) { in dx_pack_dirents() 1142 unsigned blocksize = dir->i_sb->s_blocksize; in do_split() local [all …]
|
D | inode.c | 657 int blocksize = inode->i_sb->s_blocksize; in ext3_alloc_branch() local 695 memset(bh->b_data, 0, blocksize); in ext3_alloc_branch() 1159 unsigned blocksize = head->b_size; in walk_page_buffers() local 1168 block_end = block_start + blocksize; in walk_page_buffers() 1999 unsigned blocksize, iblock, length, pos; in ext3_block_truncate_page() local 2006 blocksize = inode->i_sb->s_blocksize; in ext3_block_truncate_page() 2007 if ((from & (blocksize - 1)) == 0) in ext3_block_truncate_page() 2013 length = blocksize - (offset & (blocksize - 1)); in ext3_block_truncate_page() 2017 create_empty_buffers(page, blocksize, 0); in ext3_block_truncate_page() 2021 pos = blocksize; in ext3_block_truncate_page() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723com/ |
D | fw_common.c | 60 u32 blocksize = sizeof(u32); in rtl8723_fw_block_write() local 65 blockcount = size / blocksize; in rtl8723_fw_block_write() 66 remainsize = size % blocksize; in rtl8723_fw_block_write() 69 offset = i * blocksize; in rtl8723_fw_block_write() 74 offset = blockcount * blocksize; in rtl8723_fw_block_write()
|
/linux-4.1.27/fs/reiserfs/ |
D | file.c | 181 unsigned blocksize; in reiserfs_commit_page() local 192 blocksize = 1 << inode->i_blkbits; in reiserfs_commit_page() 207 block_end = block_start + blocksize; in reiserfs_commit_page()
|
D | ioctl.c | 178 unsigned long blocksize = inode->i_sb->s_blocksize; in reiserfs_unpack() local 194 write_from = inode->i_size & (blocksize - 1); in reiserfs_unpack()
|
D | stree.c | 389 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh) in is_leaf() argument 406 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) { in is_leaf() 413 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); in is_leaf() 416 if (used_space != blocksize - blkh_free_space(blkh)) { in is_leaf() 428 prev_location = blocksize; in is_leaf() 436 if (ih_location(ih) >= blocksize in is_leaf() 444 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { in is_leaf() 464 static int is_internal(char *buf, int blocksize, struct buffer_head *bh) in is_internal() argument 481 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { in is_internal() 488 if (used_space != blocksize - blkh_free_space(blkh)) { in is_internal()
|
D | inode.c | 1176 loff_t blocksize = inode->i_sb->s_blocksize; in real_space_diff() local 1192 (blocksize - 1)) >> inode->i_sb->s_blocksize_bits) * UNFM_P_SIZE + in real_space_diff() 2194 unsigned long blocksize = inode->i_sb->s_blocksize; in grab_tail_page() local 2207 if ((offset & (blocksize - 1)) == 0) { in grab_tail_page() 2216 start = (offset / blocksize) * blocksize; in grab_tail_page() 2230 pos += blocksize; in grab_tail_page() 2268 unsigned blocksize = inode->i_sb->s_blocksize; in reiserfs_truncate_file() local 2337 length = offset & (blocksize - 1); in reiserfs_truncate_file() 2340 length = blocksize - length; in reiserfs_truncate_file()
|
D | fix_node.c | 2249 unsigned long blocksize = sb->s_blocksize; in get_virtual_node_size() local 2253 max_num_of_items = (blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN); in get_virtual_node_size() 2254 max_num_of_entries = (blocksize - BLKH_SIZE - IH_SIZE) / in get_virtual_node_size()
|
D | reiserfs.h | 2702 #define journal_trans_half(blocksize) \ argument 2703 ((blocksize - sizeof (struct reiserfs_journal_desc) + sizeof (__u32) - 12) / sizeof (__u32))
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamalg.c | 3378 unsigned int blocksize; member 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, [all …]
|
D | caamhash.c | 519 int blocksize = crypto_tfm_alg_blocksize(&ahash->base); in ahash_setkey() local 528 if (keylen > blocksize) { in ahash_setkey() 1604 unsigned int blocksize; member 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; in caam_hash_alloc()
|
/linux-4.1.27/fs/ext2/ |
D | super.c | 789 int blocksize = BLOCK_SIZE; in ext2_fill_super() local 818 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super() 819 if (!blocksize) { in ext2_fill_super() 828 if (blocksize != BLOCK_SIZE) { in ext2_fill_super() 829 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 830 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super() 913 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super() 916 if (blocksize != PAGE_SIZE) { in ext2_fill_super() 929 if (sb->s_blocksize != blocksize) { in ext2_fill_super() 932 if (!sb_set_blocksize(sb, blocksize)) { in ext2_fill_super() [all …]
|
D | inode.c | 476 int blocksize = inode->i_sb->s_blocksize; in ext2_alloc_branch() local 506 memset(bh->b_data, 0, blocksize); in ext2_alloc_branch() 1098 unsigned blocksize; in __ext2_truncate_blocks() local 1099 blocksize = inode->i_sb->s_blocksize; in __ext2_truncate_blocks() 1100 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); in __ext2_truncate_blocks()
|
/linux-4.1.27/drivers/atm/ |
D | solos-pci.c | 634 int blocksize = 0; in flash_upgrade() local 642 blocksize = ATMEL_FPGA_BLOCK; in flash_upgrade() 644 blocksize = SPI_FLASH_BLOCK; in flash_upgrade() 649 blocksize = ATMEL_SOLOS_BLOCK; in flash_upgrade() 651 blocksize = SPI_FLASH_BLOCK; in flash_upgrade() 657 blocksize = ATMEL_FPGA_BLOCK; in flash_upgrade() 659 blocksize = SPI_FLASH_BLOCK; in flash_upgrade() 670 blocksize = ATMEL_SOLOS_BLOCK; in flash_upgrade() 672 blocksize = SPI_FLASH_BLOCK; in flash_upgrade() 691 numblocks = fw->size / blocksize; in flash_upgrade() [all …]
|
/linux-4.1.27/fs/minix/ |
D | minix.h | 90 static inline unsigned minix_blocks_needed(unsigned bits, unsigned blocksize) in minix_blocks_needed() argument 92 return DIV_ROUND_UP(bits, blocksize * 8); in minix_blocks_needed()
|
D | bitmap.c | 26 static __u32 count_free(struct buffer_head *map[], unsigned blocksize, __u32 numbits) in count_free() argument 29 unsigned blocks = DIV_ROUND_UP(numbits, blocksize * 8); in count_free() 32 unsigned words = blocksize / 2; in count_free()
|
/linux-4.1.27/fs/sysv/ |
D | itree.c | 129 int blocksize = inode->i_sb->s_blocksize; in alloc_branch() local 148 memset(bh->b_data, 0, blocksize); in alloc_branch() 372 unsigned blocksize; in sysv_truncate() local 378 blocksize = inode->i_sb->s_blocksize; in sysv_truncate() 379 iblock = (inode->i_size + blocksize-1) in sysv_truncate()
|
/linux-4.1.27/arch/ia64/lib/ |
D | memcpy_mck.S | 270 #define blocksize r23 macro 287 mov blocksize=BLOCK_SIZE 289 cmp.lt p6,p7=blocksize,in2 292 (p6) mov in2=blocksize 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/fat/ |
D | cache.c | 309 const unsigned long blocksize = sb->s_blocksize; in fat_bmap() local 324 last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in fat_bmap() 333 last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) in fat_bmap()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | fw.c | 60 u32 blocksize = sizeof(u32); in _rtl88e_fw_block_write() local 65 blockcount = size / blocksize; in _rtl88e_fw_block_write() 66 remainsize = size % blocksize; in _rtl88e_fw_block_write() 69 offset = i * blocksize; in _rtl88e_fw_block_write() 75 offset = blockcount * blocksize; in _rtl88e_fw_block_write()
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 83 u32 blocksize; member 217 if (ctx->outlen / ctx->blocksize > 0) { in cryp_interrupt_handler() 218 count = ctx->blocksize / 4; in cryp_interrupt_handler() 231 if (ctx->datalen / ctx->blocksize > 0) { in cryp_interrupt_handler() 232 count = ctx->blocksize / 4; in cryp_interrupt_handler() 284 int num_of_regs = ctx->blocksize / 8; in cfg_ivs() 296 __func__, ctx->blocksize); in cfg_ivs() 300 for (i = 0; i < ctx->blocksize / 4; i++) in cfg_ivs() 649 int len = ctx->blocksize / BYTES_PER_WORD; in cryp_polling_mode() 915 ctx->datalen = nbytes - (nbytes % ctx->blocksize); in ablk_crypt() [all …]
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb_driver_mips.h | 27 u32 blocksize; member
|
/linux-4.1.27/arch/m68k/emu/ |
D | nfblock.c | 42 u32 *blocksize) in nfhd_get_capacity() argument 45 virt_to_phys(blocks), virt_to_phys(blocksize)); in nfhd_get_capacity()
|
/linux-4.1.27/include/crypto/ |
D | algapi.h | 125 unsigned int blocksize; member 197 unsigned int blocksize); 201 unsigned int blocksize);
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | fw.c | 70 u32 blocksize = sizeof(u32); in _rtl92d_fw_block_write() local 75 blockCount = size / blocksize; in _rtl92d_fw_block_write() 76 remainSize = size % blocksize; in _rtl92d_fw_block_write() 78 offset = i * blocksize; in _rtl92d_fw_block_write() 83 offset = blockCount * blocksize; in _rtl92d_fw_block_write()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | fw.c | 55 u32 blocksize = sizeof(u32); in _rtl92ee_fw_block_write() local 60 blockcount = size / blocksize; in _rtl92ee_fw_block_write() 61 remainsize = size % blocksize; in _rtl92ee_fw_block_write() 64 offset = i * blocksize; in _rtl92ee_fw_block_write() 70 offset = blockcount * blocksize; in _rtl92ee_fw_block_write()
|
/linux-4.1.27/crypto/ |
D | ablkcipher.c | 193 unsigned bs = walk->blocksize; in ablkcipher_copy_iv() 243 bsize = min(walk->blocksize, n); in ablkcipher_walk_next() 302 walk->blocksize = crypto_tfm_alg_blocksize(req->base.tfm); in ablkcipher_walk_phys() 393 rblkcipher.blocksize = alg->cra_blocksize; in crypto_ablkcipher_report() 474 rblkcipher.blocksize = alg->cra_blocksize; in crypto_givcipher_report()
|
D | blkcipher.c | 349 unsigned int blocksize) in blkcipher_walk_virt_block() argument 352 walk->walk_blocksize = blocksize; in blkcipher_walk_virt_block() 363 unsigned int blocksize) in blkcipher_aead_walk_virt_block() argument 366 walk->walk_blocksize = blocksize; in blkcipher_aead_walk_virt_block() 519 rblkcipher.blocksize = alg->cra_blocksize; in crypto_blkcipher_report()
|
D | aead.c | 123 raead.blocksize = alg->cra_blocksize; in crypto_aead_report() 208 raead.blocksize = alg->cra_blocksize; in crypto_nivaead_report()
|
D | crypto_user.c | 86 rcipher.blocksize = alg->cra_blocksize; in crypto_report_cipher()
|
D | ahash.c | 495 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report()
|
D | shash.c | 537 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | fw_common.c | 75 u32 blocksize = sizeof(u32); in _rtl92c_fw_block_write() local 80 blockcount = size / blocksize; in _rtl92c_fw_block_write() 81 remainsize = size % blocksize; in _rtl92c_fw_block_write() 84 offset = i * blocksize; in _rtl92c_fw_block_write() 90 offset = blockcount * blocksize; in _rtl92c_fw_block_write()
|
/linux-4.1.27/drivers/mmc/host/ |
D | sh_mmcif.c | 244 size_t blocksize; member 566 host->sg_blkidx += host->blocksize; in sh_mmcif_next_block() 585 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_single_read() 606 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_read_block() 624 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_multi_read() 649 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_mread_block() 663 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_single_write() 684 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_write_block() 702 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_multi_write() 727 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_mwrite_block()
|
D | cb710-mmc.c | 212 size_t count, size_t blocksize) in cb710_mmc_set_transfer_size() argument 216 ((count - 1) << 16)|(blocksize - 1)); in cb710_mmc_set_transfer_size() 219 count, count == 1 ? "" : "s", blocksize); in cb710_mmc_set_transfer_size()
|
/linux-4.1.27/fs/udf/ |
D | inode.c | 896 unsigned long blocksize = inode->i_sb->s_blocksize; in udf_split_extents() local 904 blocksize - 1) >> blocksize_bits; in udf_split_extents() 941 blocksize; in udf_split_extents() 1057 unsigned long blocksize = inode->i_sb->s_blocksize; in udf_merge_extents() local 1070 blocksize - 1) >> blocksize_bits)))) { in udf_merge_extents() 1074 blocksize - 1) & ~UDF_EXTENT_LENGTH_MASK) { in udf_merge_extents() 1079 ~(blocksize - 1); in udf_merge_extents() 1083 blocksize; in udf_merge_extents() 1093 blocksize - 1) & ~(blocksize - 1)); in udf_merge_extents() 1108 blocksize - 1) >> blocksize_bits); in udf_merge_extents() [all …]
|
D | super.c | 214 unsigned int blocksize; member 522 uopt->blocksize = n; in udf_parse_options() 1921 if (!sb_set_blocksize(sb, uopt->blocksize)) { in udf_load_vrs() 2132 uopt.blocksize = bdev_logical_block_size(sb->s_bdev); in udf_fill_super() 2134 if (ret == -EAGAIN && uopt.blocksize != UDF_DEFAULT_BLOCKSIZE) { in udf_fill_super() 2140 uopt.blocksize = UDF_DEFAULT_BLOCKSIZE; in udf_fill_super()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/ |
D | libiam.h | 76 int blocksize, int keysize, int recsize, int ptrsize);
|
/linux-4.1.27/fs/cramfs/ |
D | README | 128 2. Writer chooses blocksize; kernel adapts but rejects blocksize > 131 3. Writer chooses blocksize; kernel adapts even to blocksize >
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 98 unsigned blocksize; member 207 return color_formats_table[format].blocksize; in r600_fmt_get_blocksize() 244 u32 blocksize; member 258 u32 tile_bytes = tile_width * tile_height * values->blocksize * values->nsamples; in r600_get_array_mode_alignment() 270 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); in r600_get_array_mode_alignment() 278 (tile_height * values->blocksize * values->nsamples))); in r600_get_array_mode_alignment() 286 (values->blocksize * values->nsamples * tile_width))); in r600_get_array_mode_alignment() 290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); in r600_get_array_mode_alignment() 385 array_check.blocksize = r600_fmt_get_blocksize(format); in r600_cs_track_validate_cb() 581 array_check.blocksize = bpe; in r600_cs_track_validate_db() [all …]
|
/linux-4.1.27/drivers/usb/atm/ |
D | ueagle-atm.c | 768 u16 blocksize; in check_dsp_e1() local 802 blocksize = get_unaligned_le16(dsp + pp); in check_dsp_e1() 806 if (pp + blocksize > len) in check_dsp_e1() 809 pp += blocksize; in check_dsp_e1() 950 u16 blockaddr, blocksize; in uea_load_page_e1() local 991 blocksize = get_unaligned_le16(p); in uea_load_page_e1() 994 bi.wSize = cpu_to_le16(blocksize); in uea_load_page_e1() 1003 if (uea_idma_write(sc, p, blocksize)) in uea_load_page_e1() 1006 p += blocksize; in uea_load_page_e1() 1032 unsigned int blocksize; in __uea_load_page_e4() local [all …]
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 162 unsigned int blocksize; member 352 popt->blocksize = 1024; in parse_options() 465 popt->blocksize = n; in parse_options() 607 opt.blocksize = sb_min_blocksize(s, opt.blocksize); in isofs_fill_super() 725 if (orig_zonesize < opt.blocksize) in isofs_fill_super() 951 orig_zonesize, opt.blocksize); in isofs_fill_super()
|
D | rock.c | 87 int blocksize = 1 << rs->inode->i_blkbits; in rock_continue() local 93 if ((unsigned)rs->cont_offset > blocksize - min_de_size || in rock_continue() 94 (unsigned)rs->cont_size > blocksize || in rock_continue() 95 (unsigned)(rs->cont_offset + rs->cont_size) > blocksize) { in rock_continue()
|
/linux-4.1.27/fs/gfs2/ |
D | bmap.c | 937 unsigned blocksize, iblock, length, pos; in gfs2_block_truncate_page() local 946 blocksize = inode->i_sb->s_blocksize; in gfs2_block_truncate_page() 947 length = blocksize - (offset & (blocksize - 1)); in gfs2_block_truncate_page() 951 create_empty_buffers(page, blocksize, 0); in gfs2_block_truncate_page() 955 pos = blocksize; in gfs2_block_truncate_page() 959 pos += blocksize; in gfs2_block_truncate_page()
|
D | quota.c | 678 unsigned blocksize, iblock, pos; in gfs2_adjust_quota() local 723 blocksize = inode->i_sb->s_blocksize; in gfs2_adjust_quota() 727 create_empty_buffers(page, blocksize, 0); in gfs2_adjust_quota() 730 pos = blocksize; in gfs2_adjust_quota() 734 pos += blocksize; in gfs2_adjust_quota() 743 zero_user(page, pos - blocksize, bh->b_size); in gfs2_adjust_quota()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 439 uint blocksize; /* Block size of SDIO transfers */ member 1419 (roundup(len, bus->blocksize) != rd->len)) { in brcmf_sdio_hdparse() 1586 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom() 1587 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom() 1814 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control() 1815 pad = bus->blocksize - (rdlen % bus->blocksize); in brcmf_sdio_read_control() 1816 if ((pad <= bus->roundup) && (pad < bus->blocksize) && in brcmf_sdio_read_control() 1879 if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { in brcmf_sdio_pad() 1880 *pad = bus->blocksize - (*rdlen % bus->blocksize); in brcmf_sdio_pad() 1881 if (*pad <= bus->roundup && *pad < bus->blocksize && in brcmf_sdio_pad() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | relocation.c | 1774 u32 blocksize; local 1823 blocksize = dest->nodesize; 1899 ret = btrfs_inc_extent_ref(trans, src, old_bytenr, blocksize, 1904 ret = btrfs_inc_extent_ref(trans, dest, new_bytenr, blocksize, 1909 ret = btrfs_free_extent(trans, src, new_bytenr, blocksize, 1915 ret = btrfs_free_extent(trans, dest, old_bytenr, blocksize, 2646 u32 blocksize; local 2710 blocksize = root->nodesize; 2739 node->eb->start, blocksize, 2808 u64 bytenr, u32 blocksize) argument [all …]
|
D | reada.c | 329 u32 blocksize; in reada_find_extent() local 349 blocksize = root->nodesize; in reada_find_extent() 359 length = blocksize; in reada_find_extent() 362 if (ret || !bbio || length < blocksize) in reada_find_extent()
|
D | ctree.c | 1573 static int close_blocks(u64 blocknr, u64 other, u32 blocksize) in close_blocks() argument 1575 if (blocknr < other && other - (blocknr + blocksize) < 32768) in close_blocks() 1577 if (blocknr > other && blocknr - (other + blocksize) < 32768) in close_blocks() 1636 u32 blocksize; in btrfs_realloc_node() local 1646 blocksize = root->nodesize; in btrfs_realloc_node() 1669 close = close_blocks(blocknr, other, blocksize); in btrfs_realloc_node() 1673 close = close_blocks(blocknr, other, blocksize); in btrfs_realloc_node() 1707 min(16 * blocksize, in btrfs_realloc_node() 1708 (end_slot - i) * blocksize)); in btrfs_realloc_node() 2248 u32 blocksize; in reada_for_search() local [all …]
|
D | scrub.c | 2424 u32 blocksize; in scrub_extent() local 2427 blocksize = sctx->sectorsize; in scrub_extent() 2433 blocksize = sctx->nodesize; in scrub_extent() 2439 blocksize = sctx->sectorsize; in scrub_extent() 2444 u64 l = min_t(u64, len, blocksize); in scrub_extent() 2565 u32 blocksize; in scrub_extent_for_parity() local 2568 blocksize = sctx->sectorsize; in scrub_extent_for_parity() 2570 blocksize = sctx->nodesize; in scrub_extent_for_parity() 2572 blocksize = sctx->sectorsize; in scrub_extent_for_parity() 2577 u64 l = min_t(u64, len, blocksize); in scrub_extent_for_parity()
|
D | extent-tree.c | 7514 struct btrfs_root *root, u32 blocksize) in use_block_rsv() argument 7526 ret = block_rsv_use_bytes(block_rsv, blocksize); in use_block_rsv() 7548 ret = reserve_metadata_bytes(root, block_rsv, blocksize, in use_block_rsv() 7559 ret = block_rsv_use_bytes(global_rsv, blocksize); in use_block_rsv() 7567 struct btrfs_block_rsv *block_rsv, u32 blocksize) in unuse_block_rsv() argument 7569 block_rsv_add_bytes(block_rsv, blocksize, 0); in unuse_block_rsv() 7592 u32 blocksize = root->nodesize; in btrfs_alloc_tree_block() local 7600 root->alloc_bytenr += blocksize; in btrfs_alloc_tree_block() 7604 block_rsv = use_block_rsv(trans, root, blocksize); in btrfs_alloc_tree_block() 7608 ret = btrfs_reserve_extent(root, blocksize, blocksize, in btrfs_alloc_tree_block() [all …]
|
D | extent_io.c | 2932 size_t blocksize = inode->i_sb->s_blocksize; in __do_readpage() local 2940 BUG_ON(blocksize != PAGE_SIZE); in __do_readpage() 2999 iosize = ALIGN(iosize, blocksize); in __do_readpage() 3384 size_t blocksize; in __extent_writepage_io() local 3420 blocksize = inode->i_sb->s_blocksize; in __extent_writepage_io() 3443 iosize = ALIGN(iosize, blocksize); in __extent_writepage_io() 4251 size_t blocksize = page->mapping->host->i_sb->s_blocksize; in extent_invalidatepage() local 4253 start += ALIGN(offset, blocksize); in extent_invalidatepage()
|
D | file.c | 2561 int blocksize = BTRFS_I(inode)->root->sectorsize; in btrfs_fallocate() local 2564 alloc_start = round_down(offset, blocksize); in btrfs_fallocate() 2565 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate() 2660 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
|
D | inode.c | 401 u64 blocksize = root->sectorsize; in compress_file_range() local 447 if (total_compressed <= blocksize && in compress_file_range() 462 num_bytes = ALIGN(end - start + 1, blocksize); in compress_file_range() 463 num_bytes = max(blocksize, num_bytes); in compress_file_range() 564 total_compressed = ALIGN(total_compressed, blocksize); in compress_file_range() 923 u64 blocksize = root->sectorsize; in cow_file_range() local 935 num_bytes = ALIGN(end - start + 1, blocksize); in cow_file_range() 936 num_bytes = max(blocksize, num_bytes); in cow_file_range() 4584 u32 blocksize = root->sectorsize; in btrfs_truncate_page() local 4593 if ((offset & (blocksize - 1)) == 0 && in btrfs_truncate_page() [all …]
|
D | tree-log.c | 2297 u32 blocksize; in walk_down_log_tree() local 2316 blocksize = root->nodesize; in walk_down_log_tree() 2352 bytenr, blocksize); in walk_down_log_tree()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_block.c | 1034 u32 blocksize; in i2o_block_probe() local 1092 if (!i2o_parm_field_get(i2o_dev, 0x0004, 1, &blocksize, 4) || in i2o_block_probe() 1093 !i2o_parm_field_get(i2o_dev, 0x0000, 3, &blocksize, 4)) { in i2o_block_probe() 1094 blk_queue_logical_block_size(queue, le32_to_cpu(blocksize)); in i2o_block_probe()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | eeprom.c | 952 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; in p54_read_eeprom() local 967 blocksize = min(eeprom_size, maxblocksize); in p54_read_eeprom() 969 offset, blocksize); in p54_read_eeprom() 973 offset += blocksize; in p54_read_eeprom() 974 eeprom_size -= blocksize; in p54_read_eeprom()
|
/linux-4.1.27/fs/f2fs/ |
D | super.c | 556 buf->f_bsize = sbi->blocksize; in f2fs_statfs() 825 unsigned int blocksize; in sanity_check_raw_super() local 843 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super() 844 if (blocksize != F2FS_BLKSIZE) { in sanity_check_raw_super() 847 blocksize); in sanity_check_raw_super() 903 sbi->blocksize = 1 << sbi->log_blocksize; in init_sb_info()
|
D | checkpoint.c | 561 unsigned long blk_size = sbi->blocksize; in validate_checkpoint() 614 unsigned long blk_size = sbi->blocksize; in get_valid_checkpoint()
|
D | file.c | 493 unsigned int blocksize = inode->i_sb->s_blocksize; in truncate_blocks() local 502 free_from = (pgoff_t)F2FS_BYTES_TO_BLK(from + blocksize - 1); in truncate_blocks()
|
D | f2fs.h | 651 unsigned int blocksize; /* block size */ member
|
D | segment.c | 1064 range->len < sbi->blocksize) in f2fs_trim_fs()
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_fs.h | 160 __u32 blocksize; /* filesystem (data) block size */ member 186 __u32 blocksize; /* filesystem (data) block size */ member
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | fw.c | 58 u32 blocksize = sizeof(u32); in _rtl8821ae_fw_block_write() local 63 blockcount = size / blocksize; in _rtl8821ae_fw_block_write() 64 remainsize = size % blocksize; in _rtl8821ae_fw_block_write() 67 offset = i * blocksize; in _rtl8821ae_fw_block_write() 73 offset = blockcount * blocksize; in _rtl8821ae_fw_block_write()
|
/linux-4.1.27/drivers/cdrom/ |
D | cdrom.c | 2063 int blocksize, int nblocks) in cdrom_read_cd() argument 2076 cgc->buflen = blocksize * nblocks; in cdrom_read_cd() 2934 int blocksize = 0, format = 0, lba; in mmc_ioctl_cdrom_read_data() local 2939 blocksize = CD_FRAMESIZE_RAW; in mmc_ioctl_cdrom_read_data() 2942 blocksize = CD_FRAMESIZE; in mmc_ioctl_cdrom_read_data() 2946 blocksize = CD_FRAMESIZE_RAW0; in mmc_ioctl_cdrom_read_data() 2956 cgc->buffer = kzalloc(blocksize, GFP_KERNEL); in mmc_ioctl_cdrom_read_data() 2963 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize); in mmc_ioctl_cdrom_read_data() 2972 ret = cdrom_switch_blocksize(cdi, blocksize); in mmc_ioctl_cdrom_read_data() 2976 ret = cdrom_read_cd(cdi, cgc, lba, blocksize, 1); in mmc_ioctl_cdrom_read_data() [all …]
|
/linux-4.1.27/sound/isa/wavefront/ |
D | wavefront_synth.c | 876 unsigned int blocksize; in wavefront_send_sample() local 1069 blocksize = max_blksize; in wavefront_send_sample() 1072 blocksize = ALIGN(length - written, 8); in wavefront_send_sample() 1081 for (i = 0; i < blocksize; i++) { in wavefront_send_sample() 1123 if (i < blocksize - 1) { in wavefront_send_sample()
|
/linux-4.1.27/drivers/target/ |
D | target_core_pscsi.c | 680 u32 blocksize; in pscsi_transport_complete() local 697 blocksize = (buf[9] << 16) | (buf[10] << 8) | in pscsi_transport_complete() 700 blocksize = (buf[13] << 16) | (buf[14] << 8) | in pscsi_transport_complete() 703 sd->sector_size = blocksize; in pscsi_transport_complete()
|
/linux-4.1.27/fs/jbd/ |
D | journal.c | 800 int start, int len, int blocksize) in journal_init_dev() argument 810 journal->j_blocksize = blocksize; in journal_init_dev() 1517 int offset, blocksize; in journal_convert_superblock_v1() local 1525 blocksize = be32_to_cpu(sb->s_blocksize); in journal_convert_superblock_v1() 1526 memset(&sb->s_feature_compat, 0, blocksize-offset); in journal_convert_superblock_v1()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_ioctl32.h | 191 __u32 blocksize; /* filesystem (data) block size */ member
|
D | xfs_fsops.c | 57 geo->blocksize = mp->m_sb.sb_blocksize; in xfs_fs_geometry()
|
/linux-4.1.27/fs/befs/ |
D | ChangeLog | 150 * Anton also told me that the blocksize is not allowed to be larger than 152 (blocksize > PAGE_SIZE), and refuse to mount in that case. What this 153 practically means is that 8k blocksize volumes won't work without a major 318 Changed to blocksize of filesystem.
|
/linux-4.1.27/include/linux/sunrpc/ |
D | gss_krb5.h | 66 const u32 blocksize; /* encryption blocksize */ member
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_diag.c | 97 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, in mdsk_init_io() argument 109 iib->block_size = blocksize; in mdsk_init_io()
|
/linux-4.1.27/Documentation/filesystems/ |
D | qnx6.txt | 54 addressing block holds up to blocksize / 4 bytes pointers to data blocks. 71 blocksize of the filesystem.
|
D | affs.txt | 63 bs=blksize Sets the blocksize to blksize. Valid block sizes are 512,
|
D | coda.txt | 495 long va_blocksize; /* blocksize preferred for i/o */
|
D | vfs.txt | 761 pagecache when the underlying blocksize != pagesize. If the required
|
/linux-4.1.27/drivers/crypto/ |
D | n2_core.c | 911 this_len = cipher_descriptor_len(nbytes, walk->blocksize); in n2_compute_chunks() 960 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); in n2_chunk_complete() 1053 iv_paddr = c->dest_final - rctx->walk.blocksize; in n2_do_chaining() 1067 rctx->walk.blocksize); in n2_do_chaining() 1074 rctx->walk.blocksize); in n2_do_chaining() 1077 rctx->walk.blocksize); in n2_do_chaining()
|
D | talitos.c | 1702 unsigned int blocksize = in ahash_process_req() local 1709 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req() 1720 to_hash_later = nbytes_to_hash & (blocksize - 1); in ahash_process_req() 1729 nbytes_to_hash -= blocksize; in ahash_process_req() 1730 to_hash_later = blocksize; in ahash_process_req() 1881 unsigned int blocksize = in ahash_setkey() local 1888 if (keylen <= blocksize) in ahash_setkey()
|
/linux-4.1.27/Documentation/s390/ |
D | DASD | 51 disk is formatted to a blocksize of 1024 bytes. Otherwise start_unit
|
D | Debugging390.txt | 1560 def vfb-<blocksize> <subchannel> <number blocks> 1561 blocksize is commonly 4096 for linux. 1563 format <subchannel> <driver letter e.g. x> (blksize <blocksize>
|
/linux-4.1.27/include/uapi/linux/ |
D | fuse.h | 620 uint32_t blocksize; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_cache.c | 839 int blocksize = cli->cl_import->imp_obd->obd_osfs.os_bsize ? : 4096; in osc_extent_finish() local 863 } else if (blocksize < PAGE_CACHE_SIZE && in osc_extent_finish() 869 int count = oap->oap_count + (offset & (blocksize - 1)); in osc_extent_finish() 870 int end = (offset + oap->oap_count) & (blocksize - 1); in osc_extent_finish() 872 count += blocksize - end; in osc_extent_finish()
|
/linux-4.1.27/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 585 u32 blocksize; member
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-fs-nilfs2 | 24 What: /sys/fs/nilfs2/<device>/blocksize
|
/linux-4.1.27/Documentation/filesystems/pohmelfs/ |
D | network_protocol.txt | 150 unsigned int blocksize;
|
/linux-4.1.27/fs/nfs/ |
D | nfs2xdr.c | 301 fattr->du.nfs2.blocksize = be32_to_cpup(p++); in decode_fattr()
|
D | nfs4xdr.c | 4905 uint32_t limit_type, nblocks, blocksize; in decode_space_limit() local 4917 blocksize = be32_to_cpup(p); in decode_space_limit() 4918 *maxsize = (uint64_t)nblocks * (uint64_t)blocksize; in decode_space_limit()
|
/linux-4.1.27/fs/jbd2/ |
D | journal.c | 1143 unsigned long long start, int len, int blocksize) in jbd2_journal_init_dev() argument 1154 journal->j_blocksize = blocksize; in jbd2_journal_init_dev()
|
/linux-4.1.27/drivers/s390/char/ |
D | tape_core.c | 167 DEVICE_ATTR(blocksize, 0444, tape_blocksize_show, NULL);
|
/linux-4.1.27/Documentation/vm/ |
D | cleancache.txt | 233 - Currently, the FS blocksize must be the same as PAGESIZE. This
|
/linux-4.1.27/Documentation/cdrom/ |
D | ide-cd | 324 blocksize of 2048 when mounting. (Note that you won't be able to
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | CHANGES | 232 EINVAL on readdir when filldir fails due to overwritten blocksize 527 blocksize of 512 is required for calculating number of blocks in inode).
|
/linux-4.1.27/Documentation/scsi/ |
D | ChangeLog.1992-1997 | 1808 dma_pool. Store blocksize information for each partition. 1812 * sr.c: Set up blocksize array for all discs. Fix bug in freeing
|
/linux-4.1.27/fs/fuse/ |
D | file.c | 2225 inarg.blocksize = inode->i_sb->s_blocksize; in fuse_bmap()
|