/Linux-v6.1/arch/microblaze/mm/ |
D | init.c | 41 unsigned long memory_size; variable 42 EXPORT_SYMBOL(memory_size); 113 max_mapnr = memory_size >> PAGE_SHIFT; in setup_memory() 115 max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; in setup_memory() 156 if (maxmem && memory_size > maxmem) { in mm_cmdline_setup() 157 memory_size = maxmem; in mm_cmdline_setup() 158 memblock.memory.regions[0].size = memory_size; in mm_cmdline_setup() 213 lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; in mmu_init() 218 memory_size = lowmem_size; in mmu_init()
|
/Linux-v6.1/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 150 size_t memory_size; member 261 ne_user_mem_region->userspace_addr = mmap(NULL, ne_user_mem_region->memory_size, in ne_alloc_user_mem_region() 302 enclave_memory_size += ne_user_mem_regions[i].memory_size; in ne_load_enclave_image() 364 size_t memory_size = ne_user_mem_regions[i].memory_size; in ne_load_enclave_image() local 368 if (temp_image_offset >= memory_size) { in ne_load_enclave_image() 369 temp_image_offset -= memory_size; in ne_load_enclave_image() 374 memory_size -= temp_image_offset; in ne_load_enclave_image() 379 bytes_to_write = memory_size < remaining_bytes ? in ne_load_enclave_image() 380 memory_size : remaining_bytes; in ne_load_enclave_image() 412 .memory_size = ne_user_mem_region.memory_size, in ne_set_user_mem_region() [all …]
|
/Linux-v6.1/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 756 if (mem_region.memory_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region() 772 mem_region.memory_size)) { in ne_sanity_check_user_mem_region() 781 u64 memory_size = ne_mem_region->memory_size; in ne_sanity_check_user_mem_region() local 785 mem_region.userspace_addr < (userspace_addr + memory_size)) || in ne_sanity_check_user_mem_region() 787 (mem_region.userspace_addr + mem_region.memory_size) > userspace_addr)) { in ne_sanity_check_user_mem_region() 921 unsigned long memory_size = 0; in ne_set_user_memory_region_ioctl() local 935 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl() 966 gup_rc = get_user_pages_unlocked(mem_region.userspace_addr + memory_size, 1, in ne_set_user_memory_region_ioctl() 988 memory_size += page_size(ne_mem_region->pages[i]); in ne_set_user_memory_region_ioctl() 991 } while (memory_size < mem_region.memory_size); in ne_set_user_memory_region_ioctl() [all …]
|
D | ne_misc_dev.h | 29 u64 memory_size; member
|
/Linux-v6.1/arch/microblaze/include/asm/ |
D | dma.h | 10 #define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
|
D | page.h | 97 extern unsigned long memory_size;
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 429 region->region.memory_size); in kvm_vm_restart() 475 + region->region.memory_size - 1; in userspace_mem_region_find() 583 region->region.memory_size = 0; in __vm_mem_region_delete() 774 .memory_size = size, in __vm_set_user_memory_region() 851 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 866 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 932 region->region.memory_size = npages * vm->page_size; in vm_userspace_mem_region_add() 940 guest_paddr, (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 1394 + region->region.memory_size - 1)) in addr_hva2gpa() 1699 (uint64_t) region->region.memory_size, in vm_dump()
|
/Linux-v6.1/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1339 u32 memory_size, fw_dump_len = 0; in btmrvl_sdio_coredump() local 1389 memory_size = 0; in btmrvl_sdio_coredump() 1397 memory_size |= (read_reg << i*8); in btmrvl_sdio_coredump() 1401 if (memory_size == 0) { in btmrvl_sdio_coredump() 1412 BT_INFO("%s_SIZE=0x%x", entry->mem_name, memory_size); in btmrvl_sdio_coredump() 1413 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_coredump() 1414 entry->mem_size = memory_size; in btmrvl_sdio_coredump() 1423 (memory_size + 1) + in btmrvl_sdio_coredump() 1427 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump()
|
/Linux-v6.1/include/uapi/linux/ |
D | nitro_enclaves.h | 328 __u64 memory_size; member
|
D | vhost_types.h | 99 __u64 memory_size; /* bytes */ member
|
D | kvm.h | 94 __u64 memory_size; /* bytes */ member 102 __u64 memory_size; /* bytes */ member
|
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/ |
D | pcie.c | 2845 u32 memory_size; in mwifiex_pcie_fw_dump() local 2882 memory_size = 0; in mwifiex_pcie_fw_dump() 2891 memory_size |= (read_reg << (i * 8)); in mwifiex_pcie_fw_dump() 2895 memory_size = MWIFIEX_FW_DUMP_MAX_MEMSIZE; in mwifiex_pcie_fw_dump() 2898 if (memory_size == 0) { in mwifiex_pcie_fw_dump() 2910 "%s_SIZE=0x%x\n", entry->mem_name, memory_size); in mwifiex_pcie_fw_dump() 2911 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump() 2912 entry->mem_size = memory_size; in mwifiex_pcie_fw_dump() 2919 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump() 2941 vzalloc(memory_size + MWIFIEX_SIZE_4K); in mwifiex_pcie_fw_dump() [all …]
|
D | sdio.c | 2724 u32 memory_size; in mwifiex_sdio_fw_dump() local 2764 memory_size = 0; in mwifiex_sdio_fw_dump() 2772 memory_size |= (read_reg << i*8); in mwifiex_sdio_fw_dump() 2776 if (memory_size == 0) { in mwifiex_sdio_fw_dump() 2789 "%s_SIZE=0x%x\n", entry->mem_name, memory_size); in mwifiex_sdio_fw_dump() 2790 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump() 2791 entry->mem_size = memory_size; in mwifiex_sdio_fw_dump() 2798 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump()
|
/Linux-v6.1/arch/nios2/include/asm/ |
D | page.h | 75 extern unsigned long memory_size;
|
/Linux-v6.1/drivers/video/fbdev/ |
D | tgafb.c | 1324 unsigned memory_size; local 1332 memory_size = 2097152; 1339 memory_size = 8388608; 1346 memory_size = 16777216; 1351 memory_size = 16777216; 1363 info->fix.smem_len = memory_size;
|
D | ps3fb.c | 95 u32 memory_size; member 1062 dinfo->memory_size, dinfo->hardware_channel, in ps3fb_probe()
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 883 dev_priv->memory_size = in vmw_driver_load() 885 dev_priv->memory_size -= dev_priv->vram_size; in vmw_driver_load() 891 dev_priv->memory_size = 512*1024*1024; in vmw_driver_load() 940 dev_priv->memory_size / 1024); in vmw_driver_load()
|
D | vmwgfx_ioctl.c | 83 param->value = dev_priv->memory_size; in vmw_getparam_ioctl()
|
/Linux-v6.1/arch/x86/include/uapi/asm/ |
D | kvm.h | 60 __u64 memory_size; member
|
/Linux-v6.1/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 60 __u64 memory_size; member
|
/Linux-v6.1/tools/virtio/ |
D | virtio_test.c | 149 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init()
|
/Linux-v6.1/virt/kvm/ |
D | kvm_main.c | 1939 if ((mem->memory_size & (PAGE_SIZE - 1)) || in __kvm_set_memory_region() 1940 (mem->memory_size != (unsigned long)mem->memory_size)) in __kvm_set_memory_region() 1948 mem->memory_size)) in __kvm_set_memory_region() 1952 if (mem->guest_phys_addr + mem->memory_size < mem->guest_phys_addr) in __kvm_set_memory_region() 1954 if ((mem->memory_size >> PAGE_SHIFT) > KVM_MEM_MAX_NR_PAGES) in __kvm_set_memory_region() 1965 if (!mem->memory_size) { in __kvm_set_memory_region() 1976 npages = (mem->memory_size >> PAGE_SHIFT); in __kvm_set_memory_region()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 527 last = i + (region->region.memory_size >> vm->page_shift); in nested_map_memslot()
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | kvm.h | 94 __u64 memory_size; /* bytes */ member 102 __u64 memory_size; /* bytes */ member
|
/Linux-v6.1/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 3081 …uint32_t memory_size; // Total memory size in unit of MB for CONFIG_MEMSIZE zer… member 3204 …uint32_t memory_size; // Total memory size in unit of MB for CONFIG_MEMSIZE zer… member 3246 …uint32_t memory_size; // Total memory size in unit of MB for CONFIG_MEMSIZE zer… member
|