cache_size 948 arch/arm/mm/cache-l2x0.c u32 cache_size = 0, sets = 0; cache_size 954 arch/arm/mm/cache-l2x0.c of_property_read_u32(np, "cache-size", &cache_size); cache_size 959 arch/arm/mm/cache-l2x0.c if (!cache_size || !sets) cache_size 991 arch/arm/mm/cache-l2x0.c *associativity = cache_size / way_size; cache_size 999 arch/arm/mm/cache-l2x0.c cache_size, cache_size >> 10); cache_size 317 arch/arm/mm/cache-uniphier.c u32 level, cache_size; cache_size 363 arch/arm/mm/cache-uniphier.c if (of_property_read_u32(np, "cache-size", &cache_size) || cache_size 364 arch/arm/mm/cache-uniphier.c cache_size == 0 || cache_size % (data->nsets * data->line_size)) { cache_size 371 arch/arm/mm/cache-uniphier.c data->way_mask = GENMASK(cache_size / data->nsets / data->line_size - 1, cache_size 172 arch/ia64/include/asm/pal.h u32 cache_size; /*cache size in bytes*/ cache_size 206 arch/ia64/include/asm/pal.h #define pcci_cache_size pcci_info_2.pcci2_bits.cache_size cache_size 92 arch/microblaze/kernel/cpu/cache.c #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ cache_size 95 arch/microblaze/kernel/cpu/cache.c if (start < UINT_MAX - cache_size) \ cache_size 96 arch/microblaze/kernel/cpu/cache.c end = min(start + cache_size, end); \ cache_size 104 arch/microblaze/kernel/cpu/cache.c #define CACHE_ALL_LOOP(cache_size, line_length, op) \ cache_size 106 arch/microblaze/kernel/cpu/cache.c unsigned int len = cache_size - line_length; \ cache_size 197 arch/mips/kernel/pm-cps.c unsigned cache_size = cache->ways << cache->waybit; cache_size 209 arch/mips/kernel/pm-cps.c if (cache_size < 0x8000) cache_size 210 arch/mips/kernel/pm-cps.c uasm_i_addiu(pp, t1, t0, cache_size); cache_size 212 arch/mips/kernel/pm-cps.c UASM_i_LA(pp, t1, (long)(CKSEG0 + cache_size)); cache_size 814 arch/mips/mm/c-r4k.c unsigned long size, cache_size; cache_size 832 arch/mips/mm/c-r4k.c cache_size = icache_size; cache_size 835 arch/mips/mm/c-r4k.c cache_size += dcache_size; cache_size 837 arch/mips/mm/c-r4k.c if (size <= cache_size) cache_size 207 arch/powerpc/kernel/cacheinfo.c const __be32 *cache_size; cache_size 211 arch/powerpc/kernel/cacheinfo.c cache_size = of_get_property(cache->ofnode, propname, NULL); cache_size 212 arch/powerpc/kernel/cacheinfo.c if (!cache_size) cache_size 215 arch/powerpc/kernel/cacheinfo.c *ret = of_read_number(cache_size, 1); cache_size 223 arch/powerpc/kernel/cacheinfo.c if (cache_size(cache, &size)) cache_size 288 arch/powerpc/kernel/cacheinfo.c if (cache_size(cache, &size)) cache_size 69 arch/sh/kernel/cpu/proc.c unsigned int cache_size; cache_size 71 arch/sh/kernel/cpu/proc.c cache_size = info.ways * info.sets * info.linesz; cache_size 74 arch/sh/kernel/cpu/proc.c type, cache_size >> 10, info.ways); cache_size 339 drivers/acpi/hmat/hmat.c cache->memory_PD, cache->cache_size, attrs, cache_size 352 drivers/acpi/hmat/hmat.c tcache->cache_attrs.size = cache->cache_size; cache_size 981 drivers/atm/he.c u8 cache_size, timer; cache_size 1019 drivers/atm/he.c if (pci_read_config_byte(pci_dev, PCI_CACHE_LINE_SIZE, &cache_size)) { cache_size 1024 drivers/atm/he.c if (cache_size < 16) { cache_size 1025 drivers/atm/he.c cache_size = 16; cache_size 1026 drivers/atm/he.c if (pci_write_config_byte(pci_dev, PCI_CACHE_LINE_SIZE, cache_size)) cache_size 1027 drivers/atm/he.c hprintk("can't set cache line size to %d\n", cache_size); cache_size 150 drivers/base/cacheinfo.c cache_size(this_leaf, np); cache_size 53 drivers/block/null_blk.h unsigned long cache_size; /* disk cache size in MB */ cache_size 298 drivers/block/null_blk_main.c NULLB_DEVICE_ATTR(cache_size, ulong); cache_size 885 drivers/block/null_blk_main.c if ((nullb->dev->cache_size * 1024 * 1024) > cache_size 1026 drivers/block/null_blk_main.c nullb->dev->cache_size * 1024 * 1024); cache_size 1598 drivers/block/null_blk_main.c dev->cache_size = 0; cache_size 1599 drivers/block/null_blk_main.c dev->cache_size = min_t(unsigned long, ULONG_MAX / 1024 / 1024, cache_size 1600 drivers/block/null_blk_main.c dev->cache_size); cache_size 1692 drivers/block/null_blk_main.c if (dev->cache_size > 0) { cache_size 89 drivers/fpga/dfl-fme-main.c static DEVICE_ATTR_RO(cache_size); cache_size 53 drivers/gpu/drm/amd/amdkfd/kfd_crat.c uint32_t cache_size; cache_size 65 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 16, cache_size 75 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 16, cache_size 84 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 8, cache_size 99 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 16, cache_size 108 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 8, cache_size 117 drivers/gpu/drm/amd/amdkfd/kfd_crat.c .cache_size = 4, cache_size 319 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_size = cache->cache_size; cache_size 577 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->cache_size = pcache_info[cache_type].cache_size; cache_size 163 drivers/gpu/drm/amd/amdkfd/kfd_crat.h uint32_t cache_size; cache_size 340 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "size", cache->cache_size); cache_size 119 drivers/gpu/drm/amd/amdkfd/kfd_topology.h uint32_t cache_size; cache_size 55 drivers/infiniband/hw/hfi1/user_pages.c static unsigned long cache_size = 256; cache_size 56 drivers/infiniband/hw/hfi1/user_pages.c module_param(cache_size, ulong, S_IRUGO | S_IWUSR); cache_size 57 drivers/infiniband/hw/hfi1/user_pages.c MODULE_PARM_DESC(cache_size, "Send and receive side cache size limit (in MB)"); cache_size 75 drivers/infiniband/hw/hfi1/user_pages.c size = (cache_size * (1UL << 20)); /* convert to bytes */ cache_size 142 drivers/md/dm-cache-policy-internal.h struct dm_cache_policy *dm_cache_policy_create(const char *name, dm_cblock_t cache_size, cache_size 799 drivers/md/dm-cache-policy-smq.c dm_cblock_t cache_size; cache_size 1107 drivers/md/dm-cache-policy-smq.c clear_bitset(mq->cache_hit_bits, from_cblock(mq->cache_size)); cache_size 1127 drivers/md/dm-cache-policy-smq.c return from_cblock(mq->cache_size) * p / 100u; cache_size 1153 drivers/md/dm-cache-policy-smq.c nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; cache_size 1719 drivers/md/dm-cache-policy-smq.c static struct dm_cache_policy *__smq_create(dm_cblock_t cache_size, cache_size 1734 drivers/md/dm-cache-policy-smq.c mq->cache_size = cache_size; cache_size 1737 drivers/md/dm-cache-policy-smq.c calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), cache_size 1742 drivers/md/dm-cache-policy-smq.c if (space_init(&mq->es, total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size))) { cache_size 1760 drivers/md/dm-cache-policy-smq.c total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size)); cache_size 1769 drivers/md/dm-cache-policy-smq.c if (from_cblock(cache_size)) { cache_size 1770 drivers/md/dm-cache-policy-smq.c mq->cache_hit_bits = alloc_bitset(from_cblock(cache_size)); cache_size 1775 drivers/md/dm-cache-policy-smq.c clear_bitset(mq->cache_hit_bits, from_cblock(mq->cache_size)); cache_size 1785 drivers/md/dm-cache-policy-smq.c from_cblock(mq->cache_size) / mq->cache_blocks_per_hotspot_block); cache_size 1793 drivers/md/dm-cache-policy-smq.c if (h_init(&mq->table, &mq->es, from_cblock(cache_size))) cache_size 1829 drivers/md/dm-cache-policy-smq.c static struct dm_cache_policy *smq_create(dm_cblock_t cache_size, cache_size 1833 drivers/md/dm-cache-policy-smq.c return __smq_create(cache_size, origin_size, cache_block_size, false, true); cache_size 1836 drivers/md/dm-cache-policy-smq.c static struct dm_cache_policy *mq_create(dm_cblock_t cache_size, cache_size 1840 drivers/md/dm-cache-policy-smq.c return __smq_create(cache_size, origin_size, cache_block_size, true, true); cache_size 1843 drivers/md/dm-cache-policy-smq.c static struct dm_cache_policy *cleaner_create(dm_cblock_t cache_size, cache_size 1847 drivers/md/dm-cache-policy-smq.c return __smq_create(cache_size, origin_size, cache_block_size, false, false); cache_size 112 drivers/md/dm-cache-policy.c dm_cblock_t cache_size, cache_size 125 drivers/md/dm-cache-policy.c p = type->create(cache_size, origin_size, cache_block_size); cache_size 176 drivers/md/dm-cache-policy.h struct dm_cache_policy *(*create)(dm_cblock_t cache_size, cache_size 409 drivers/md/dm-cache-target.c dm_cblock_t cache_size; cache_size 2395 drivers/md/dm-cache-target.c cache->cache_size, cache_size 2438 drivers/md/dm-cache-target.c if (nr_blocks > (1 << 20) && cache->cache_size != size) cache_size 2444 drivers/md/dm-cache-target.c cache->cache_size = size; cache_size 2515 drivers/md/dm-cache-target.c dm_block_t cache_size = ca->cache_sectors; cache_size 2518 drivers/md/dm-cache-target.c cache_size = block_div(cache_size, ca->block_size); cache_size 2519 drivers/md/dm-cache-target.c set_cache_size(cache, to_cblock(cache_size)); cache_size 2581 drivers/md/dm-cache-target.c cache->dirty_bitset = alloc_bitset(from_cblock(cache->cache_size)); cache_size 2586 drivers/md/dm-cache-target.c clear_bitset(cache->dirty_bitset, from_cblock(cache->cache_size)); cache_size 2780 drivers/md/dm-cache-target.c r = dm_cache_set_dirty_bits(cache->cmd, from_cblock(cache->cache_size), cache->dirty_bitset); cache_size 2996 drivers/md/dm-cache-target.c if (from_cblock(new_size) > from_cblock(cache->cache_size)) { cache_size 3007 drivers/md/dm-cache-target.c while (from_cblock(new_size) < from_cblock(cache->cache_size)) { cache_size 3052 drivers/md/dm-cache-target.c } else if (csize != cache->cache_size) { cache_size 3197 drivers/md/dm-cache-target.c (unsigned long long) from_cblock(cache->cache_size), cache_size 3308 drivers/md/dm-cache-target.c uint64_t n = from_cblock(cache->cache_size); cache_size 1010 drivers/media/platform/coda/coda-bit.c u32 cache_size, cache_config; cache_size 1014 drivers/media/platform/coda/coda-bit.c cache_size = 0x20262024; cache_size 1018 drivers/media/platform/coda/coda-bit.c cache_size = 0x02440243; cache_size 1021 drivers/media/platform/coda/coda-bit.c coda_write(ctx->dev, cache_size, CODA9_CMD_SET_FRAME_CACHE_SIZE); cache_size 22 drivers/misc/lkdtm/usercopy.c static volatile size_t cache_size = 1024; cache_size 220 drivers/misc/lkdtm/usercopy.c memset(buf, 'B', cache_size); cache_size 223 drivers/misc/lkdtm/usercopy.c offset = (cache_size / 4) + unconst; cache_size 224 drivers/misc/lkdtm/usercopy.c size = (cache_size / 16) + unconst; cache_size 344 drivers/misc/lkdtm/usercopy.c kmem_cache_create_usercopy("lkdtm-usercopy", cache_size, cache_size 346 drivers/misc/lkdtm/usercopy.c cache_size / 4, cache_size 347 drivers/misc/lkdtm/usercopy.c cache_size / 16, cache_size 592 drivers/mmc/core/mmc.c card->ext_csd.cache_size = cache_size 1809 drivers/mmc/core/mmc.c if (card->ext_csd.cache_size > 0) { cache_size 963 drivers/mmc/core/mmc_ops.c (card->ext_csd.cache_size > 0) && cache_size 30 drivers/mtd/mtdblock.c unsigned int cache_size; cache_size 88 drivers/mtd/mtdblock.c mtdblk->cache_offset, mtdblk->cache_size); cache_size 91 drivers/mtd/mtdblock.c mtdblk->cache_size, mtdblk->cache_data); cache_size 111 drivers/mtd/mtdblock.c unsigned int sect_size = mtdblk->cache_size; cache_size 159 drivers/mtd/mtdblock.c mtdblk->cache_size = sect_size; cache_size 181 drivers/mtd/mtdblock.c unsigned int sect_size = mtdblk->cache_size; cache_size 234 drivers/mtd/mtdblock.c if (unlikely(!mtdblk->cache_data && mtdblk->cache_size)) { cache_size 262 drivers/mtd/mtdblock.c mtdblk->cache_size = mbd->mtd->erasesize; cache_size 872 drivers/net/ethernet/alteon/acenic.c unsigned char cache_size; cache_size 1008 drivers/net/ethernet/alteon/acenic.c pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cache_size); cache_size 1009 drivers/net/ethernet/alteon/acenic.c cache_size <<= 2; cache_size 1010 drivers/net/ethernet/alteon/acenic.c if (cache_size != SMP_CACHE_BYTES) { cache_size 1012 drivers/net/ethernet/alteon/acenic.c "(%i bytes) by BIOS/FW, ", cache_size); cache_size 1013 drivers/net/ethernet/alteon/acenic.c if (cache_size > SMP_CACHE_BYTES) cache_size 3090 drivers/scsi/hisi_sas/hisi_sas_main.c u32 cache_size = HISI_SAS_IOST_ITCT_CACHE_DW_SZ * 4; cache_size 3104 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_show_row_64(s, tab_idx, cache_size, iost); cache_size 3158 drivers/scsi/hisi_sas/hisi_sas_main.c u32 cache_size = HISI_SAS_IOST_ITCT_CACHE_DW_SZ * 4; cache_size 3172 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_show_row_64(s, tab_idx, cache_size, itct); cache_size 256 drivers/scsi/myrb.h unsigned int cache_size; /* Bytes 28-31 */ cache_size 1415 drivers/scsi/myrs.c static DEVICE_ATTR_RO(cache_size); cache_size 50 fs/btrfs/raid56.c int cache_size; cache_size 374 fs/btrfs/raid56.c table->cache_size -= 1; cache_size 486 fs/btrfs/raid56.c table->cache_size += 1; cache_size 491 fs/btrfs/raid56.c if (table->cache_size > RBIO_CACHE_SIZE) { cache_size 1473 include/acpi/actbl1.h u64 cache_size; cache_size 77 include/linux/mmc/card.h unsigned int cache_size; /* Units: KB */ cache_size 835 tools/perf/util/dso.c u64 cache_size = min(cache->size - cache_offset, size); cache_size 837 tools/perf/util/dso.c memcpy(data, cache->data + cache_offset, cache_size); cache_size 838 tools/perf/util/dso.c return cache_size;