Searched refs:block_size (Results 51 - 75 of 325) sorted by relevance

1234567891011>>

/linux-master/fs/verity/
H A Dfsverity_private.h26 unsigned int block_size; /* block size in bytes, e.g. 64 for SHA-256 */ member in struct:fsverity_hash_alg
39 unsigned int block_size; /* size of data and tree blocks */ member in struct:merkle_tree_params
41 unsigned int blocks_per_page; /* PAGE_SIZE / block_size */
43 u8 log_blocksize; /* log2(block_size) */
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Di2c.c76 * @block_size: maximum block size allowed to pass to under layer;
92 u16 block_size; member in struct:mlxsw_i2c
344 tran_buf = kmalloc(mlxsw_i2c->block_size + MLXSW_I2C_ADDR_BUF_SIZE,
351 chunk_size = (in_mbox_size > mlxsw_i2c->block_size) ?
352 mlxsw_i2c->block_size : in_mbox_size;
356 mlxsw_i2c->block_size * i, chunk_size);
427 num = DIV_ROUND_UP(reg_size, mlxsw_i2c->block_size);
446 num = DIV_ROUND_UP(reg_size, mlxsw_i2c->block_size);
462 chunk_size = (reg_size > mlxsw_i2c->block_size) ?
463 mlxsw_i2c->block_size
[all...]
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_usb.c505 u32 instructions_sz, u16 block_size,
513 num_blocks = instructions_sz / block_size;
516 for (cur_indx = 0, i = 0; i < num_blocks; i++, cur_indx += block_size) {
517 memcpy(temp_buf, ta_firmware + cur_indx, block_size);
520 block_size);
525 base_address += block_size;
528 if (instructions_sz % block_size) {
529 memset(temp_buf, 0, block_size);
531 instructions_sz % block_size);
535 instructions_sz % block_size);
503 rsi_usb_load_data_master_write(struct rsi_hw *adapter, u32 base_address, u32 instructions_sz, u16 block_size, u8 *ta_firmware) argument
[all...]
H A Drsi_91x_sdio.c365 adapter->block_size = dev->pfunction->max_blksize;
559 u16 block_size,
567 num_blocks = instructions_sz / block_size;
573 temp_buf = kmalloc(block_size, GFP_KERNEL);
584 for (offset = 0, i = 0; i < num_blocks; i++, offset += block_size) {
585 memcpy(temp_buf, ta_firmware + offset, block_size);
590 temp_buf, block_size);
596 base_address += block_size;
613 if (instructions_sz % block_size) {
614 memset(temp_buf, 0, block_size);
556 rsi_sdio_load_data_master_write(struct rsi_hw *adapter, u32 base_address, u32 instructions_sz, u16 block_size, u8 *ta_firmware) argument
758 u32 block_size = dev->tx_blk_size; local
[all...]
/linux-master/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c123 remain = length % rctx->block_size;
174 remain = (rctx->total + rctx->bufcnt) % rctx->block_size;
205 rctx->block_size * 2,
260 rctx->block_size * 2, DMA_TO_DEVICE);
301 rctx->block_size * 2, DMA_TO_DEVICE);
362 rctx->block_size * 2, DMA_TO_DEVICE);
365 memcpy(rctx->buffer, bctx->opad, rctx->block_size);
366 memcpy(rctx->buffer + rctx->block_size, rctx->digest, rctx->digsize);
368 rctx->bufcnt = rctx->block_size + rctx->digsize;
369 rctx->digcnt[0] = rctx->block_size
[all...]
/linux-master/drivers/s390/block/
H A Ddasd_diag.h60 u32 block_size; member in struct:dasd_diag_init_io
/linux-master/drivers/mtd/
H A Dsm_ftl.h32 int block_size; /* block size in bytes */ member in struct:sm_ftl
H A Drfd_ftl.c26 static int block_size = 0; variable
27 module_param(block_size, int, 0);
28 MODULE_PARM_DESC(block_size, "Block size to use by RFD, defaults to erase unit size");
74 u_int block_size; /* size of erase unit */ member in struct:partition
98 block->offset = part->block_size * block_no;
158 sectors_per_block = part->block_size / SECTOR_SIZE;
159 part->total_blocks = (u32)part->mbd.mtd->size / part->block_size;
202 rc = mtd_read(part->mbd.mtd, i * part->block_size,
278 erase->len = part->block_size;
418 old_sector_block = *old_sector / part->block_size;
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_buffer_mgr.h62 unsigned int block_size, gfp_t flags);
/linux-master/arch/powerpc/include/asm/
H A Dpage_64.h55 onex = ppc64_caches.l1d.block_size;
/linux-master/include/uapi/linux/
H A Dfsverity.h22 __u32 block_size; member in struct:fsverity_enable_arg
H A Dvirtio_mem.h191 __le64 block_size; member in struct:virtio_mem_config
H A Dloop.h71 * @block_size: block size to use; ignored if 0.
79 __u32 block_size; member in struct:loop_config
/linux-master/fs/reiserfs/
H A Dtail_conversion.c213 unsigned long block_size = sb->s_blocksize; local
228 tail_len = (n_new_file_size & (block_size - 1));
294 return block_size - round_tail_len;
317 return block_size - round_tail_len;
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_vmid.c90 VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE, config->block_size);
/linux-master/drivers/md/dm-vdo/indexer/
H A Dio-factory.h38 size_t block_size, unsigned int reserved_buffers,
/linux-master/fs/squashfs/
H A Dsuper.c259 msblk->block_size = le32_to_cpu(sblk->block_size);
260 if (msblk->block_size > SQUASHFS_FILE_MAX_SIZE)
267 if (PAGE_SIZE > msblk->block_size) {
269 "currently not supported!", msblk->block_size);
278 /* Check that block_size and block_log match */
279 if (msblk->block_size != (1 << msblk->block_log))
300 TRACE("Block size %d\n", msblk->block_size);
326 msblk->max_thread_num, msblk->block_size);
408 SQUASHFS_CACHED_FRAGMENTS, msblk->block_size);
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_f34.c149 data, f34->v5.block_size);
167 data += f34->v5.block_size;
168 f34->update_progress += f34->v5.block_size;
266 if (image_size && image_size != f34->v5.fw_blocks * f34->v5.block_size) {
269 image_size, f34->v5.fw_blocks * f34->v5.block_size);
275 config_size != f34->v5.config_blocks * f34->v5.block_size) {
279 f34->v5.config_blocks * f34->v5.block_size);
555 f34->v5.block_size = get_unaligned_le16(&f34_queries[3]);
559 f34->v5.block_size;
565 f34->v5.block_size);
[all...]
H A Drmi_f34v7.c521 f34->v7.block_size = le16_to_cpu(query_1_7.block_size);
526 rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "%s: f34->v7.block_size = %d\n",
527 __func__, f34->v7.block_size);
593 block_count = f34->v7.img.bl_config.size / f34->v7.block_size;
651 (u16)(PAGE_SIZE / f34->v7.block_size));
680 transfer * f34->v7.block_size);
688 index += (transfer * f34->v7.block_size);
722 if (f34->v7.payload_length > (PAGE_SIZE / f34->v7.block_size))
723 max_transfer = PAGE_SIZE / f34->v7.block_size;
[all...]
/linux-master/sound/oss/dmasound/
H A Ddmasound_core.c482 sq->block_size = sq->bufSize;
492 sq->block_size = sq->user_frag_size ;
493 sq->block_size *=
495 sq->block_size /=
498 sq->block_size *= dmasound.hard.speed ;
499 sq->block_size /= dmasound.soft.speed ;
503 sq->block_size += (hard_frame - 1) ;
504 sq->block_size &= ~(hard_frame - 1) ; /* make sure we are aligned */
506 if ( sq->block_size <= 0 || sq->block_size > s
[all...]
/linux-master/sound/atmel/
H A Dac97c.c189 int block_size = frames_to_bytes(runtime, runtime->period_size); local
260 writel(block_size / 2, chip->regs + ATMEL_PDC_TCR);
261 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_TNPR);
262 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR);
271 int block_size = frames_to_bytes(runtime, runtime->period_size); local
342 writel(block_size / 2, chip->regs + ATMEL_PDC_RCR);
343 writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_RNPR);
344 writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR);
475 int offset, next_period, block_size; local
485 block_size
[all...]
/linux-master/drivers/spi/
H A Dspi-intel.c546 size_t block_size, nbytes = op->data.nbytes; local
559 block_size = min_t(size_t, nbytes, INTEL_SPI_FIFO_SZ);
562 block_size = min_t(loff_t, addr + block_size,
570 val |= (block_size - 1) << HSFSTS_CTL_FDBC_SHIFT;
590 ret = intel_spi_read_block(ispi, read_buf, block_size);
594 nbytes -= block_size;
595 addr += block_size;
596 read_buf += block_size;
607 size_t block_size, nbyte local
[all...]
/linux-master/drivers/scsi/
H A Dst.c698 if (STp->block_size == 0)
701 STps->drv_block += STbuffer->writing / STp->block_size;
789 blks = transfer / STp->block_size;
853 if (STp->block_size == 0)
857 (STp->buffer)->read_pointer) / STp->block_size -
858 ((STp->buffer)->read_pointer + STp->block_size - 1) /
859 STp->block_size;
903 STm->default_blksize != STp->block_size) {
907 arg |= STp->block_size;
1104 STp->block_size
[all...]
/linux-master/drivers/target/
H A Dtarget_core_xcopy.c579 u32 transfer_length_block = src_bytes / src_dev->dev_attrib.block_size;
624 u32 transfer_length_block = dst_bytes / dst_dev->dev_attrib.block_size;
700 max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size);
708 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size);
709 unsigned short cur_nolb = cur_bytes / src_dev->dev_attrib.block_size;
733 src_lba += cur_bytes / src_dev->dev_attrib.block_size;
745 dst_lba += cur_bytes / dst_dev->dev_attrib.block_size;
750 nolb -= cur_bytes / src_dev->dev_attrib.block_size;
760 copied_bytes / dst_dev->dev_attrib.block_size, copied_bytes);
852 if (xop->src_dev->dev_attrib.block_size !
[all...]
/linux-master/drivers/memstick/core/
H A Dms_block.h76 unsigned short block_size; member in struct:ms_boot_attr_info
170 int block_size; member in struct:msb_data

Completed in 186 milliseconds

1234567891011>>