/drivers/s390/char/ |
H A D | tape_char.c | 97 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) argument 102 device->char_data.idal_buf->size == block_size) 105 if (block_size > MAX_BLOCKSIZE) { 107 block_size, MAX_BLOCKSIZE); 112 new = idal_buffer_alloc(block_size, 0); 132 size_t block_size; local 148 if (device->char_data.block_size != 0) { 149 if (count < device->char_data.block_size) { 154 block_size = device->char_data.block_size; 190 size_t block_size; local [all...] |
H A D | tape_proc.c | 60 if (device->char_data.block_size == 0) 63 seq_printf(m, "%i\t", device->char_data.block_size);
|
/drivers/net/wireless/rsi/ |
H A D | rsi_91x_usb_ops.c | 41 u32 block_size = dev->tx_blk_size; local 47 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { 52 block_size)) { 59 base_address += block_size; 62 if (len % block_size) { 67 len % block_size)) { 137 u32 block_size = dev->tx_blk_size; local 155 num_blocks = (len / block_size);
|
H A D | rsi_91x_sdio_ops.c | 84 u32 block_size = dev->tx_blk_size; local 96 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { 101 block_size)) { 108 base_address += block_size; 121 if (len % block_size) { 126 len % block_size)) { 177 u32 block_size = dev->tx_blk_size; local 210 num_blocks = (len / block_size);
|
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | mm.h | 22 u32 block_size; member in struct:nouveau_mm 29 return mm->block_size != 0;
|
/drivers/block/rsxx/ |
H A D | rsxx_cfg.h | 44 __u32 block_size; member in struct:card_cfg_data
|
/drivers/md/persistent-data/ |
H A D | dm-block-manager.h | 35 struct block_device *bdev, unsigned block_size, 52 void (*prepare_for_write)(struct dm_block_validator *v, struct dm_block *b, size_t block_size); 57 int (*check)(struct dm_block_validator *v, struct dm_block *b, size_t block_size);
|
H A D | dm-btree-spine.c | 20 size_t block_size); 24 size_t block_size) 31 block_size - sizeof(__le32), 39 size_t block_size) 54 block_size - sizeof(__le32), 65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { 22 node_prepare_for_write(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument 37 node_check(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument
|
H A D | dm-space-map-common.c | 24 size_t block_size) 30 block_size - sizeof(__le32), 36 size_t block_size) 48 block_size - sizeof(__le32), 74 size_t block_size) 80 block_size - sizeof(__le32), 86 size_t block_size) 98 block_size - sizeof(__le32), 215 ll->block_size = dm_bm_block_size(dm_tm_get_bm(tm)); 217 if (ll->block_size > ( 22 index_prepare_for_write(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument 34 index_check(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument 72 bitmap_prepare_for_write(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument 84 bitmap_check(struct dm_block_validator *v, struct dm_block *b, size_t block_size) argument [all...] |
/drivers/staging/comedi/ |
H A D | comedi_buf.c | 302 int block_size = num_bytes - count; local 306 if (block_size > buf_end) 307 block_size = buf_end; 311 block_size, async->munge_chan); 319 async->munge_chan += block_size / num_sample_bytes; 321 async->munge_count += block_size; 322 async->munge_ptr += block_size; 324 count += block_size; 469 unsigned int block_size; local 472 block_size 497 unsigned int block_size; local [all...] |
/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 63 unsigned int block_size = local 72 if (!final && (len <= block_size)) { 84 rctx->hash_rem = final ? 0 : len & (block_size - 1); 88 rctx->hash_cnt -= block_size; 89 rctx->hash_rem = block_size; 153 unsigned int block_size = local 163 memcpy(rctx->buf, ctx->u.sha.ipad, block_size); 164 rctx->buf_count = block_size; 204 unsigned int block_size = crypto_shash_blocksize(shash); local 216 if (key_len > block_size) { 296 u32 block_size; member in struct:ccp_sha_def [all...] |
H A D | ccp-crypto-aes-cmac.c | 64 unsigned int block_size = local 79 if (!final && (len <= block_size)) { 91 rctx->hash_rem = final ? 0 : len & (block_size - 1); 95 rctx->hash_cnt -= block_size; 96 rctx->hash_rem = block_size; 99 if (final && (rctx->null_msg || (len & (block_size - 1)))) 126 int pad_length = block_size - (len & (block_size - 1));
|
/drivers/ide/ |
H A D | ide-gd.h | 33 int blocks, block_size, bs_factor; member in struct:ide_disk_obj
|
/drivers/gpu/drm/vmwgfx/ |
H A D | svga3d_surfacedefs.h | 208 surf_size_struct block_size; member in struct:svga3d_surface_desc 754 surf_size_struct *block_size) 756 block_size->width = DIV_ROUND_UP(pixel_size->width, 757 desc->block_size.width); 758 block_size->height = DIV_ROUND_UP(pixel_size->height, 759 desc->block_size.height); 760 block_size->depth = DIV_ROUND_UP(pixel_size->depth, 761 desc->block_size.depth); 870 const u32 bw = desc->block_size.width, bh = desc->block_size 752 svga3dsurface_get_size_in_blocks(const struct svga3d_surface_desc *desc, const surf_size_struct *pixel_size, surf_size_struct *block_size) argument [all...] |
/drivers/target/ |
H A D | target_core_iblock.c | 219 u32 block_size = bdev_logical_block_size(bd); local 221 if (block_size == dev->dev_attrib.block_size) 224 switch (block_size) { 226 switch (dev->dev_attrib.block_size) { 240 switch (dev->dev_attrib.block_size) { 255 switch (dev->dev_attrib.block_size) { 270 switch (dev->dev_attrib.block_size) { 469 sg->length != cmd->se_dev->dev_attrib.block_size) { 471 " block_size [all...] |
H A D | target_core_sbc.c | 73 buf[4] = (dev->dev_attrib.block_size >> 24) & 0xff; 74 buf[5] = (dev->dev_attrib.block_size >> 16) & 0xff; 75 buf[6] = (dev->dev_attrib.block_size >> 8) & 0xff; 76 buf[7] = dev->dev_attrib.block_size & 0xff; 106 buf[8] = (dev->dev_attrib.block_size >> 24) & 0xff; 107 buf[9] = (dev->dev_attrib.block_size >> 16) & 0xff; 108 buf[10] = (dev->dev_attrib.block_size >> 8) & 0xff; 109 buf[11] = dev->dev_attrib.block_size & 0xff; 176 return cmd->se_dev->dev_attrib.block_size * sectors; 385 unsigned int block_size local 1127 int block_size = dev->dev_attrib.block_size; local [all...] |
H A D | target_core_file.c | 272 prot_size = (cmd->data_length / se_dev->dev_attrib.block_size) * 335 loff_t pos = (cmd->t_task_lba * se_dev->dev_attrib.block_size); 416 start = cmd->t_task_lba * dev->dev_attrib.block_size; 443 unsigned int block_size = se_dev->dev_attrib.block_size; local 467 memcpy(p, kmap_buf, block_size); 469 i += block_size; 470 p += block_size; 487 loff_t pos = cmd->t_task_lba * se_dev->dev_attrib.block_size; 499 sg->length != cmd->se_dev->dev_attrib.block_size) { [all...] |
/drivers/gpu/drm/nouveau/core/core/ |
H A D | mm.c | 132 s = roundup(s, mm->block_size); 136 e = rounddown(e, mm->block_size); 204 s = roundup(s, mm->block_size); 208 e = rounddown(e, mm->block_size); 255 BUG_ON(block != mm->block_size); 259 mm->block_size = block; 268 node->offset = roundup(offset, mm->block_size); 269 node->length = rounddown(offset + length, mm->block_size);
|
/drivers/net/wireless/cw1200/ |
H A D | fwio.c | 179 size_t block_size; local 205 tx_size = block_size = min_t(size_t, firmware->size - put, 208 memcpy(buf, &firmware->data[put], block_size); 209 if (block_size < DOWNLOAD_BLOCK_SIZE) { 210 memset(&buf[block_size], 0, 211 DOWNLOAD_BLOCK_SIZE - block_size); 227 put += block_size;
|
/drivers/mtd/ |
H A D | sm_ftl.c | 200 WARN_ON(boffset >= ftl->block_size); 205 return (zone * SM_MAX_ZONE_SIZE + block) * ftl->block_size + boffset; 212 *boffset = do_div(offset, ftl->block_size); 380 for (boffset = 0; boffset < ftl->block_size; 447 for (boffset = 0; boffset < ftl->block_size; boffset += SM_SECTOR_SIZE) 465 erase.len = ftl->block_size; 522 for (boffset = 0; boffset < ftl->block_size; 587 ftl->block_size = 8 * SM_SECTOR_SIZE; 596 ftl->block_size = 8 * SM_SECTOR_SIZE; 606 ftl->block_size [all...] |
/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 152 u16 *block_ptr, block_size; local 155 block_size = *block_ptr; 156 return block_size; 343 u16 block_size; local 361 block_size = get_blocksize(p_defs); 363 child_device_num = (block_size - sizeof(*p_defs)) / 453 u16 block_size; local 471 block_size = get_blocksize(p_defs); 473 child_device_num = (block_size - sizeof(*p_defs)) /
|
/drivers/dma/ |
H A D | coh901318_lli.c | 199 size_t block_size = MAX_DMA_PACKET_SIZE; local 209 block_size = MAX_DMA_PACKET_SIZE/2; 211 s -= block_size; 218 src += block_size; 220 dst += block_size;
|
/drivers/scsi/esas2r/ |
H A D | esas2r_targdb.c | 146 || dc->block_size == 0) { 156 t->block_size = dc->block_size; 158 t->inter_block = dc->interleave / dc->block_size; 205 t->block_size = 0;
|
/drivers/md/ |
H A D | dm-bufio.c | 94 unsigned block_size; member in struct:dm_bufio_client 328 if (c->block_size <= DM_BUFIO_BLOCK_SIZE_SLAB_LIMIT) { 333 if (c->block_size <= DM_BUFIO_BLOCK_SIZE_GFP_LIMIT && 355 ptr = __vmalloc(c->block_size, gfp_mask | __GFP_HIGHMEM, PAGE_KERNEL); 408 adjust_total_allocated(b->data_mode, (long)c->block_size); 420 adjust_total_allocated(b->data_mode, -(long)c->block_size); 517 .count = b->c->block_size >> SECTOR_SHIFT, 553 len = b->c->block_size; 564 BUG_ON(b->c->block_size <= PAGE_SIZE); 582 if (b->c->block_size < 1519 dm_bufio_client_create(struct block_device *bdev, unsigned block_size, unsigned reserved_buffers, unsigned aux_size, void (*alloc_callback)(struct dm_buffer *), void (*write_callback)(struct dm_buffer *)) argument [all...] |
/drivers/s390/block/ |
H A D | dasd_diag.h | 61 u32 block_size; member in struct:dasd_diag_init_io 102 u32 block_size; member in struct:dasd_diag_init_io
|