/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubbub.c | 336 enum dcn_hubbub_page_table_block_size block_size = 0; local 340 block_size = DCN_PAGE_TABLE_BLOCK_SIZE_4KB; 343 block_size = DCN_PAGE_TABLE_BLOCK_SIZE_64KB; 346 block_size = DCN_PAGE_TABLE_BLOCK_SIZE_32KB; 350 block_size = page_table_block_size; 354 return block_size; 367 virt_config.block_size = page_table_block_size_to_hw(va_config->page_table_block_size); 402 phys_config.block_size = 0;
|
/linux-master/fs/orangefs/ |
H A D | downcall.h | 45 __s64 block_size; member in struct:orangefs_statfs_response
|
/linux-master/fs/befs/ |
H A D | datastream.c | 148 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? 149 BEFS_SB(sb)->block_size : len - bytes_read; 182 if (ds->size & (befs_sb->block_size - 1)) 208 dbl_bytes / (befs_sb->block_size * BEFS_DBLINDIR_BRUN_LEN);
|
/linux-master/fs/squashfs/ |
H A D | cache.c | 220 * size block_size. To avoid vmalloc fragmentation issues each entry 224 int block_size) 244 cache->block_size = block_size; 245 cache->pages = block_size >> PAGE_SHIFT; 223 squashfs_cache_init(char *name, int entries, int block_size) argument
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | mm.h | 24 u32 block_size; member in struct:nvkm_mm
|
/linux-master/drivers/md/ |
H A D | dm-cache-policy.h | 179 sector_t block_size);
|
H A D | raid5-ppl.c | 94 int block_size; /* the logical block size used for data_sector member in struct:ppl_conf 452 ilog2(ppl_conf->block_size >> 9)); 790 int block_size = ppl_conf->block_size; local 810 r_sector_first = le64_to_cpu(e->data_sector) * (block_size >> 9); 834 if (block_size == 512 && 837 block_size = RAID5_STRIPE_SIZE(conf); 840 for (i = 0; i < strip_sectors; i += (block_size >> 9)) { 895 if (!sync_page_io(rdev, sector, block_size, page2, 904 ppl_xor(block_size, page [all...] |
H A D | dm-bufio.c | 982 unsigned int block_size; member in struct:dm_bufio_client 1115 diff = (long)b->c->block_size; 1187 if (c->block_size <= KMALLOC_MAX_SIZE && 1196 return __vmalloc(c->block_size, gfp_mask); 1368 sector = block * (c->block_size >> SECTOR_SHIFT); 1386 n_sectors = b->c->block_size >> SECTOR_SHIFT; 1396 if (unlikely(end > b->c->block_size)) 1397 end = b->c->block_size; 2072 BUG_ON(end > b->c->block_size); 2095 dm_bufio_mark_partial_buffer_dirty(b, 0, b->c->block_size); 2468 dm_bufio_client_create(struct block_device *bdev, unsigned int block_size, unsigned int reserved_buffers, unsigned int aux_size, void (*alloc_callback)(struct dm_buffer *), void (*write_callback)(struct dm_buffer *), unsigned int flags) argument [all...] |
/linux-master/lib/zlib_dfltcc/ |
H A D | dfltcc.h | 105 uLong block_size; /* New block each X bytes */ member in struct:dfltcc_deflate_state
|
/linux-master/include/linux/iio/ |
H A D | buffer-dma.h | 73 * @block_size: Size of each block 80 size_t block_size; member in struct:iio_dma_buffer_queue_fileio
|
/linux-master/include/linux/ |
H A D | dm-bufio.h | 30 dm_bufio_client_create(struct block_device *bdev, unsigned int block_size,
|
/linux-master/drivers/dma/dw/ |
H A D | idma32.c | 186 if (bytes > dwc->block_size) { 187 block = dwc->block_size; 188 *len = dwc->block_size;
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_f34.h | 124 __le16 block_size; member in struct:f34v7_query_1_7 238 u16 block_size; member in struct:f34v5_data 256 u16 block_size; member in struct:f34v7_data
|
/linux-master/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 169 int i, block_size; local 178 block_size = DATA_LAST_BLOCK_SIZE; 181 block_size = DATA_BLOCK_SIZE; 186 block_size, GFP_KERNEL); 192 (block_size - DATA_BLOCK_FOOTER_SIZE), 327 int block, block_size, len; local 334 block_size = DATA_LAST_BLOCK_SIZE; 336 block_size = DATA_BLOCK_SIZE; 340 gm12u320->cmd_buf[8] = block_size & 0xff; 341 gm12u320->cmd_buf[9] = block_size >> [all...] |
/linux-master/drivers/crypto/ |
H A D | atmel-sha.c | 105 size_t block_size; member in struct:atmel_sha_reqctx 443 ctx->block_size = SHA1_BLOCK_SIZE; 447 ctx->block_size = SHA224_BLOCK_SIZE; 451 ctx->block_size = SHA256_BLOCK_SIZE; 455 ctx->block_size = SHA384_BLOCK_SIZE; 459 ctx->block_size = SHA512_BLOCK_SIZE; 721 ctx->buflen + ctx->block_size, DMA_TO_DEVICE); 724 ctx->block_size); 780 if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->block_size)) 781 /* size is not ctx->block_size aligne [all...] |
H A D | n2_core.c | 793 static inline int skcipher_descriptor_len(int nbytes, unsigned int block_size) argument 797 this_len -= (nbytes & (block_size - 1)); 1090 u8 block_size; member in struct:n2_skcipher_tmpl 1099 .block_size = DES_BLOCK_SIZE, 1112 .block_size = DES_BLOCK_SIZE, 1128 .block_size = DES_BLOCK_SIZE, 1141 .block_size = DES_BLOCK_SIZE, 1157 .block_size = AES_BLOCK_SIZE, 1170 .block_size = AES_BLOCK_SIZE, 1184 .block_size 1209 u8 block_size; member in struct:n2_hash_tmpl [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfxhub_v1_0.c | 253 unsigned int num_level, block_size; local 258 block_size = adev->vm_manager.block_size; 262 block_size -= 9; 286 block_size);
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-layout.c | 179 u32 block_size; member in struct:super_block_data 204 size_t block_size; member in struct:save_layout_sizes 228 sls->block_size = UDS_BLOCK_SIZE; 229 sls->volume_blocks = geometry->bytes_per_volume / sls->block_size; 231 result = uds_compute_volume_index_save_blocks(config, sls->block_size, 238 sls->block_size); 241 sls->block_size); 246 sls->total_size = sls->total_blocks * sls->block_size; 361 super->block_size = sls->block_size; 1378 load_super_block(struct index_layout *layout, size_t block_size, u64 first_block, struct buffered_reader *reader) argument 1750 uds_open_volume_bufio(struct index_layout *layout, size_t block_size, unsigned int reserved_buffers, struct dm_bufio_client **client_ptr) argument [all...] |
/linux-master/sound/isa/gus/ |
H A D | gus_pcm.c | 42 unsigned int block_size; member in struct:gus_pcm_private 123 curr = begin + (pcmp->bpos * pcmp->block_size) / runtime->channels; 124 end = curr + (pcmp->block_size / runtime->channels); 214 end = pcmp->memory + (((pcmp->bpos + 1) * pcmp->block_size) / runtime->channels); 245 end = pcmp->bpos * pcmp->block_size; 247 snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + (end / 2), pcmp->block_size / 2); 248 snd_gf1_pcm_block_change(pcmp->substream, end + (pcmp->block_size / 2), pcmp->memory + (pcmp->dma_size / 2) + (end / 2), pcmp->block_size / 2); 250 snd_gf1_pcm_block_change(pcmp->substream, end, pcmp->memory + end, pcmp->block_size); 480 pcmp->block_size [all...] |
/linux-master/drivers/misc/c2port/ |
H A D | core.c | 328 return sprintf(buf, "%d\n", ops->block_size); 338 return sprintf(buf, "%d\n", ops->blocks_num * ops->block_size); 634 if (offset >= ops->block_size * ops->blocks_num) 637 if (ops->block_size * ops->blocks_num - offset < nread) 638 nread = ops->block_size * ops->blocks_num - offset; 746 if (ops->block_size * ops->blocks_num - offset < nwrite) 747 nwrite = ops->block_size * ops->blocks_num - offset; 750 if (offset >= ops->block_size * ops->blocks_num) 916 bin_attr_flash_data.size = ops->blocks_num * ops->block_size; 937 name, ops->blocks_num, ops->block_size, [all...] |
/linux-master/fs/btrfs/ |
H A D | reflink.c | 64 const u32 block_size = fs_info->sectorsize; local 65 const u64 range_end = file_offset + block_size - 1; 73 ASSERT(IS_ALIGNED(file_offset, block_size)); 82 block_size); 141 if (datal < block_size) 142 memzero_page(page, datal, block_size - datal); 144 btrfs_folio_set_uptodate(fs_info, page_folio(page), file_offset, block_size); 145 btrfs_folio_clear_checked(fs_info, page_folio(page), file_offset, block_size); 146 btrfs_folio_set_dirty(fs_info, page_folio(page), file_offset, block_size); 154 block_size, tru [all...] |
/linux-master/drivers/target/ |
H A D | target_core_iblock.c | 243 u32 block_size = bdev_logical_block_size(ib_dev->ibd_bd); local 245 div_u64(bdev_nr_bytes(ib_dev->ibd_bd), block_size) - 1; 247 if (block_size == dev->dev_attrib.block_size) 250 switch (block_size) { 252 switch (dev->dev_attrib.block_size) { 267 switch (dev->dev_attrib.block_size) { 282 switch (dev->dev_attrib.block_size) { 297 switch (dev->dev_attrib.block_size) { 516 sg->length != cmd->se_dev->dev_attrib.block_size) { [all...] |
H A D | target_core_rd.c | 233 static int rd_build_prot_space(struct rd_dev *rd_dev, int prot_length, int block_size) argument 245 * tot sg needed = rd_page_count * (PGSZ/block_size) * 246 * (prot_length/block_size) + pad 249 total_sg_needed = (rd_dev->rd_page_count * prot_length / block_size) + 1; 385 u32 sectors = cmd->data_length / se_dev->dev_attrib.block_size; 437 tmp = cmd->t_task_lba * se_dev->dev_attrib.block_size; 623 dev->dev_attrib.block_size) - 1; 636 dev->dev_attrib.block_size);
|
/linux-master/fs/pstore/ |
H A D | ram_core.c | 129 int ecc_block_size = prz->ecc_info.block_size; 172 int size = prz->ecc_info.block_size; 183 block += prz->ecc_info.block_size; 199 prz->ecc_info.block_size = ecc_info->block_size ?: 128; 205 prz->ecc_info.block_size + 616 prz->ecc_info.ecc_size, prz->ecc_info.block_size);
|
/linux-master/fs/reiserfs/ |
H A D | item_ops.c | 19 static int sd_bytes_number(struct item_head *ih, int block_size) argument 114 static int direct_bytes_number(struct item_head *ih, int block_size) argument 205 static int indirect_bytes_number(struct item_head *ih, int block_size) argument 207 return ih_item_len(ih) / UNFM_P_SIZE * block_size; 349 static int direntry_bytes_number(struct item_head *ih, int block_size) argument 636 static int errcatch_bytes_number(struct item_head *ih, int block_size) argument
|