mem_size 55 arch/alpha/boot/tools/objstrip.c size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; mem_size 178 arch/alpha/boot/tools/objstrip.c mem_size = elf_phdr->p_memsz; mem_size 185 arch/alpha/boot/tools/objstrip.c mem_size -= delta; mem_size 219 arch/alpha/boot/tools/objstrip.c mem_size = fil_size + aout->ah.bsize; mem_size 260 arch/alpha/boot/tools/objstrip.c mem_size = ((mem_size + pad - 1) / pad) * pad; mem_size 263 arch/alpha/boot/tools/objstrip.c tocopy = mem_size - fil_size; mem_size 62 arch/alpha/kernel/pci_iommu.c unsigned long mem_size; mem_size 65 arch/alpha/kernel/pci_iommu.c mem_size = window_size / (PAGE_SIZE / sizeof(unsigned long)); mem_size 71 arch/alpha/kernel/pci_iommu.c if (align < mem_size) mem_size 72 arch/alpha/kernel/pci_iommu.c align = mem_size; mem_size 93 arch/alpha/kernel/pci_iommu.c arena->ptes = memblock_alloc(mem_size, align); mem_size 96 arch/alpha/kernel/pci_iommu.c __func__, mem_size, align); mem_size 105 arch/alpha/kernel/pci_iommu.c arena->ptes = memblock_alloc(mem_size, align); mem_size 108 arch/alpha/kernel/pci_iommu.c __func__, mem_size, align); mem_size 281 arch/arm/mach-footbridge/dc21285.c unsigned int mem_size, mem_mask; mem_size 286 arch/arm/mach-footbridge/dc21285.c mem_size = (unsigned int)high_memory - PAGE_OFFSET; mem_size 288 arch/arm/mach-footbridge/dc21285.c if (mem_mask >= mem_size) mem_size 1433 arch/arm/probes/kprobes/test-core.c size_t mem_size = 0; mem_size 1443 arch/arm/probes/kprobes/test-core.c mem_size = expected_memory_size(mem); mem_size 1444 arch/arm/probes/kprobes/test-core.c if (memcmp(expected_memory, mem, mem_size)) { mem_size 1462 arch/arm/probes/kprobes/test-core.c print_memory(expected_memory, mem_size); mem_size 1464 arch/arm/probes/kprobes/test-core.c print_memory(mem, mem_size); mem_size 255 arch/arm64/kernel/setup.c phys_addr_t r_start, r_end, mem_size = resource_size(mem); mem_size 257 arch/arm64/kernel/setup.c if (!memblock_is_region_reserved(mem->start, mem_size)) mem_size 208 arch/c6x/kernel/setup.c static u32 mem_size __initdata; mem_size 216 arch/c6x/kernel/setup.c mem_size = memparse(p, &p); mem_size 218 arch/c6x/kernel/setup.c if (mem_size == 0) mem_size 300 arch/c6x/kernel/setup.c if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) mem_size 301 arch/c6x/kernel/setup.c memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); mem_size 115 arch/mips/cavium-octeon/setup.c static void kexec_bootmem_init(uint64_t mem_size, uint32_t low_reserved_bytes) mem_size 122 arch/mips/cavium-octeon/setup.c if (mem_size > OCTEON_MAX_PHY_MEM_SIZE) { mem_size 123 arch/mips/cavium-octeon/setup.c mem_size = OCTEON_MAX_PHY_MEM_SIZE; mem_size 134 arch/mips/cavium-octeon/setup.c if (mem_size <= OCTEON_DDR0_SIZE) { mem_size 136 arch/mips/cavium-octeon/setup.c mem_size - reserve_low_mem - mem_size 145 arch/mips/cavium-octeon/setup.c mem_size -= OCTEON_DDR0_SIZE; mem_size 147 arch/mips/cavium-octeon/setup.c if (mem_size > OCTEON_DDR1_SIZE) { mem_size 150 arch/mips/cavium-octeon/setup.c mem_size - OCTEON_DDR1_SIZE, 0); mem_size 152 arch/mips/cavium-octeon/setup.c __cvmx_bootmem_phy_free(OCTEON_DDR1_BASE, mem_size, 0); mem_size 64 arch/mips/dec/prom/memory.c unsigned long mem_start = 0, mem_size = 0; mem_size 75 arch/mips/dec/prom/memory.c mem_size += (8 * bm->pagesize); mem_size 76 arch/mips/dec/prom/memory.c else if (!mem_size) mem_size 79 arch/mips/dec/prom/memory.c add_memory_region(mem_start, mem_size, BOOT_MEM_RAM); mem_size 80 arch/mips/dec/prom/memory.c mem_start += mem_size + (8 * bm->pagesize); mem_size 81 arch/mips/dec/prom/memory.c mem_size = 0; mem_size 84 arch/mips/dec/prom/memory.c if (mem_size) mem_size 85 arch/mips/dec/prom/memory.c add_memory_region(mem_start, mem_size, BOOT_MEM_RAM); mem_size 26 arch/mips/include/asm/mach-loongson64/boot_param.h u32 mem_size; /* each memory_map size, not the total size */ mem_size 14 arch/mips/include/asm/txx9/pci.h unsigned long mem_base, unsigned long mem_size, mem_size 417 arch/mips/kernel/setup.c u64 start_at, mem_size; mem_size 428 arch/mips/kernel/setup.c mem_size = memparse(p, &p); mem_size 434 arch/mips/kernel/setup.c add_memory_region(start_at, mem_size, BOOT_MEM_RAM); mem_size 440 arch/mips/kernel/setup.c add_memory_region(start_at, mem_size, BOOT_MEM_RESERVED); mem_size 74 arch/mips/loongson64/common/mem.c (u64)loongson_memmap->map[i].mem_size << 20); mem_size 78 arch/mips/loongson64/common/mem.c (u64)loongson_memmap->map[i].mem_size << 20); mem_size 82 arch/mips/loongson64/common/mem.c (u64)loongson_memmap->map[i].mem_size << 20); mem_size 123 arch/mips/loongson64/loongson-3/numa.c u64 node_id, node_psize, start_pfn, end_pfn, mem_start, mem_size; mem_size 132 arch/mips/loongson64/loongson-3/numa.c mem_size = loongson_memmap->map[i].mem_size; mem_size 138 arch/mips/loongson64/loongson-3/numa.c node_psize = (mem_size << 20) >> PAGE_SHIFT; mem_size 142 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_size 150 arch/mips/loongson64/loongson-3/numa.c node_psize = (mem_size << 20) >> PAGE_SHIFT; mem_size 154 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_size 162 arch/mips/loongson64/loongson-3/numa.c (u32)node_id, mem_type, mem_start, mem_size); mem_size 164 arch/mips/loongson64/loongson-3/numa.c mem_size << 20); mem_size 141 arch/mips/pci/ops-tx3927.c unsigned long mem_size = mem_size 164 arch/mips/pci/ops-tx3927.c tx3927_pcicptr->mmas = ~(mem_size - 1); mem_size 213 arch/mips/pci/pci-bcm63xx.c unsigned int mem_size; mem_size 278 arch/mips/pci/pci-bcm63xx.c mem_size = bcm63xx_get_memory_size(); mem_size 283 arch/mips/pci/pci-bcm63xx.c if (mem_size > (16 * 1024 * 1024)) mem_size 289 arch/mips/pci/pci-bcm63xx.c bcm_mpi_writel(~(mem_size - 1), MPI_SP0_RANGE_REG); mem_size 17 arch/mips/ralink/common.h unsigned long mem_size; mem_size 86 arch/mips/ralink/of.c else if (soc_info.mem_size) mem_size 87 arch/mips/ralink/of.c add_memory_region(soc_info.mem_base, soc_info.mem_size * SZ_1M, mem_size 267 arch/mips/ralink/rt305x.c soc_info->mem_size = rt5350_get_mem_size(); mem_size 111 arch/mips/txx9/generic/pci.c unsigned long mem_base, unsigned long mem_size, mem_size 141 arch/mips/txx9/generic/pci.c pcic->mem_resource[0].end = mem_base + mem_size - 1; mem_size 146 arch/mips/txx9/generic/pci.c if (!mem_size) { mem_size 149 arch/mips/txx9/generic/pci.c mem_size = 0x20000000; /* mem:512M(max) */ mem_size 151 arch/mips/txx9/generic/pci.c mem_size = 0x08000000; /* mem:128M(max) */ mem_size 158 arch/mips/txx9/generic/pci.c for (; mem_size >= min_size; mem_size /= 2) { mem_size 161 arch/mips/txx9/generic/pci.c mem_size, min, max, mem_size 162 arch/mips/txx9/generic/pci.c mem_size, NULL, NULL) == 0) mem_size 165 arch/mips/txx9/generic/pci.c if (mem_size < min_size) mem_size 22 arch/powerpc/boot/ep405.c static u64 mem_size; mem_size 29 arch/powerpc/boot/ep405.c dt_fixup_memory(0, mem_size); mem_size 59 arch/powerpc/boot/ep405.c if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) mem_size 62 arch/powerpc/boot/ep405.c mem_size *= 1024 * 1024; mem_size 63 arch/powerpc/boot/ep405.c simple_alloc_init(_end, mem_size - (unsigned long)_end, 32, 64); mem_size 16 arch/powerpc/boot/ep8248e.c static u64 mem_size; mem_size 24 arch/powerpc/boot/ep8248e.c dt_fixup_memory(0, mem_size); mem_size 41 arch/powerpc/boot/ep8248e.c if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) mem_size 44 arch/powerpc/boot/ep8248e.c mem_size *= 1024 * 1024; mem_size 45 arch/powerpc/boot/ep8248e.c simple_alloc_init(_end, mem_size - (unsigned long)_end, 32, 64); mem_size 16 arch/powerpc/boot/ep88xc.c static u64 mem_size; mem_size 22 arch/powerpc/boot/ep88xc.c dt_fixup_memory(0, mem_size); mem_size 39 arch/powerpc/boot/ep88xc.c if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) mem_size 42 arch/powerpc/boot/ep88xc.c mem_size *= 1024 * 1024; mem_size 43 arch/powerpc/boot/ep88xc.c simple_alloc_init(_end, mem_size - (unsigned long)_end, 32, 64); mem_size 843 arch/powerpc/include/asm/book3s/64/mmu-hash.h unsigned htab_shift_for_mem_size(unsigned long mem_size); mem_size 399 arch/powerpc/kernel/fadump.c unsigned long mem_size = fw_dump.boot_memory_size; mem_size 413 arch/powerpc/kernel/fadump.c if ((cur_size + size) >= mem_size) { mem_size 414 arch/powerpc/kernel/fadump.c size = (mem_size - cur_size); mem_size 419 arch/powerpc/kernel/fadump.c mem_size -= size; mem_size 732 arch/powerpc/mm/book3s64/hash_utils.c unsigned htab_shift_for_mem_size(unsigned long mem_size) mem_size 734 arch/powerpc/mm/book3s64/hash_utils.c unsigned memshift = __ilog2(mem_size); mem_size 739 arch/powerpc/mm/book3s64/hash_utils.c if ((1UL << memshift) < mem_size) mem_size 93 arch/riscv/mm/init.c phys_addr_t mem_size = 0; mem_size 102 arch/riscv/mm/init.c mem_size = min(reg->size, (phys_addr_t)-PAGE_OFFSET); mem_size 108 arch/riscv/mm/init.c if (reg->base + mem_size < end) mem_size 109 arch/riscv/mm/init.c memblock_remove(reg->base + mem_size, mem_size 110 arch/riscv/mm/init.c end - reg->base - mem_size); mem_size 113 arch/riscv/mm/init.c BUG_ON(mem_size == 0); mem_size 118 arch/riscv/mm/init.c set_max_mapnr(PFN_DOWN(mem_size)); mem_size 248 arch/x86/boot/compressed/kaslr.c u64 mem_size; mem_size 282 arch/x86/boot/compressed/kaslr.c mem_size = memparse(p, &p); mem_size 283 arch/x86/boot/compressed/kaslr.c if (mem_size == 0) mem_size 286 arch/x86/boot/compressed/kaslr.c mem_limit = mem_size; mem_size 871 arch/x86/kernel/e820.c u64 mem_size; mem_size 887 arch/x86/kernel/e820.c mem_size = memparse(p, &p); mem_size 890 arch/x86/kernel/e820.c if (mem_size == 0) mem_size 893 arch/x86/kernel/e820.c e820__range_remove(mem_size, ULLONG_MAX - mem_size, E820_TYPE_RAM, 1); mem_size 896 arch/x86/kernel/e820.c max_mem_size = mem_size; mem_size 906 arch/x86/kernel/e820.c u64 start_at, mem_size; mem_size 926 arch/x86/kernel/e820.c mem_size = memparse(p, &p); mem_size 933 arch/x86/kernel/e820.c e820__range_add(start_at, mem_size, E820_TYPE_RAM); mem_size 936 arch/x86/kernel/e820.c e820__range_add(start_at, mem_size, E820_TYPE_ACPI); mem_size 939 arch/x86/kernel/e820.c e820__range_add(start_at, mem_size, E820_TYPE_RESERVED); mem_size 942 arch/x86/kernel/e820.c e820__range_add(start_at, mem_size, E820_TYPE_PRAM); mem_size 954 arch/x86/kernel/e820.c e820__range_update(start_at, mem_size, from, to); mem_size 956 arch/x86/kernel/e820.c e820__range_add(start_at, mem_size, to); mem_size 958 arch/x86/kernel/e820.c e820__range_remove(start_at, mem_size, from, 1); mem_size 960 arch/x86/kernel/e820.c e820__range_remove(start_at, mem_size, 0, 0); mem_size 962 arch/x86/kernel/e820.c e820__range_remove(mem_size, ULLONG_MAX - mem_size, E820_TYPE_RAM, 1); mem_size 1222 arch/x86/kernel/e820.c u64 mem_size; mem_size 1226 arch/x86/kernel/e820.c mem_size = boot_params.screen_info.ext_mem_k; mem_size 1229 arch/x86/kernel/e820.c mem_size = boot_params.alt_mem_k; mem_size 1235 arch/x86/kernel/e820.c e820__range_add(HIGH_MEMORY, mem_size << 10, E820_TYPE_RAM); mem_size 209 arch/xtensa/mm/init.c unsigned long start_at, mem_size; mem_size 215 arch/xtensa/mm/init.c mem_size = memparse(p, &p); mem_size 222 arch/xtensa/mm/init.c memblock_add(start_at, mem_size); mem_size 227 arch/xtensa/mm/init.c memblock_reserve(start_at, mem_size); mem_size 231 arch/xtensa/mm/init.c memblock_reserve(mem_size, -mem_size); mem_size 139 drivers/base/regmap/regcache-rbtree.c size_t mem_size; mem_size 146 drivers/base/regmap/regcache-rbtree.c mem_size = sizeof(*rbtree_ctx); mem_size 151 drivers/base/regmap/regcache-rbtree.c mem_size += sizeof(*n); mem_size 152 drivers/base/regmap/regcache-rbtree.c mem_size += (n->blklen * map->cache_word_size); mem_size 153 drivers/base/regmap/regcache-rbtree.c mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); mem_size 169 drivers/base/regmap/regcache-rbtree.c nodes, registers, average, mem_size); mem_size 208 drivers/block/skd_main.c u32 mem_size[SKD_MAX_BARS]; mem_size 3218 drivers/block/skd_main.c skdev->mem_size[i] = (u32)pci_resource_len(pdev, i); mem_size 3220 drivers/block/skd_main.c skdev->mem_size[i]); mem_size 3229 drivers/block/skd_main.c skdev->mem_size[i]); mem_size 3389 drivers/block/skd_main.c skdev->mem_size[i] = (u32)pci_resource_len(pdev, i); mem_size 3391 drivers/block/skd_main.c skdev->mem_size[i]); mem_size 3399 drivers/block/skd_main.c skdev->mem_size[i]); mem_size 57 drivers/bluetooth/btmrvl_drv.h u32 mem_size; mem_size 1415 drivers/bluetooth/btmrvl_sdio.c entry->mem_size = 0; mem_size 1469 drivers/bluetooth/btmrvl_sdio.c entry->mem_size = memory_size; mem_size 1550 drivers/bluetooth/btmrvl_sdio.c memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); mem_size 1551 drivers/bluetooth/btmrvl_sdio.c fw_dump_ptr += entry->mem_size; mem_size 652 drivers/char/xilinx_hwicap/xilinx_hwicap.c drvdata->mem_size = resource_size(regs_res); mem_size 655 drivers/char/xilinx_hwicap/xilinx_hwicap.c drvdata->mem_size, DRIVER_NAME)) { mem_size 664 drivers/char/xilinx_hwicap/xilinx_hwicap.c drvdata->base_address = ioremap(drvdata->mem_start, drvdata->mem_size); mem_size 680 drivers/char/xilinx_hwicap/xilinx_hwicap.c (unsigned long long) drvdata->mem_size); mem_size 697 drivers/char/xilinx_hwicap/xilinx_hwicap.c release_mem_region(regs_res->start, drvdata->mem_size); mem_size 736 drivers/char/xilinx_hwicap/xilinx_hwicap.c release_mem_region(drvdata->mem_start, drvdata->mem_size); mem_size 49 drivers/char/xilinx_hwicap/xilinx_hwicap.h resource_size_t mem_size; mem_size 229 drivers/crypto/qat/qat_common/adf_common_drv.h int mem_size); mem_size 231 drivers/crypto/qat/qat_common/adf_common_drv.h void *addr_ptr, int mem_size); mem_size 1406 drivers/crypto/qat/qat_common/qat_uclo.c void *addr_ptr, int mem_size) mem_size 1414 drivers/crypto/qat/qat_common/qat_uclo.c if (qat_uclo_map_suof(handle, addr_ptr, mem_size)) { mem_size 1423 drivers/crypto/qat/qat_common/qat_uclo.c void *addr_ptr, int mem_size) mem_size 1429 drivers/crypto/qat/qat_common/qat_uclo.c if (!qat_uclo_map_auth_fw(handle, addr_ptr, mem_size, &desc)) mem_size 1437 drivers/crypto/qat/qat_common/qat_uclo.c qat_uclo_wr_sram_by_words(handle, 0, addr_ptr, mem_size); mem_size 1443 drivers/crypto/qat/qat_common/qat_uclo.c void *addr_ptr, int mem_size) mem_size 1451 drivers/crypto/qat/qat_common/qat_uclo.c objhdl->obj_buf = kmemdup(addr_ptr, mem_size, GFP_KERNEL); mem_size 1479 drivers/crypto/qat/qat_common/qat_uclo.c void *addr_ptr, int mem_size) mem_size 1484 drivers/crypto/qat/qat_common/qat_uclo.c if (!handle || !addr_ptr || mem_size < 24) mem_size 1488 drivers/crypto/qat/qat_common/qat_uclo.c qat_uclo_map_suof_obj(handle, addr_ptr, mem_size) : mem_size 1489 drivers/crypto/qat/qat_common/qat_uclo.c qat_uclo_map_uof_obj(handle, addr_ptr, mem_size); mem_size 290 drivers/edac/altera_edac.c unsigned long mem_size, irqflags = 0; mem_size 318 drivers/edac/altera_edac.c mem_size = get_total_mem(); mem_size 319 drivers/edac/altera_edac.c if (!mem_size) { mem_size 391 drivers/edac/altera_edac.c dimm->nr_pages = ((mem_size - 1) >> PAGE_SHIFT) + 1; mem_size 86 drivers/firmware/efi/fake_mem.c u64 start = 0, mem_size = 0, attribute = 0; mem_size 93 drivers/firmware/efi/fake_mem.c mem_size = memparse(p, &p); mem_size 108 drivers/firmware/efi/fake_mem.c fake_mems[nr_fake_mem].range.end = start + mem_size - 1; mem_size 52 drivers/firmware/qcom_scm.c __le64 mem_size; mem_size 477 drivers/firmware/qcom_scm.c mem_to_map->mem_size = cpu_to_le64(mem_sz); mem_size 39 drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h uint32_t mem_size; mem_size 1887 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(amdgpu_gds_reg_offset[i].mem_size, 0); mem_size 1905 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(amdgpu_gds_reg_offset[vmid].mem_size, 0); mem_size 4108 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].mem_size); mem_size 3747 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(amdgpu_gds_reg_offset[i].mem_size, 0); mem_size 3765 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(amdgpu_gds_reg_offset[vmid].mem_size, 0); mem_size 5220 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].mem_size); mem_size 31 drivers/gpu/drm/msm/adreno/adreno_gpu.c ssize_t mem_size; mem_size 68 drivers/gpu/drm/msm/adreno/adreno_gpu.c mem_size = qcom_mdt_get_size(fw); mem_size 69 drivers/gpu/drm/msm/adreno/adreno_gpu.c if (mem_size < 0) { mem_size 70 drivers/gpu/drm/msm/adreno/adreno_gpu.c ret = mem_size; mem_size 74 drivers/gpu/drm/msm/adreno/adreno_gpu.c if (mem_size > resource_size(&r)) { mem_size 82 drivers/gpu/drm/msm/adreno/adreno_gpu.c mem_region = memremap(mem_phys, mem_size, MEMREMAP_WC); mem_size 99 drivers/gpu/drm/msm/adreno/adreno_gpu.c mem_region, mem_phys, mem_size, NULL); mem_size 106 drivers/gpu/drm/msm/adreno/adreno_gpu.c mem_region, mem_phys, mem_size, NULL); mem_size 3236 drivers/gpu/drm/radeon/radeon_combios.c uint32_t mem_size; mem_size 3242 drivers/gpu/drm/radeon/radeon_combios.c mem_size = ram; mem_size 3260 drivers/gpu/drm/radeon/radeon_combios.c return mem_size; mem_size 3268 drivers/gpu/drm/radeon/radeon_combios.c uint32_t mem_size = 0; mem_size 3281 drivers/gpu/drm/radeon/radeon_combios.c mem_size = RBIOS16(offset + 5); mem_size 3288 drivers/gpu/drm/radeon/radeon_combios.c if (!mem_size) { mem_size 3305 drivers/gpu/drm/radeon/radeon_combios.c mem_size = mem_size 3308 drivers/gpu/drm/radeon/radeon_combios.c if (mem_size) mem_size 3313 drivers/gpu/drm/radeon/radeon_combios.c mem_size = RBIOS8(offset); mem_size 3315 drivers/gpu/drm/radeon/radeon_combios.c mem_size = RBIOS8(offset); mem_size 3316 drivers/gpu/drm/radeon/radeon_combios.c mem_size *= 2; /* convert to MB */ mem_size 3321 drivers/gpu/drm/radeon/radeon_combios.c mem_size *= (1024 * 1024); /* convert to bytes */ mem_size 3322 drivers/gpu/drm/radeon/radeon_combios.c WREG32(RADEON_CONFIG_MEMSIZE, mem_size); mem_size 709 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c uint64_t mem_size = mem_size 718 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c mem_size *= 3; mem_size 720 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c dev_priv->max_mob_pages = mem_size * 1024 / PAGE_SIZE; mem_size 305 drivers/ide/palm_bk3710.c unsigned long rate, mem_size; mem_size 333 drivers/ide/palm_bk3710.c mem_size = resource_size(mem); mem_size 334 drivers/ide/palm_bk3710.c if (request_mem_region(mem->start, mem_size, "palm_bk3710") == NULL) { mem_size 339 drivers/ide/palm_bk3710.c base = ioremap(mem->start, mem_size); mem_size 342 drivers/ide/palm_bk3710.c release_mem_region(mem->start, mem_size); mem_size 3470 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 mem_size; mem_size 3551 drivers/infiniband/hw/i40iw/i40iw_ctrl.c mem_size = sizeof(struct i40iw_hmc_sd_entry) * mem_size 3553 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ret_code = i40iw_allocate_virt_mem(dev->hw, &virt_mem, mem_size); mem_size 3912 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 i, mem_size; mem_size 4015 drivers/infiniband/hw/i40iw/i40iw_ctrl.c mem_size = sizeof(struct i40iw_hmc_sd_entry) * mem_size 4017 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ret_code = i40iw_allocate_virt_mem(dev->hw, &virt_mem, mem_size); mem_size 1624 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int mem_size; mem_size 1627 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mem_size = *num_entries * entry_size; mem_size 1630 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (mem_size <= (OCRDMA_Q_PAGE_BASE_SIZE << i)) mem_size 1635 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mem_size = roundup(mem_size, mem_size 1638 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mem_size / ((OCRDMA_Q_PAGE_BASE_SIZE << i) / OCRDMA_MAX_Q_PAGES); mem_size 1640 drivers/infiniband/hw/ocrdma/ocrdma_hw.c *num_entries = mem_size / entry_size; mem_size 271 drivers/input/touchscreen/atmel_mxt_ts.c size_t mem_size; mem_size 294 drivers/input/touchscreen/atmel_mxt_ts.c u16 mem_size; mem_size 1371 drivers/input/touchscreen/atmel_mxt_ts.c if (byte_offset >= 0 && byte_offset < cfg->mem_size) { mem_size 1390 drivers/input/touchscreen/atmel_mxt_ts.c while (byte_offset < cfg->mem_size) { mem_size 1391 drivers/input/touchscreen/atmel_mxt_ts.c unsigned int size = cfg->mem_size - byte_offset; mem_size 1530 drivers/input/touchscreen/atmel_mxt_ts.c cfg.mem_size = data->mem_size - cfg.start_ofs; mem_size 1531 drivers/input/touchscreen/atmel_mxt_ts.c cfg.mem = kzalloc(cfg.mem_size, GFP_KERNEL); mem_size 1552 drivers/input/touchscreen/atmel_mxt_ts.c cfg.mem_size); mem_size 1625 drivers/input/touchscreen/atmel_mxt_ts.c data->mem_size = 0; mem_size 1700 drivers/input/touchscreen/atmel_mxt_ts.c if (end_address >= data->mem_size) mem_size 1701 drivers/input/touchscreen/atmel_mxt_ts.c data->mem_size = end_address + 1; mem_size 1015 drivers/iommu/fsl_pamu.c size_t mem_size = 0; mem_size 1079 drivers/iommu/fsl_pamu.c mem_size = (PAGE_SIZE << get_order(PAACT_SIZE)) + mem_size 1082 drivers/iommu/fsl_pamu.c order = get_order(mem_size); mem_size 1120 drivers/iommu/fsl_pamu.c &ppaact_phys, mem_size, csd_port_id); mem_size 1122 drivers/iommu/fsl_pamu.c ret = create_csd(ppaact_phys, mem_size, csd_port_id); mem_size 65 drivers/media/platform/qcom/venus/firmware.c phys_addr_t *mem_phys, size_t *mem_size) mem_size 76 drivers/media/platform/qcom/venus/firmware.c *mem_size = 0; mem_size 100 drivers/media/platform/qcom/venus/firmware.c *mem_size = resource_size(&r); mem_size 102 drivers/media/platform/qcom/venus/firmware.c if (*mem_size < fw_size || fw_size > VENUS_FW_MEM_SIZE) { mem_size 107 drivers/media/platform/qcom/venus/firmware.c mem_va = memremap(r.start, *mem_size, MEMREMAP_WC); mem_size 110 drivers/media/platform/qcom/venus/firmware.c &r.start, *mem_size); mem_size 117 drivers/media/platform/qcom/venus/firmware.c mem_va, *mem_phys, *mem_size, NULL); mem_size 120 drivers/media/platform/qcom/venus/firmware.c mem_va, *mem_phys, *mem_size, NULL); mem_size 131 drivers/media/platform/qcom/venus/firmware.c size_t mem_size) mem_size 142 drivers/media/platform/qcom/venus/firmware.c core->fw.mapped_mem_size = mem_size; mem_size 144 drivers/media/platform/qcom/venus/firmware.c ret = iommu_map(iommu, VENUS_FW_START_ADDR, mem_phys, mem_size, mem_size 186 drivers/media/platform/qcom/venus/firmware.c size_t mem_size; mem_size 193 drivers/media/platform/qcom/venus/firmware.c ret = venus_load_fw(core, core->res->fwname, &mem_phys, &mem_size); mem_size 202 drivers/media/platform/qcom/venus/firmware.c ret = venus_boot_no_tz(core, mem_phys, mem_size); mem_size 1183 drivers/media/platform/s5p-mfc/s5p_mfc.c unsigned long mem_size = SZ_4M; mem_size 1187 drivers/media/platform/s5p-mfc/s5p_mfc.c mem_size = SZ_8M; mem_size 1190 drivers/media/platform/s5p-mfc/s5p_mfc.c mem_size = memparse(mfc_mem_size, NULL); mem_size 1192 drivers/media/platform/s5p-mfc/s5p_mfc.c bitmap_size = BITS_TO_LONGS(mem_size >> PAGE_SHIFT) * sizeof(long); mem_size 1198 drivers/media/platform/s5p-mfc/s5p_mfc.c mfc_dev->mem_virt = dma_alloc_coherent(dev, mem_size, mem_size 1203 drivers/media/platform/s5p-mfc/s5p_mfc.c (mem_size / SZ_1M)); mem_size 1206 drivers/media/platform/s5p-mfc/s5p_mfc.c mfc_dev->mem_size = mem_size; mem_size 1229 drivers/media/platform/s5p-mfc/s5p_mfc.c (mem_size / SZ_1M)); mem_size 1238 drivers/media/platform/s5p-mfc/s5p_mfc.c dma_free_coherent(dev, mfc_dev->mem_size, mfc_dev->mem_virt, mem_size 320 drivers/media/platform/s5p-mfc/s5p_mfc_common.h size_t mem_size; mem_size 40 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int bits = dev->mem_size >> PAGE_SHIFT; mem_size 247 drivers/memory/omap-gpmc.c static resource_size_t phys_base, mem_size; mem_size 2363 drivers/memory/omap-gpmc.c mem_size = resource_size(res); mem_size 1721 drivers/message/fusion/mptbase.c ioc->mem_size = msize; mem_size 626 drivers/message/fusion/mptbase.h int mem_size; /* mmap memory size */ mem_size 67 drivers/misc/habanalabs/memory.c num_pgs = (args->alloc.mem_size + (page_size - 1)) >> page_shift; mem_size 187 drivers/misc/habanalabs/memory.c args->map_host.mem_size, userptr); mem_size 1103 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { mem_size 1178 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { mem_size 1197 drivers/mmc/host/davinci_mmc.c size_t mem_size; mem_size 1207 drivers/mmc/host/davinci_mmc.c mem_size = resource_size(r); mem_size 1208 drivers/mmc/host/davinci_mmc.c mem = devm_request_mem_region(&pdev->dev, r->start, mem_size, mem_size 1221 drivers/mmc/host/davinci_mmc.c host->base = devm_ioremap(&pdev->dev, mem->start, mem_size); mem_size 164 drivers/net/can/cc770/cc770_platform.c resource_size_t mem_size; mem_size 173 drivers/net/can/cc770/cc770_platform.c mem_size = resource_size(mem); mem_size 174 drivers/net/can/cc770/cc770_platform.c if (!request_mem_region(mem->start, mem_size, pdev->name)) mem_size 177 drivers/net/can/cc770/cc770_platform.c base = ioremap(mem->start, mem_size); mem_size 228 drivers/net/can/cc770/cc770_platform.c release_mem_region(mem->start, mem_size); mem_size 843 drivers/net/ethernet/8390/ax88796.c unsigned long mem_size, mem2_size = 0; mem_size 881 drivers/net/ethernet/8390/ax88796.c mem_size = resource_size(mem); mem_size 892 drivers/net/ethernet/8390/ax88796.c ax->reg_offsets[ret] = (mem_size / 0x18) * ret; mem_size 895 drivers/net/ethernet/8390/ax88796.c if (!request_mem_region(mem->start, mem_size, pdev->name)) { mem_size 901 drivers/net/ethernet/8390/ax88796.c ei_local->mem = ioremap(mem->start, mem_size); mem_size 916 drivers/net/ethernet/8390/ax88796.c ax->reg_offsets[ret] = (mem_size / 0x20) * ret; mem_size 955 drivers/net/ethernet/8390/ax88796.c release_mem_region(mem->start, mem_size); mem_size 484 drivers/net/ethernet/alacritech/slic.h size_t mem_size; mem_size 811 drivers/net/ethernet/alacritech/slicoss.c stq->mem_size = size; mem_size 817 drivers/net/ethernet/alacritech/slicoss.c dma_free_coherent(&sdev->pdev->dev, stq->mem_size, mem_size 831 drivers/net/ethernet/alacritech/slicoss.c dma_free_coherent(&sdev->pdev->dev, stq->mem_size, mem_size 2860 drivers/net/ethernet/broadcom/bnxt/bnxt.c u16 mem_size; mem_size 2869 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = rxr->rx_agg_bmap_size / 8; mem_size 2870 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->rx_agg_bmap = kzalloc(mem_size, GFP_KERNEL); mem_size 3568 drivers/net/ethernet/broadcom/bnxt/bnxt.c int mem_size = (BNXT_MAX_UC_ADDRS - 1) * ETH_ALEN; mem_size 3570 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (mem_size > 0) { mem_size 3571 drivers/net/ethernet/broadcom/bnxt/bnxt.c vnic->uc_list = kmalloc(mem_size, GFP_KERNEL); mem_size 6645 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, mem_size 6651 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!mem_size) mem_size 6654 drivers/net/ethernet/broadcom/bnxt/bnxt.c ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); mem_size 6695 drivers/net/ethernet/broadcom/bnxt/bnxt.c rmem->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); mem_size 6761 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 mem_size, ena, entries; mem_size 6787 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->qp_entry_size * ctx_pg->entries; mem_size 6788 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, pg_lvl); mem_size 6794 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->srq_entry_size * ctx_pg->entries; mem_size 6795 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, pg_lvl); mem_size 6801 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->cq_entry_size * ctx_pg->entries; mem_size 6802 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, pg_lvl); mem_size 6809 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->vnic_entry_size * ctx_pg->entries; mem_size 6810 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, 1); mem_size 6816 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->stat_entry_size * ctx_pg->entries; mem_size 6817 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, 1); mem_size 6832 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->mrav_entry_size * ctx_pg->entries; mem_size 6833 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, 2); mem_size 6844 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->tim_entry_size * ctx_pg->entries; mem_size 6845 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, 1); mem_size 6858 drivers/net/ethernet/broadcom/bnxt/bnxt.c mem_size = ctx->tqm_entry_size * entries; mem_size 6859 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_alloc_ctx_pg_tbls(bp, ctx_pg, mem_size, 1); mem_size 2585 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static inline unsigned int pm_num_pages(unsigned int mem_size, mem_size 2588 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int n = mem_size / pg_size; mem_size 2723 drivers/net/ethernet/freescale/fman/fman.c resource_size_t mem_size; mem_size 2766 drivers/net/ethernet/freescale/fman/fman.c mem_size = resource_size(res); mem_size 2834 drivers/net/ethernet/freescale/fman/fman.c mem_size, "fman"); mem_size 2842 drivers/net/ethernet/freescale/fman/fman.c devm_ioremap(&of_dev->dev, phys_base_addr, mem_size); mem_size 2548 drivers/net/ethernet/marvell/skge.c skge->mem_size = tx_size + rx_size; mem_size 2549 drivers/net/ethernet/marvell/skge.c skge->mem = pci_alloc_consistent(hw->pdev, skge->mem_size, &skge->dma); mem_size 2555 drivers/net/ethernet/marvell/skge.c if (upper_32_bits(skge->dma) != upper_32_bits(skge->dma + skge->mem_size)) { mem_size 2627 drivers/net/ethernet/marvell/skge.c pci_free_consistent(hw->pdev, skge->mem_size, skge->mem, skge->dma); mem_size 2717 drivers/net/ethernet/marvell/skge.c pci_free_consistent(hw->pdev, skge->mem_size, skge->mem, skge->dma); mem_size 2474 drivers/net/ethernet/marvell/skge.h unsigned long mem_size; mem_size 1195 drivers/net/ethernet/neterion/s2io.c int mem_size; mem_size 1352 drivers/net/ethernet/neterion/s2io.c mem_size = 32; mem_size 1354 drivers/net/ethernet/neterion/s2io.c mem_size = 64; mem_size 1359 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num + mem_size 1360 drivers/net/ethernet/neterion/s2io.c mem_size % config->rx_ring_num); mem_size 1364 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1368 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1372 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1376 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1380 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1384 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 1388 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); mem_size 84 drivers/net/ethernet/ti/davinci_cpdma.c int desc_size, mem_size; mem_size 202 drivers/net/ethernet/ti/davinci_cpdma.c dma_free_coherent(ctlr->dev, pool->mem_size, pool->cpumap, mem_size 223 drivers/net/ethernet/ti/davinci_cpdma.c pool->mem_size = cpdma_params->desc_mem_size; mem_size 226 drivers/net/ethernet/ti/davinci_cpdma.c pool->num_desc = pool->mem_size / pool->desc_size; mem_size 235 drivers/net/ethernet/ti/davinci_cpdma.c pool->mem_size = pool->desc_size * pool->num_desc; mem_size 236 drivers/net/ethernet/ti/davinci_cpdma.c if (pool->mem_size > cpdma_params->desc_mem_size) mem_size 251 drivers/net/ethernet/ti/davinci_cpdma.c pool->mem_size); mem_size 254 drivers/net/ethernet/ti/davinci_cpdma.c pool->cpumap = dma_alloc_coherent(ctlr->dev, pool->mem_size, mem_size 264 drivers/net/ethernet/ti/davinci_cpdma.c pool->phys, pool->mem_size, -1); mem_size 524 drivers/net/ethernet/wiznet/w5100.c const u16 mem_size = priv->s0_rx_buf_size; mem_size 526 drivers/net/ethernet/wiznet/w5100.c offset %= mem_size; mem_size 529 drivers/net/ethernet/wiznet/w5100.c if (offset + len > mem_size) { mem_size 530 drivers/net/ethernet/wiznet/w5100.c remain = (offset + len) % mem_size; mem_size 531 drivers/net/ethernet/wiznet/w5100.c len = mem_size - offset; mem_size 548 drivers/net/ethernet/wiznet/w5100.c const u16 mem_size = priv->s0_tx_buf_size; mem_size 550 drivers/net/ethernet/wiznet/w5100.c offset %= mem_size; mem_size 553 drivers/net/ethernet/wiznet/w5100.c if (offset + len > mem_size) { mem_size 554 drivers/net/ethernet/wiznet/w5100.c remain = (offset + len) % mem_size; mem_size 555 drivers/net/ethernet/wiznet/w5100.c len = mem_size - offset; mem_size 532 drivers/net/ethernet/wiznet/w5300.c int mem_size; mem_size 547 drivers/net/ethernet/wiznet/w5300.c mem_size = resource_size(mem); mem_size 550 drivers/net/ethernet/wiznet/w5300.c priv->indirect = mem_size < W5300_BUS_DIRECT_SIZE; mem_size 206 drivers/net/fjes/fjes_hw.c size_t mem_size; mem_size 221 drivers/net/fjes/fjes_hw.c mem_size = FJES_DEV_REQ_BUF_SIZE(hw->max_epid); mem_size 222 drivers/net/fjes/fjes_hw.c hw->hw_info.req_buf = kzalloc(mem_size, GFP_KERNEL); mem_size 226 drivers/net/fjes/fjes_hw.c hw->hw_info.req_buf_size = mem_size; mem_size 228 drivers/net/fjes/fjes_hw.c mem_size = FJES_DEV_RES_BUF_SIZE(hw->max_epid); mem_size 229 drivers/net/fjes/fjes_hw.c hw->hw_info.res_buf = kzalloc(mem_size, GFP_KERNEL); mem_size 233 drivers/net/fjes/fjes_hw.c hw->hw_info.res_buf_size = mem_size; mem_size 3551 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c size_t mem_size) mem_size 3562 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c mem_size); mem_size 3567 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c while (offset < mem_size) { mem_size 3568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c len = ((offset + MEMBLOCK) < mem_size) ? MEMBLOCK : mem_size 3569 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c mem_size - offset; mem_size 287 drivers/net/wireless/marvell/mwifiex/decl.h u32 mem_size; mem_size 1211 drivers/net/wireless/marvell/mwifiex/main.c (entry->mem_size + 1) + mem_size 1249 drivers/net/wireless/marvell/mwifiex/main.c memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); mem_size 1250 drivers/net/wireless/marvell/mwifiex/main.c fw_dump_ptr += entry->mem_size; mem_size 1265 drivers/net/wireless/marvell/mwifiex/main.c entry->mem_size = 0; mem_size 2680 drivers/net/wireless/marvell/mwifiex/pcie.c entry->mem_size = 0; mem_size 2733 drivers/net/wireless/marvell/mwifiex/pcie.c entry->mem_size = memory_size; mem_size 2319 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = 0; mem_size 2374 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = memory_size; mem_size 2440 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = 0; mem_size 2479 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = 0xf0000; mem_size 2480 drivers/net/wireless/marvell/mwifiex/sdio.c end_ptr = dbg_ptr + entry->mem_size; mem_size 2501 drivers/net/wireless/marvell/mwifiex/sdio.c tmp_ptr = vmalloc(entry->mem_size + 0x4000 + 1); mem_size 2506 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size); mem_size 2510 drivers/net/wireless/marvell/mwifiex/sdio.c dbg_ptr = entry->mem_ptr + entry->mem_size; mem_size 2511 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size += 0x4000; mem_size 2512 drivers/net/wireless/marvell/mwifiex/sdio.c end_ptr = entry->mem_ptr + entry->mem_size; mem_size 2516 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = dbg_ptr - entry->mem_ptr; mem_size 2518 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_name, entry->mem_size); mem_size 2532 drivers/net/wireless/marvell/mwifiex/sdio.c entry->mem_size = 0; mem_size 121 drivers/net/wireless/ti/wl1251/io.c u32 mem_start, u32 mem_size, mem_size 127 drivers/net/wireless/ti/wl1251/io.c mem_start, mem_size); mem_size 133 drivers/net/wireless/ti/wl1251/io.c if ((mem_size + reg_size) > HW_ACCESS_MEMORY_MAX_RANGE) { mem_size 136 drivers/net/wireless/ti/wl1251/io.c mem_size = HW_ACCESS_MEMORY_MAX_RANGE - reg_size; mem_size 138 drivers/net/wireless/ti/wl1251/io.c mem_start, mem_size); mem_size 144 drivers/net/wireless/ti/wl1251/io.c ((mem_start + mem_size) > reg_start)) { mem_size 149 drivers/net/wireless/ti/wl1251/io.c mem_size = reg_start - mem_start; mem_size 151 drivers/net/wireless/ti/wl1251/io.c mem_start, mem_size); mem_size 162 drivers/net/wireless/ti/wl1251/io.c mem_start, mem_size); mem_size 168 drivers/net/wireless/ti/wl1251/io.c partition[0].size = mem_size; mem_size 176 drivers/net/wireless/ti/wl1251/io.c wl->virtual_reg_addr = mem_size; mem_size 231 drivers/nvme/host/pci.c unsigned int mem_size = nvme_dbbuf_size(dev->db_stride); mem_size 236 drivers/nvme/host/pci.c dev->dbbuf_dbs = dma_alloc_coherent(dev->dev, mem_size, mem_size 241 drivers/nvme/host/pci.c dev->dbbuf_eis = dma_alloc_coherent(dev->dev, mem_size, mem_size 245 drivers/nvme/host/pci.c dma_free_coherent(dev->dev, mem_size, mem_size 256 drivers/nvme/host/pci.c unsigned int mem_size = nvme_dbbuf_size(dev->db_stride); mem_size 259 drivers/nvme/host/pci.c dma_free_coherent(dev->dev, mem_size, mem_size 264 drivers/nvme/host/pci.c dma_free_coherent(dev->dev, mem_size, mem_size 375 drivers/pci/controller/dwc/pcie-designware-host.c pp->mem_size = resource_size(pp->mem); mem_size 702 drivers/pci/controller/dwc/pcie-designware-host.c pp->mem_bus_addr, pp->mem_size); mem_size 178 drivers/pci/controller/dwc/pcie-designware.h u32 mem_size; mem_size 131 drivers/pci/controller/pci-ftpci100.c resource_size_t mem_size, u32 *val) mem_size 135 drivers/pci/controller/pci-ftpci100.c switch (mem_size) { mem_size 183 drivers/pci/controller/pci-ftpci100.c &mem_base, &mem_size, outval); mem_size 816 drivers/pci/controller/pcie-rockchip-host.c for (reg_no = 0; reg_no < (rockchip->mem_size >> 20); reg_no++) { mem_size 835 drivers/pci/controller/pcie-rockchip-host.c offset = rockchip->mem_size >> 20; mem_size 1026 drivers/pci/controller/pcie-rockchip-host.c rockchip->mem_size = resource_size(mem); mem_size 311 drivers/pci/controller/pcie-rockchip.h u32 mem_size; mem_size 39 drivers/pcmcia/electra_cf.c unsigned long mem_size; mem_size 203 drivers/pcmcia/electra_cf.c cf->mem_size = PAGE_ALIGN(resource_size(&mem)); mem_size 204 drivers/pcmcia/electra_cf.c cf->mem_base = ioremap(cf->mem_phys, cf->mem_size); mem_size 267 drivers/pcmcia/electra_cf.c if (!request_mem_region(cf->mem_phys, cf->mem_size, driver_name)) { mem_size 303 drivers/pcmcia/electra_cf.c release_mem_region(cf->mem_phys, cf->mem_size); mem_size 336 drivers/pcmcia/electra_cf.c release_mem_region(cf->mem_phys, cf->mem_size); mem_size 55 drivers/platform/chrome/chromeos_pstore.c .mem_size = 0x100000, mem_size 99 drivers/platform/chrome/chromeos_pstore.c chromeos_ramoops_data.mem_size = len; mem_size 116 drivers/ptp/ptp_pch.c u32 mem_size; mem_size 562 drivers/ptp/ptp_pch.c release_mem_region(chip->mem_base, chip->mem_size); mem_size 596 drivers/ptp/ptp_pch.c chip->mem_size = pci_resource_len(pdev, IO_MEM_BAR); mem_size 599 drivers/ptp/ptp_pch.c if (!request_mem_region(chip->mem_base, chip->mem_size, "1588_regs")) { mem_size 607 drivers/ptp/ptp_pch.c chip->regs = ioremap(chip->mem_base, chip->mem_size); mem_size 664 drivers/ptp/ptp_pch.c release_mem_region(chip->mem_base, chip->mem_size); mem_size 92 drivers/remoteproc/qcom_q6v5_adsp.c size_t mem_size; mem_size 169 drivers/remoteproc/qcom_q6v5_adsp.c adsp->mem_region, adsp->mem_phys, adsp->mem_size, mem_size 279 drivers/remoteproc/qcom_q6v5_adsp.c if (offset < 0 || offset + len > adsp->mem_size) mem_size 397 drivers/remoteproc/qcom_q6v5_adsp.c adsp->mem_size = resource_size(&r); mem_size 399 drivers/remoteproc/qcom_q6v5_adsp.c adsp->mem_phys, adsp->mem_size); mem_size 402 drivers/remoteproc/qcom_q6v5_adsp.c &r.start, adsp->mem_size); mem_size 62 drivers/remoteproc/qcom_q6v5_pas.c size_t mem_size; mem_size 75 drivers/remoteproc/qcom_q6v5_pas.c adsp->mem_region, adsp->mem_phys, adsp->mem_size, mem_size 168 drivers/remoteproc/qcom_q6v5_pas.c if (offset < 0 || offset + len > adsp->mem_size) mem_size 237 drivers/remoteproc/qcom_q6v5_pas.c adsp->mem_size = resource_size(&r); mem_size 238 drivers/remoteproc/qcom_q6v5_pas.c adsp->mem_region = devm_ioremap_wc(adsp->dev, adsp->mem_phys, adsp->mem_size); mem_size 241 drivers/remoteproc/qcom_q6v5_pas.c &r.start, adsp->mem_size); mem_size 93 drivers/remoteproc/qcom_q6v5_wcss.c size_t mem_size; mem_size 415 drivers/remoteproc/qcom_q6v5_wcss.c if (offset < 0 || offset + len > wcss->mem_size) mem_size 427 drivers/remoteproc/qcom_q6v5_wcss.c wcss->mem_size, &wcss->mem_reloc); mem_size 517 drivers/remoteproc/qcom_q6v5_wcss.c wcss->mem_size = rmem->size; mem_size 518 drivers/remoteproc/qcom_q6v5_wcss.c wcss->mem_region = devm_ioremap_wc(dev, wcss->mem_phys, wcss->mem_size); mem_size 91 drivers/remoteproc/qcom_wcnss.c size_t mem_size; mem_size 151 drivers/remoteproc/qcom_wcnss.c wcnss->mem_size, &wcnss->mem_reloc); mem_size 296 drivers/remoteproc/qcom_wcnss.c if (offset < 0 || offset + len > wcnss->mem_size) mem_size 447 drivers/remoteproc/qcom_wcnss.c wcnss->mem_size = resource_size(&r); mem_size 448 drivers/remoteproc/qcom_wcnss.c wcnss->mem_region = devm_ioremap_wc(wcnss->dev, wcnss->mem_phys, wcnss->mem_size); mem_size 451 drivers/remoteproc/qcom_wcnss.c &r.start, wcnss->mem_size); mem_size 2082 drivers/scsi/bnx2fc/bnx2fc_hwi.c u32 mem_size; mem_size 2088 drivers/scsi/bnx2fc/bnx2fc_hwi.c mem_size = BNX2FC_NUM_MAX_SESS * sizeof(struct regpair); mem_size 2089 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->t2_hash_tbl_ptr = dma_alloc_coherent(&hba->pcidev->dev, mem_size, mem_size 2098 drivers/scsi/bnx2fc/bnx2fc_hwi.c mem_size = BNX2FC_NUM_MAX_SESS * mem_size 2100 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->t2_hash_tbl = dma_alloc_coherent(&hba->pcidev->dev, mem_size, mem_size 2138 drivers/scsi/bnx2fc/bnx2fc_hwi.c u32 mem_size; mem_size 2153 drivers/scsi/bnx2fc/bnx2fc_hwi.c mem_size = BNX2FC_NUM_MAX_SESS * sizeof(struct regpair); mem_size 2154 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, mem_size, mem_size 2161 drivers/scsi/bnx2fc/bnx2fc_hwi.c mem_size = BNX2FC_NUM_MAX_SESS * mem_size 2163 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, mem_size, mem_size 217 drivers/scsi/bnx2fc/bnx2fc_io.c u32 mem_size; mem_size 297 drivers/scsi/bnx2fc/bnx2fc_io.c mem_size = num_ios * sizeof(struct io_bdt *); mem_size 298 drivers/scsi/bnx2fc/bnx2fc_io.c cmgr->io_bdt_pool = kzalloc(mem_size, GFP_KERNEL); mem_size 304 drivers/scsi/bnx2fc/bnx2fc_io.c mem_size = sizeof(struct io_bdt); mem_size 306 drivers/scsi/bnx2fc/bnx2fc_io.c cmgr->io_bdt_pool[i] = kmalloc(mem_size, GFP_KERNEL); mem_size 326 drivers/scsi/bnx2i/bnx2i_iscsi.c int mem_size; mem_size 329 drivers/scsi/bnx2i/bnx2i_iscsi.c mem_size = hba->max_active_conns * sizeof(u32); mem_size 330 drivers/scsi/bnx2i/bnx2i_iscsi.c mem_size = (mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; mem_size 332 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->cid_que.cid_que_base = kmalloc(mem_size, GFP_KERNEL); mem_size 336 drivers/scsi/bnx2i/bnx2i_iscsi.c mem_size = hba->max_active_conns * sizeof(struct bnx2i_conn *); mem_size 337 drivers/scsi/bnx2i/bnx2i_iscsi.c mem_size = (mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; mem_size 338 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->cid_que.conn_cid_tbl = kmalloc(mem_size, GFP_KERNEL); mem_size 1100 drivers/scsi/myrb.c memsize = enquiry2->mem_size >> 20; mem_size 255 drivers/scsi/myrb.h unsigned int mem_size; /* Bytes 24-27 */ mem_size 111 drivers/scsi/pm8001/pm8001_sas.c u32 *pphys_addr_lo, u32 mem_size, u32 align) mem_size 119 drivers/scsi/pm8001/pm8001_sas.c mem_virt_alloc = dma_alloc_coherent(&pdev->dev, mem_size + align, mem_size 661 drivers/scsi/pm8001/pm8001_sas.h u32 mem_size, u32 align); mem_size 289 drivers/scsi/qla2xxx/qla_dbg.h uint32_t mem_size; mem_size 3199 drivers/scsi/qla2xxx/qla_init.c uint32_t dump_size, fixed_size, mem_size, req_q_size, rsp_q_size, mem_size 3206 drivers/scsi/qla2xxx/qla_init.c dump_size = fixed_size = mem_size = eft_size = fce_size = mq_size = 0; mem_size 3213 drivers/scsi/qla2xxx/qla_init.c mem_size = (ha->fw_memory_size - 0x11000 + 1) * mem_size 3225 drivers/scsi/qla2xxx/qla_init.c mem_size = (ha->fw_memory_size - 0x100000 + 1) * mem_size 3274 drivers/scsi/qla2xxx/qla_init.c dump_size += fixed_size + mem_size + req_q_size + rsp_q_size mem_size 3331 drivers/scsi/qla2xxx/qla_init.c ha->fw_dump->mem_size = htonl(mem_size); mem_size 32 drivers/soc/aspeed/aspeed-lpc-ctrl.c resource_size_t mem_size; mem_size 49 drivers/soc/aspeed/aspeed-lpc-ctrl.c if (vma->vm_pgoff + vsize > lpc_ctrl->mem_base + lpc_ctrl->mem_size) mem_size 91 drivers/soc/aspeed/aspeed-lpc-ctrl.c if (!lpc_ctrl->mem_size) { mem_size 96 drivers/soc/aspeed/aspeed-lpc-ctrl.c map.size = lpc_ctrl->mem_size; mem_size 140 drivers/soc/aspeed/aspeed-lpc-ctrl.c if (!lpc_ctrl->mem_size) { mem_size 145 drivers/soc/aspeed/aspeed-lpc-ctrl.c size = lpc_ctrl->mem_size; mem_size 242 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->mem_size = resource_size(&resm); mem_size 69 drivers/soc/aspeed/aspeed-p2a-ctrl.c resource_size_t mem_size; mem_size 107 drivers/soc/aspeed/aspeed-p2a-ctrl.c if (ctrl->mem_base == 0 && ctrl->mem_size == 0) mem_size 113 drivers/soc/aspeed/aspeed-p2a-ctrl.c if (vma->vm_pgoff + vsize > ctrl->mem_base + ctrl->mem_size) mem_size 218 drivers/soc/aspeed/aspeed-p2a-ctrl.c map.length = ctrl->mem_size; mem_size 358 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->mem_size = resource_size(&resm); mem_size 131 drivers/soc/qcom/mdt_loader.c phys_addr_t mem_phys, size_t mem_size, mem_size 151 drivers/soc/qcom/mdt_loader.c if (!fw || !mem_region || !mem_phys || !mem_size) mem_size 227 drivers/soc/qcom/mdt_loader.c if (offset < 0 || offset + phdr->p_memsz > mem_size) { mem_size 287 drivers/soc/qcom/mdt_loader.c phys_addr_t mem_phys, size_t mem_size, mem_size 291 drivers/soc/qcom/mdt_loader.c mem_size, reloc_base, true); mem_size 311 drivers/soc/qcom/mdt_loader.c size_t mem_size, phys_addr_t *reloc_base) mem_size 314 drivers/soc/qcom/mdt_loader.c mem_size, reloc_base, false); mem_size 107 drivers/soc/ti/knav_qmss.h int mem_size; mem_size 446 drivers/soc/ti/knav_qmss_acc.c info->mem_size, DMA_BIDIRECTIONAL); mem_size 447 drivers/soc/ti/knav_qmss_acc.c free_pages_exact(acc->list_cpu[0], info->mem_size); mem_size 479 drivers/soc/ti/knav_qmss_acc.c int list_size, mem_size; mem_size 545 drivers/soc/ti/knav_qmss_acc.c mem_size = PAGE_ALIGN(list_size * 2); mem_size 546 drivers/soc/ti/knav_qmss_acc.c info->mem_size = mem_size; mem_size 557 drivers/soc/ti/knav_qmss_acc.c list_mem = alloc_pages_exact(mem_size, GFP_KERNEL | GFP_DMA); mem_size 561 drivers/soc/ti/knav_qmss_acc.c list_dma = dma_map_single(kdev->dev, list_mem, mem_size, mem_size 564 drivers/soc/ti/knav_qmss_acc.c free_pages_exact(list_mem, mem_size); mem_size 568 drivers/soc/ti/knav_qmss_acc.c memset(list_mem, 0, mem_size); mem_size 569 drivers/soc/ti/knav_qmss_acc.c dma_sync_single_for_device(kdev->dev, list_dma, mem_size, mem_size 177 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h __le16 mem_size; mem_size 350 drivers/staging/fsl-dpaa2/ethsw/dpsw.c attr->mem_size = le16_to_cpu(rsp_params->mem_size); mem_size 167 drivers/staging/fsl-dpaa2/ethsw/dpsw.h u16 mem_size; mem_size 2087 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_init_slots(void *mem_base, int mem_size) mem_size 2093 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c int num_slots = (mem_size - mem_align)/VCHIQ_SLOT_SIZE; mem_size 2102 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c __func__, mem_size); mem_size 492 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_init_slots(void *mem_base, int mem_size); mem_size 78 drivers/tty/serial/cpm_uart/cpm_uart.h u32 mem_size; mem_size 115 drivers/tty/serial/cpm_uart/cpm_uart.h if (likely(val >= mem && val < mem + pinfo->mem_size)) { mem_size 131 drivers/tty/serial/cpm_uart/cpm_uart.h if (likely(val >= dma && val < dma + pinfo->mem_size)) { mem_size 101 drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c pinfo->mem_size = memsz; mem_size 136 drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c pinfo->mem_size = memsz; mem_size 177 drivers/usb/host/xhci-mtk-sch.c size_t mem_size; mem_size 187 drivers/usb/host/xhci-mtk-sch.c mem_size = sizeof(struct mu3h_sch_ep_info) + mem_size 189 drivers/usb/host/xhci-mtk-sch.c sch_ep = kzalloc(mem_size, GFP_KERNEL); mem_size 49 fs/f2fs/node.c unsigned long mem_size = 0; mem_size 61 fs/f2fs/node.c mem_size = (nm_i->nid_cnt[FREE_NID] * mem_size 63 fs/f2fs/node.c res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); mem_size 65 fs/f2fs/node.c mem_size = (nm_i->nat_cnt * sizeof(struct nat_entry)) >> mem_size 67 fs/f2fs/node.c res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); mem_size 73 fs/f2fs/node.c mem_size = get_pages(sbi, F2FS_DIRTY_DENTS); mem_size 74 fs/f2fs/node.c res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); mem_size 79 fs/f2fs/node.c mem_size += sbi->im[i].ino_num * mem_size 81 fs/f2fs/node.c mem_size >>= PAGE_SHIFT; mem_size 82 fs/f2fs/node.c res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); mem_size 84 fs/f2fs/node.c mem_size = (atomic_read(&sbi->total_ext_tree) * mem_size 88 fs/f2fs/node.c res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); mem_size 91 fs/f2fs/node.c mem_size = get_pages(sbi, F2FS_INMEM_PAGES); mem_size 92 fs/f2fs/node.c res = mem_size < (val.totalram / 5); mem_size 50 fs/pstore/ram.c static ulong mem_size; mem_size 51 fs/pstore/ram.c module_param(mem_size, ulong, 0400); mem_size 52 fs/pstore/ram.c MODULE_PARM_DESC(mem_size, mem_size 687 fs/pstore/ram.c pdata->mem_size = resource_size(res); mem_size 765 fs/pstore/ram.c if (!pdata->mem_size || (!pdata->record_size && !pdata->console_size && mem_size 781 fs/pstore/ram.c cxt->size = pdata->mem_size; mem_size 865 fs/pstore/ram.c mem_size = pdata->mem_size; mem_size 938 fs/pstore/ram.c if (!mem_size) mem_size 944 fs/pstore/ram.c pdata.mem_size = mem_size; mem_size 25 fs/squashfs/zstd_wrapper.c size_t mem_size; mem_size 37 fs/squashfs/zstd_wrapper.c wksp->mem_size = ZSTD_DStreamWorkspaceBound(wksp->window_size); mem_size 38 fs/squashfs/zstd_wrapper.c wksp->mem = vmalloc(wksp->mem_size); mem_size 73 fs/squashfs/zstd_wrapper.c stream = ZSTD_initDStream(wksp->window_size, wksp->mem, wksp->mem_size); mem_size 135 fs/xfs/libxfs/xfs_inode_fork.c int mem_size = size, real_size = 0; mem_size 146 fs/xfs/libxfs/xfs_inode_fork.c mem_size++; mem_size 149 fs/xfs/libxfs/xfs_inode_fork.c real_size = roundup(mem_size, 4); mem_size 129 include/linux/pstore_ram.h unsigned long mem_size; mem_size 17 include/linux/soc/qcom/mdt_loader.h phys_addr_t mem_phys, size_t mem_size, mem_size 22 include/linux/soc/qcom/mdt_loader.h phys_addr_t mem_phys, size_t mem_size, mem_size 55 include/sound/emu8000.h int mem_size; /* memory size */ mem_size 83 include/sound/emux_synth.h int mem_size; /* memory size (in byte) */ mem_size 319 include/uapi/misc/habanalabs.h __u64 mem_size; mem_size 359 include/uapi/misc/habanalabs.h __u64 mem_size; mem_size 320 net/tls/tls_sw.c int mem_size; mem_size 322 net/tls/tls_sw.c mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); mem_size 324 net/tls/tls_sw.c rec = kzalloc(mem_size, sk->sk_allocation); mem_size 1399 net/tls/tls_sw.c int n_sgin, n_sgout, nsg, mem_size, aead_size, err, pages = 0; mem_size 1431 net/tls/tls_sw.c mem_size = aead_size + (nsg * sizeof(struct scatterlist)); mem_size 1432 net/tls/tls_sw.c mem_size = mem_size + prot->aad_size; mem_size 1433 net/tls/tls_sw.c mem_size = mem_size + crypto_aead_ivsize(ctx->aead_recv); mem_size 1439 net/tls/tls_sw.c mem = kmalloc(mem_size, sk->sk_allocation); mem_size 446 sound/isa/sb/emu8000.c emu->mem_size = size; mem_size 1103 sound/isa/sb/emu8000.c hw->mem_size = 0; mem_size 234 sound/isa/sb/emu8000_pcm.c runtime->hw.buffer_bytes_max = emu->mem_size - LOOP_BLANK_SIZE * 3; mem_size 51 sound/isa/sb/emu8000_synth.c hw->memhdr = snd_util_memhdr_new(hw->mem_size); mem_size 72 sound/isa/sb/emu8000_synth.c if (hw->mem_size > 0)