Home
last modified time | relevance | path

Searched refs:blocksize (Results 76 – 100 of 242) sorted by relevance

12345678910

/openbmc/linux/arch/m68k/emu/
H A Dnfblock.c41 u32 *blocksize) in nfhd_get_capacity() argument
44 virt_to_phys(blocks), virt_to_phys(blocksize)); in nfhd_get_capacity()
/openbmc/u-boot/drivers/mmc/
H A Dpxa_mmc_gen.c192 len = data->blocks * data->blocksize; in pxa_mmc_do_read_xfer()
228 len = data->blocks * data->blocksize; in pxa_mmc_do_write_xfer()
277 writel(data->blocksize, &regs->blklen); in pxa_mmc_request()
H A Djz_mmc.c140 int sz = DIV_ROUND_UP(data->blocks * data->blocksize, 4); in jz_mmc_write_data()
160 int sz = data->blocks * data->blocksize; in jz_mmc_read_data()
217 writel(data->blocksize, priv->regs + MSC_BLKLEN); in jz_mmc_send_cmd()
H A Dsunxi_mmc.c313 unsigned byte_cnt = data->blocksize * data->blocks; in mmc_trans_data_by_cpu()
396 writel(data->blocksize, &priv->reg->blksz); in sunxi_mmc_send_cmd_common()
397 writel(data->blocks * data->blocksize, &priv->reg->bytecnt); in sunxi_mmc_send_cmd_common()
415 bytecnt = data->blocksize * data->blocks; in sunxi_mmc_send_cmd_common()
H A Dsdhci.c61 for (i = 0; i < data->blocksize; i += 4) { in sdhci_transfer_pio()
97 data->dest += data->blocksize; in sdhci_transfer_data()
214 trans_bytes = data->blocks * data->blocksize;
249 data->blocksize),
H A Dbcm2835_sdhost.c273 size_t blksize = data->blocksize; in bcm2835_transfer_block_pio()
385 writel(data->blocksize, host->ioaddr + SDHBCT); in bcm2835_prepare_data()
663 if (data && !is_power_of_2(data->blocksize)) { in bcm2835_send_cmd()
664 printf("unsupported block size (%d bytes)\n", data->blocksize); in bcm2835_send_cmd()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.c790 blocksize); in handle_ahash_req()
900 unsigned int blocksize = in spu_hmac_outer_hash() local
999 unsigned int blocksize = in handle_ahash_resp() local
2319 unsigned int blocksize = in ahash_hmac_setkey() local
2329 if (keylen > blocksize) { in ahash_hmac_setkey()
2421 unsigned int blocksize = in ahash_hmac_init() local
2435 rctx->hash_carry_len = blocksize; in ahash_hmac_init()
2436 rctx->total_todo += blocksize; in ahash_hmac_init()
2471 unsigned int blocksize = in ahash_hmac_digest() local
2496 rctx->total_todo += blocksize; in ahash_hmac_digest()
[all …]
H A Dspu.h223 unsigned int blocksize);
226 unsigned int blocksize);
/openbmc/linux/include/linux/ssb/
H A Dssb_driver_mips.h28 u32 blocksize; member
/openbmc/linux/Documentation/filesystems/ext4/
H A Dorphan.rst31 blocksize-8 __le32 ob_magic Magic value stored in orphan
33 blocksize-4 __le32 ob_checksum Checksum of the orphan block.
/openbmc/linux/fs/fat/
H A Dcache.c337 const unsigned long blocksize = sb->s_blocksize; in is_exceed_eof() local
340 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof()
349 *last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) in is_exceed_eof()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-cipher.c645 size_t ivsize, keysize, blocksize; in test_cipher() local
677 blocksize = qcrypto_cipher_get_block_len(data->alg); in test_cipher()
687 g_assert_cmpint(blocksize, ==, niv); in test_cipher()
/openbmc/linux/fs/exfat/
H A Dfile.c195 unsigned int blocksize = i_blocksize(inode); in exfat_truncate() local
215 if (aligned_size & (blocksize - 1)) { in exfat_truncate()
216 aligned_size |= (blocksize - 1); in exfat_truncate()
/openbmc/linux/drivers/mtd/devices/
H A Dbcm47xxsflash.h74 u32 blocksize; member
/openbmc/linux/fs/reiserfs/
H A Dstree.c408 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh) in is_leaf() argument
425 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) { in is_leaf()
432 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); in is_leaf()
435 if (used_space != blocksize - blkh_free_space(blkh)) { in is_leaf()
447 prev_location = blocksize; in is_leaf()
455 if (ih_location(ih) >= blocksize in is_leaf()
463 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { in is_leaf()
492 static int is_internal(char *buf, int blocksize, struct buffer_head *bh) in is_internal() argument
509 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { in is_internal()
516 if (used_space != blocksize - blkh_free_space(blkh)) { in is_internal()
/openbmc/linux/drivers/mmc/host/
H A Dsh_mmcif.c235 size_t blocksize; member
607 host->sg_blkidx += host->blocksize; in sh_mmcif_next_block()
626 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_single_read()
648 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_read_block()
666 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_multi_read()
692 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_mread_block()
706 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_single_write()
728 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_write_block()
746 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & in sh_mmcif_multi_write()
772 for (i = 0; i < host->blocksize / 4; i++) in sh_mmcif_mwrite_block()
/openbmc/linux/fs/ntfs3/
H A Dbitmap.c504 u32 blocksize = sb->s_blocksize; in wnd_rescan() local
613 vbo += blocksize; in wnd_rescan()
615 len -= blocksize; in wnd_rescan()
616 lbo += blocksize; in wnd_rescan()
647 u32 blocksize = sb->s_blocksize; in wnd_init() local
648 u32 wbits = blocksize * 8; in wnd_init()
1339 u32 blocksize = sb->s_blocksize; in wnd_extend() local
1340 u32 wbits = blocksize * 8; in wnd_extend()
1381 vbo = (u64)iw * blocksize; in wnd_extend()
1393 ntfs_bitmap_clear_le(bh->b_data, b0, blocksize * 8 - b0); in wnd_extend()
/openbmc/u-boot/include/
H A Dfpga.h41 unsigned int blocksize; member
/openbmc/linux/drivers/block/null_blk/
H A Dmain.c410 NULLB_DEVICE_ATTR(blocksize, uint, NULL);
723 dev->blocksize = g_bs; in null_alloc_dev()
1066 i += (nullb->dev->blocksize >> SECTOR_SHIFT)) { in null_flush_cache_page()
1070 nullb->dev->blocksize); in null_flush_cache_page()
1146 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_to_nullb()
1178 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_from_nullb()
1211 temp = min_t(size_t, n, dev->blocksize); in null_handle_discard()
2016 dev->blocksize = round_down(dev->blocksize, 512); in null_validate_conf()
2017 dev->blocksize = clamp_t(unsigned int, dev->blocksize, 512, 4096); in null_validate_conf()
2166 blk_queue_logical_block_size(nullb->q, dev->blocksize); in null_add_dev()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c574 int rval = 0, blocksize; in nand_write_skip_bad() local
583 blocksize = mtd->erasesize; in nand_write_skip_bad()
647 if (left_to_write < (blocksize - block_offset)) in nand_write_skip_bad()
650 write_size = blocksize - block_offset; in nand_write_skip_bad()
/openbmc/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c521 uint32_t blocksize = 512; in vub_get_blocksize() local
524 if (ioctl(fd, BLKSSZGET, &blocksize) == 0) { in vub_get_blocksize()
525 return blocksize; in vub_get_blocksize()
529 return blocksize; in vub_get_blocksize()
/openbmc/qemu/crypto/
H A Dcipher-builtin.c.inc37 static inline bool qcrypto_length_check(size_t len, size_t blocksize,
40 if (unlikely(len & (blocksize - 1))) {
42 len, blocksize);
/openbmc/linux/drivers/usb/atm/
H A Dueagle-atm.c725 u16 blocksize; in check_dsp_e1() local
763 if (pp + blocksize > len) in check_dsp_e1()
766 pp += blocksize; in check_dsp_e1()
907 u16 blockaddr, blocksize; in uea_load_page_e1() local
948 blocksize = get_unaligned_le16(p); in uea_load_page_e1()
951 bi.wSize = cpu_to_le16(blocksize); in uea_load_page_e1()
960 if (uea_idma_write(sc, p, blocksize)) in uea_load_page_e1()
963 p += blocksize; in uea_load_page_e1()
989 unsigned int blocksize; in __uea_load_page_e4() local
996 bi.dwSize = cpu_to_be32(blocksize); in __uea_load_page_e4()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c98 unsigned blocksize; member
207 return color_formats_table[format].blocksize; in r600_fmt_get_blocksize()
244 u32 blocksize; member
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()
384 array_check.blocksize = r600_fmt_get_blocksize(format); in r600_cs_track_validate_cb()
579 array_check.blocksize = bpe; in r600_cs_track_validate_db()
1413 unsigned blocksize; in r600_texture_size() local
1418 blocksize = r600_fmt_get_blocksize(format); in r600_texture_size()
1435 size = nbx * nby * blocksize * nsamples; in r600_texture_size()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dzynqmppl.c169 size_t bsize, u32 blocksize, u32 *swap) in zynqmp_validate_bitstream() argument
174 buf_start = check_data((u8 *)buf, blocksize, swap); in zynqmp_validate_bitstream()

12345678910