/kernel/linux/linux-5.10/arch/microblaze/mm/ |
D | init.c | 45 unsigned long memory_size; variable 46 EXPORT_SYMBOL(memory_size); 122 memory_size = lowmem_size; in setup_memory() 126 (u32) memory_size); in setup_memory() 131 if (!memory_start || !memory_size) { in setup_memory() 133 __func__, (u32) memory_start, (u32) memory_size); in setup_memory() 158 max_mapnr = memory_size >> PAGE_SHIFT; in setup_memory() 160 max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; in setup_memory() 208 if (maxmem && memory_size > maxmem) { in mm_cmdline_setup() 209 memory_size = maxmem; in mm_cmdline_setup() [all …]
|
/kernel/linux/linux-5.10/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 150 size_t memory_size; member 262 ne_user_mem_region->userspace_addr = mmap(NULL, ne_user_mem_region->memory_size, in ne_alloc_user_mem_region() 303 enclave_memory_size += ne_user_mem_regions[i].memory_size; in ne_load_enclave_image() 365 size_t memory_size = ne_user_mem_regions[i].memory_size; in ne_load_enclave_image() local 369 if (temp_image_offset >= memory_size) { in ne_load_enclave_image() 370 temp_image_offset -= memory_size; in ne_load_enclave_image() 375 memory_size -= temp_image_offset; in ne_load_enclave_image() 380 bytes_to_write = memory_size < remaining_bytes ? in ne_load_enclave_image() 381 memory_size : remaining_bytes; in ne_load_enclave_image() 413 .memory_size = ne_user_mem_region.memory_size, in ne_set_user_mem_region() [all …]
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | setup.c | 35 unsigned long memory_size; variable 151 memory_size = memblock_phys_mem_size(); in setup_arch() 153 memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE + memory_size; in setup_arch()
|
/kernel/linux/linux-5.10/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 745 if (mem_region.memory_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region() 761 mem_region.memory_size)) { in ne_sanity_check_user_mem_region() 770 u64 memory_size = ne_mem_region->memory_size; in ne_sanity_check_user_mem_region() local 774 mem_region.userspace_addr < (userspace_addr + memory_size)) || in ne_sanity_check_user_mem_region() 776 (mem_region.userspace_addr + mem_region.memory_size) > userspace_addr)) { in ne_sanity_check_user_mem_region() 844 unsigned long memory_size = 0; in ne_set_user_memory_region_ioctl() local 859 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl() 889 gup_rc = get_user_pages(mem_region.userspace_addr + memory_size, 1, FOLL_GET, in ne_set_user_memory_region_ioctl() 911 memory_size += page_size(ne_mem_region->pages[i]); in ne_set_user_memory_region_ioctl() 914 } 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
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | dma.h | 15 #define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
|
D | page.h | 132 extern unsigned long memory_size;
|
D | uaccess.h | 52 ((addr + size - 1) > (memory_start + memory_size - 1))); in ___range_ok()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 304 region->region.memory_size); in kvm_vm_restart() 358 + region->region.memory_size - 1; in userspace_mem_region_find() 474 region->region.memory_size = 0; in __vm_mem_region_delete() 641 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 655 (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 714 region->region.memory_size = npages * vm->page_size; in vm_userspace_mem_region_add() 722 guest_paddr, (uint64_t) region->region.memory_size); in vm_userspace_mem_region_add() 1111 + region->region.memory_size - 1))) in addr_gpa2hva() 1144 + region->region.memory_size - 1))) in addr_hva2gpa() 1613 (uint64_t) region->region.memory_size, in vm_dump()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | nitro_enclaves.h | 328 __u64 memory_size; member
|
D | vhost_types.h | 99 __u64 memory_size; /* bytes */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | nitro_enclaves.h | 57 __u64 memory_size; member
|
D | vhost_types.h | 77 __u64 memory_size; member
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1352 u32 memory_size, fw_dump_len = 0; in btmrvl_sdio_coredump() local 1401 memory_size = 0; in btmrvl_sdio_coredump() 1409 memory_size |= (read_reg << i*8); in btmrvl_sdio_coredump() 1413 if (memory_size == 0) { in btmrvl_sdio_coredump() 1424 BT_INFO("%s_SIZE=0x%x", entry->mem_name, memory_size); in btmrvl_sdio_coredump() 1425 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_coredump() 1426 entry->mem_size = memory_size; in btmrvl_sdio_coredump() 1435 (memory_size + 1) + in btmrvl_sdio_coredump() 1439 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump()
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | page.h | 75 extern unsigned long memory_size;
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | pcie.c | 2847 u32 memory_size; in mwifiex_pcie_fw_dump() local 2884 memory_size = 0; in mwifiex_pcie_fw_dump() 2893 memory_size |= (read_reg << (i * 8)); in mwifiex_pcie_fw_dump() 2897 memory_size = MWIFIEX_FW_DUMP_MAX_MEMSIZE; in mwifiex_pcie_fw_dump() 2900 if (memory_size == 0) { in mwifiex_pcie_fw_dump() 2912 "%s_SIZE=0x%x\n", entry->mem_name, memory_size); in mwifiex_pcie_fw_dump() 2913 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump() 2914 entry->mem_size = memory_size; in mwifiex_pcie_fw_dump() 2921 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump() 2943 vzalloc(memory_size + MWIFIEX_SIZE_4K); in mwifiex_pcie_fw_dump() [all …]
|
D | sdio.c | 2716 u32 memory_size; in mwifiex_sdio_fw_dump() local 2756 memory_size = 0; in mwifiex_sdio_fw_dump() 2764 memory_size |= (read_reg << i*8); in mwifiex_sdio_fw_dump() 2768 if (memory_size == 0) { in mwifiex_sdio_fw_dump() 2781 "%s_SIZE=0x%x\n", entry->mem_name, memory_size); in mwifiex_sdio_fw_dump() 2782 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump() 2783 entry->mem_size = memory_size; in mwifiex_sdio_fw_dump() 2790 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | vhost.h | 71 __u64 memory_size; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | tgafb.c | 1318 unsigned memory_size; local 1326 memory_size = 2097152; 1333 memory_size = 8388608; 1340 memory_size = 16777216; 1345 memory_size = 16777216; 1357 info->fix.smem_len = memory_size;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 732 dev_priv->memory_size = in vmw_driver_load() 734 dev_priv->memory_size -= dev_priv->vram_size; in vmw_driver_load() 740 dev_priv->memory_size = 512*1024*1024; in vmw_driver_load() 804 (unsigned)dev_priv->memory_size / 1024); in vmw_driver_load()
|
D | vmwgfx_ioctl.c | 91 param->value = dev_priv->memory_size; in vmw_getparam_ioctl()
|
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 59 __u64 memory_size; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
D | kvm.h | 63 __u64 memory_size; member
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
D | kvm.h | 59 __u64 memory_size; member
|
/kernel/linux/linux-5.10/tools/virtio/ |
D | virtio_test.c | 149 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init()
|