/linux-master/drivers/target/ |
H A D | target_core_file.c | 293 aio_cmd->iocb.ki_pos = cmd->t_task_lba * dev->dev_attrib.block_size; 313 u32 block_size, struct scatterlist *sgl, 320 loff_t pos = (cmd->t_task_lba * block_size); 405 start = cmd->t_task_lba * dev->dev_attrib.block_size; 432 loff_t pos = cmd->t_task_lba * se_dev->dev_attrib.block_size; 449 cmd->t_data_sg[0].length != cmd->se_dev->dev_attrib.block_size) { 451 " block_size: %u\n", 454 cmd->se_dev->dev_attrib.block_size); 466 len += se_dev->dev_attrib.block_size; 566 loff_t pos = lba * se_dev->dev_attrib.block_size; 312 fd_do_rw(struct se_cmd *cmd, struct file *fd, u32 block_size, struct scatterlist *sgl, u32 sgl_nents, u32 data_length, int is_write) argument [all...] |
H A D | target_core_xcopy.c | 579 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/net/ethernet/mellanox/mlxsw/ |
H A D | i2c.c | 76 * @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 D | rsi_91x_usb.c | 505 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 D | rsi_91x_sdio.c | 365 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 D | aspeed-hace-hash.c | 123 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 D | dasd_diag.h | 60 u32 block_size; member in struct:dasd_diag_init_io
|
/linux-master/drivers/mtd/ |
H A D | sm_ftl.h | 32 int block_size; /* block size in bytes */ member in struct:sm_ftl
|
H A D | rfd_ftl.c | 26 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 D | cc_buffer_mgr.h | 62 unsigned int block_size, gfp_t flags);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | page_64.h | 55 onex = ppc64_caches.l1d.block_size;
|
/linux-master/include/uapi/linux/ |
H A D | fsverity.h | 22 __u32 block_size; member in struct:fsverity_enable_arg
|
H A D | loop.h | 71 * @block_size: block size to use; ignored if 0. 79 __u32 block_size; member in struct:loop_config
|
H A D | virtio_mem.h | 193 __le64 block_size; member in struct:virtio_mem_config
|
/linux-master/fs/reiserfs/ |
H A D | tail_conversion.c | 213 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 D | dcn20_vmid.c | 90 VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE, config->block_size);
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | io-factory.h | 38 size_t block_size, unsigned int reserved_buffers,
|
/linux-master/fs/squashfs/ |
H A D | super.c | 259 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 D | rmi_f34.c | 149 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 D | rmi_f34v7.c | 521 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 D | dmasound_core.c | 482 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 D | ac97c.c | 189 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 D | spi-intel.c | 546 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 D | st.c | 697 if (STp->block_size == 0) 700 STps->drv_block += STbuffer->writing / STp->block_size; 788 blks = transfer / STp->block_size; 852 if (STp->block_size == 0) 856 (STp->buffer)->read_pointer) / STp->block_size - 857 ((STp->buffer)->read_pointer + STp->block_size - 1) / 858 STp->block_size; 902 STm->default_blksize != STp->block_size) { 906 arg |= STp->block_size; 1103 STp->block_size [all...] |
/linux-master/drivers/memstick/core/ |
H A D | ms_block.h | 76 unsigned short block_size; member in struct:ms_boot_attr_info 170 int block_size; member in struct:msb_data
|