Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 22 of 22) sorted by relevance

/arch/mips/math-emu/
Dieee754int.h53 #define EXPLODESP(v, vc, vs, ve, vm) \ argument
57 vm = SPMANT(v); \
59 if (vm == 0) \
61 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \
66 if (vm) { \
73 vm |= SP_HIDDEN_BIT; \
91 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument
93 vm = DPMANT(v); \
97 if (vm == 0) \
99 else if (ieee754_csr.nan2008 ^ !(vm & DP_MBIT(DP_FBITS - 1))) \
[all …]
/arch/arm/mm/
Dioremap.c51 struct vm_struct *vm; in find_static_vm_paddr() local
54 vm = &svm->vm; in find_static_vm_paddr()
55 if (!(vm->flags & VM_ARM_STATIC_MAPPING)) in find_static_vm_paddr()
57 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr()
60 if (vm->phys_addr > paddr || in find_static_vm_paddr()
61 paddr + size - 1 > vm->phys_addr + vm->size - 1) in find_static_vm_paddr()
73 struct vm_struct *vm; in find_static_vm_vaddr() local
76 vm = &svm->vm; in find_static_vm_vaddr()
79 if (vm->addr > vaddr) in find_static_vm_vaddr()
82 if (vm->addr <= vaddr && vm->addr + vm->size > vaddr) in find_static_vm_vaddr()
[all …]
Dmmu.c993 struct vm_struct *vm; in iotable_init() local
1007 vm = &svm->vm; in iotable_init()
1008 vm->addr = (void *)(md->virtual & PAGE_MASK); in iotable_init()
1009 vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); in iotable_init()
1010 vm->phys_addr = __pfn_to_phys(md->pfn); in iotable_init()
1011 vm->flags = VM_IOREMAP | VM_ARM_STATIC_MAPPING; in iotable_init()
1012 vm->flags |= VM_ARM_MTYPE(md->type); in iotable_init()
1013 vm->caller = iotable_init; in iotable_init()
1021 struct vm_struct *vm; in vm_reserve_area_early() local
1029 vm = &svm->vm; in vm_reserve_area_early()
[all …]
Dmm.h75 struct vm_struct vm; member
/arch/s390/kernel/
Dearly.c82 if (!memcmp(vmms->vm[0].cpi, "\xd2\xe5\xd4", 3)) in detect_machine_type()
84 else if (!memcmp(vmms->vm[0].cpi, "\xa9\x61\xe5\xd4", 4)) in detect_machine_type()
109 struct sysinfo_3_2_2 *vm = (struct sysinfo_3_2_2 *)&sysinfo_page; in setup_arch_string() local
122 if (stsi(vm, 3, 2, 2) == 0 && vm->count) { in setup_arch_string()
123 EBCASC(vm->vm[0].cpi, sizeof(vm->vm[0].cpi)); in setup_arch_string()
124 sprintf(hvstr, "%-16.16s", vm->vm[0].cpi); in setup_arch_string()
Dlgr.c44 } vm[VM_LEVEL_MAX]; member
106 cpascii(lgr_info->vm[i].name, si->vm[i].name, in lgr_stsi_3_2_2()
107 sizeof(si->vm[i].name)); in lgr_stsi_3_2_2()
108 cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, in lgr_stsi_3_2_2()
109 sizeof(si->vm[i].cpi)); in lgr_stsi_3_2_2()
Dsysinfo.c242 if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len)) in print_ext_name()
250 if (uuid_is_null(&info->vm[i].uuid)) in print_uuid()
252 seq_printf(m, "VM%02d UUID: %pUb\n", i, &info->vm[i].uuid); in print_uuid()
262 EBCASC(info->vm[i].name, sizeof(info->vm[i].name)); in stsi_3_2_2()
263 EBCASC(info->vm[i].cpi, sizeof(info->vm[i].cpi)); in stsi_3_2_2()
265 seq_printf(m, "VM%02d Name: %-8.8s\n", i, info->vm[i].name); in stsi_3_2_2()
266 seq_printf(m, "VM%02d Control Program: %-16.16s\n", i, info->vm[i].cpi); in stsi_3_2_2()
267 seq_printf(m, "VM%02d Adjustment: %d\n", i, info->vm[i].caf); in stsi_3_2_2()
268 seq_printf(m, "VM%02d CPUs Total: %d\n", i, info->vm[i].cpus_total); in stsi_3_2_2()
269 seq_printf(m, "VM%02d CPUs Configured: %d\n", i, info->vm[i].cpus_configured); in stsi_3_2_2()
[all …]
Dsetup.c1013 add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count); in setup_randomness()
/arch/unicore32/mm/
Dioremap.c234 struct vm_struct *vm; in __uc32_iounmap() local
243 vm = find_vm_area(addr); in __uc32_iounmap()
244 if (vm && (vm->flags & VM_IOREMAP) && in __uc32_iounmap()
245 (vm->flags & VM_UNICORE_SECTION_MAPPING)) in __uc32_iounmap()
246 unmap_area_sections((unsigned long)vm->addr, vm->size); in __uc32_iounmap()
/arch/x86/xen/
Dp2m.c417 static struct vm_struct vm; in xen_vmalloc_p2m_tree() local
423 vm.flags = VM_ALLOC; in xen_vmalloc_p2m_tree()
424 vm.size = ALIGN(sizeof(unsigned long) * max(xen_max_p2m_pfn, p2m_limit), in xen_vmalloc_p2m_tree()
426 vm_area_register_early(&vm, PMD_SIZE * PMDS_PER_MID_PAGE); in xen_vmalloc_p2m_tree()
427 pr_notice("p2m virtual area at %p, size is %lx\n", vm.addr, vm.size); in xen_vmalloc_p2m_tree()
429 xen_max_p2m_pfn = vm.size / sizeof(unsigned long); in xen_vmalloc_p2m_tree()
431 xen_rebuild_p2m_list(vm.addr); in xen_vmalloc_p2m_tree()
433 xen_p2m_addr = vm.addr; in xen_vmalloc_p2m_tree()
/arch/arm64/boot/dts/mediatek/
Dmt6380.dtsi41 mt6380_vm_reg: ldo-vm {
42 regulator-name = "vm";
/arch/s390/kvm/
Dpriv.c817 memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0])); in handle_stsi_3_2_2()
819 memset(&mem->vm[0], 0, sizeof(mem->vm[0])); in handle_stsi_3_2_2()
820 mem->vm[0].cpus_total = cpus; in handle_stsi_3_2_2()
821 mem->vm[0].cpus_configured = cpus; in handle_stsi_3_2_2()
822 mem->vm[0].cpus_standby = 0; in handle_stsi_3_2_2()
823 mem->vm[0].cpus_reserved = 0; in handle_stsi_3_2_2()
824 mem->vm[0].caf = 1000; in handle_stsi_3_2_2()
825 memcpy(mem->vm[0].name, "KVMguest", 8); in handle_stsi_3_2_2()
826 ASCEBC(mem->vm[0].name, 8); in handle_stsi_3_2_2()
827 memcpy(mem->vm[0].cpi, "KVM/Linux ", 16); in handle_stsi_3_2_2()
[all …]
/arch/x86/events/
Dperf_event.h484 #define EVENT_EXTRA_REG(e, ms, m, vm, i) { \ argument
488 .valid_mask = (vm), \
493 #define INTEL_EVENT_EXTRA_REG(event, msr, vm, idx) \ argument
494 EVENT_EXTRA_REG(event, msr, ARCH_PERFMON_EVENTSEL_EVENT, vm, idx)
496 #define INTEL_UEVENT_EXTRA_REG(event, msr, vm, idx) \ argument
498 ARCH_PERFMON_EVENTSEL_UMASK, vm, idx)
/arch/s390/include/asm/
Dsysinfo.h136 } vm[8]; member
/arch/powerpc/kvm/
DKconfig128 kvm/vm#/vcpu#/timings. The overhead is of the order of 30 - 40
141 report is available in debugfs kvm/vm#_vcpu#_timing.
/arch/arm/boot/dts/
Dmt6323.dtsi210 regulator-name = "vm";
/arch/ia64/
DKconfig294 See <file:Documentation/vm/numa.rst> for more.
/arch/
DKconfig769 /proc/sys/vm/mmap_rnd_bits tunable
804 /proc/sys/vm/mmap_rnd_compat_bits tunable
/arch/alpha/
DKconfig556 See <file:Documentation/vm/numa.rst> for more.
/arch/arm64/boot/dts/nvidia/
Dtegra186.dtsi874 reg-names = "hypervisor", "vm";
Dtegra194.dtsi809 reg-names = "hypervisor", "vm";
/arch/mips/
DKconfig2624 See <file:Documentation/vm/numa.rst> for more.