Home
last modified time | relevance | path

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

/arch/mips/math-emu/
Dieee754int.h65 #define EXPLODESP(v, vc, vs, ve, vm) \ argument
69 vm = SPMANT(v); \
71 if (vm == 0) \
73 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \
78 if (vm) { \
85 vm |= SP_HIDDEN_BIT; \
103 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument
105 vm = DPMANT(v); \
109 if (vm == 0) \
111 else if (ieee754_csr.nan2008 ^ !(vm & DP_MBIT(DP_FBITS - 1))) \
[all …]
/arch/arm/mm/
Dioremap.c50 struct vm_struct *vm; in find_static_vm_paddr() local
53 vm = &svm->vm; in find_static_vm_paddr()
54 if (!(vm->flags & VM_ARM_STATIC_MAPPING)) in find_static_vm_paddr()
56 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr()
59 if (vm->phys_addr > paddr || in find_static_vm_paddr()
60 paddr + size - 1 > vm->phys_addr + vm->size - 1) in find_static_vm_paddr()
72 struct vm_struct *vm; in find_static_vm_vaddr() local
75 vm = &svm->vm; in find_static_vm_vaddr()
78 if (vm->addr > vaddr) in find_static_vm_vaddr()
81 if (vm->addr <= vaddr && vm->addr + vm->size > vaddr) in find_static_vm_vaddr()
[all …]
Dmmu.c997 struct vm_struct *vm; in iotable_init() local
1008 vm = &svm->vm; in iotable_init()
1009 vm->addr = (void *)(md->virtual & PAGE_MASK); in iotable_init()
1010 vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); in iotable_init()
1011 vm->phys_addr = __pfn_to_phys(md->pfn); in iotable_init()
1012 vm->flags = VM_IOREMAP | VM_ARM_STATIC_MAPPING; in iotable_init()
1013 vm->flags |= VM_ARM_MTYPE(md->type); in iotable_init()
1014 vm->caller = iotable_init; in iotable_init()
1022 struct vm_struct *vm; in vm_reserve_area_early() local
1027 vm = &svm->vm; in vm_reserve_area_early()
[all …]
Dmm.h76 struct vm_struct vm; member
/arch/s390/kernel/
Dlgr.c43 } vm[VM_LEVEL_MAX]; member
105 cpascii(lgr_info->vm[i].name, si->vm[i].name, in lgr_stsi_3_2_2()
106 sizeof(si->vm[i].name)); in lgr_stsi_3_2_2()
107 cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, in lgr_stsi_3_2_2()
108 sizeof(si->vm[i].cpi)); in lgr_stsi_3_2_2()
Dearly.c230 if (!memcmp(vmms->vm[0].cpi, "\xd2\xe5\xd4", 3)) in detect_machine_type()
232 else if (!memcmp(vmms->vm[0].cpi, "\xa9\x61\xe5\xd4", 4)) in detect_machine_type()
257 struct sysinfo_3_2_2 *vm = (struct sysinfo_3_2_2 *)&sysinfo_page; in setup_arch_string() local
270 if (stsi(vm, 3, 2, 2) == 0 && vm->count) { in setup_arch_string()
271 EBCASC(vm->vm[0].cpi, sizeof(vm->vm[0].cpi)); in setup_arch_string()
272 sprintf(hvstr, "%-16.16s", vm->vm[0].cpi); in setup_arch_string()
Dsysinfo.c240 if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len)) in print_ext_name()
248 if (uuid_is_null(&info->vm[i].uuid)) in print_uuid()
250 seq_printf(m, "VM%02d UUID: %pUb\n", i, &info->vm[i].uuid); in print_uuid()
260 EBCASC(info->vm[i].name, sizeof(info->vm[i].name)); in stsi_3_2_2()
261 EBCASC(info->vm[i].cpi, sizeof(info->vm[i].cpi)); in stsi_3_2_2()
263 seq_printf(m, "VM%02d Name: %-8.8s\n", i, info->vm[i].name); in stsi_3_2_2()
264 seq_printf(m, "VM%02d Control Program: %-16.16s\n", i, info->vm[i].cpi); in stsi_3_2_2()
265 seq_printf(m, "VM%02d Adjustment: %d\n", i, info->vm[i].caf); in stsi_3_2_2()
266 seq_printf(m, "VM%02d CPUs Total: %d\n", i, info->vm[i].cpus_total); in stsi_3_2_2()
267 seq_printf(m, "VM%02d CPUs Configured: %d\n", i, info->vm[i].cpus_configured); in stsi_3_2_2()
[all …]
Dsetup.c857 add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count); in setup_randomness()
/arch/unicore32/mm/
Dioremap.c238 struct vm_struct *vm; in __uc32_iounmap() local
247 vm = find_vm_area(addr); in __uc32_iounmap()
248 if (vm && (vm->flags & VM_IOREMAP) && in __uc32_iounmap()
249 (vm->flags & VM_UNICORE_SECTION_MAPPING)) in __uc32_iounmap()
250 unmap_area_sections((unsigned long)vm->addr, vm->size); in __uc32_iounmap()
/arch/tile/mm/
Dpgtable.c434 struct vm_area_struct *vm; in update_priority_cached() local
435 for (vm = mm->mmap; vm; vm = vm->vm_next) { in update_priority_cached()
436 if (hv_pte_get_cached_priority(vm->vm_page_prot)) in update_priority_cached()
439 if (vm == NULL) in update_priority_cached()
/arch/x86/xen/
Dp2m.c408 static struct vm_struct vm; in xen_vmalloc_p2m_tree() local
414 vm.flags = VM_ALLOC; in xen_vmalloc_p2m_tree()
415 vm.size = ALIGN(sizeof(unsigned long) * max(xen_max_p2m_pfn, p2m_limit), in xen_vmalloc_p2m_tree()
417 vm_area_register_early(&vm, PMD_SIZE * PMDS_PER_MID_PAGE); in xen_vmalloc_p2m_tree()
418 pr_notice("p2m virtual area at %p, size is %lx\n", vm.addr, vm.size); in xen_vmalloc_p2m_tree()
420 xen_max_p2m_pfn = vm.size / sizeof(unsigned long); in xen_vmalloc_p2m_tree()
422 xen_rebuild_p2m_list(vm.addr); in xen_vmalloc_p2m_tree()
424 xen_p2m_addr = vm.addr; in xen_vmalloc_p2m_tree()
/arch/s390/kvm/
Dpriv.c679 memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0])); in handle_stsi_3_2_2()
681 memset(&mem->vm[0], 0, sizeof(mem->vm[0])); in handle_stsi_3_2_2()
682 mem->vm[0].cpus_total = cpus; in handle_stsi_3_2_2()
683 mem->vm[0].cpus_configured = cpus; in handle_stsi_3_2_2()
684 mem->vm[0].cpus_standby = 0; in handle_stsi_3_2_2()
685 mem->vm[0].cpus_reserved = 0; in handle_stsi_3_2_2()
686 mem->vm[0].caf = 1000; in handle_stsi_3_2_2()
687 memcpy(mem->vm[0].name, "KVMguest", 8); in handle_stsi_3_2_2()
688 ASCEBC(mem->vm[0].name, 8); in handle_stsi_3_2_2()
689 memcpy(mem->vm[0].cpi, "KVM/Linux ", 16); in handle_stsi_3_2_2()
[all …]
/arch/x86/events/
Dperf_event.h436 #define EVENT_EXTRA_REG(e, ms, m, vm, i) { \ argument
440 .valid_mask = (vm), \
445 #define INTEL_EVENT_EXTRA_REG(event, msr, vm, idx) \ argument
446 EVENT_EXTRA_REG(event, msr, ARCH_PERFMON_EVENTSEL_EVENT, vm, idx)
448 #define INTEL_UEVENT_EXTRA_REG(event, msr, vm, idx) \ argument
450 ARCH_PERFMON_EVENTSEL_UMASK, vm, idx)
/arch/s390/include/asm/
Dsysinfo.h138 } vm[8]; member
/arch/powerpc/kvm/
DKconfig127 kvm/vm#/vcpu#/timings. The overhead is of the order of 30 - 40
140 report is available in debugfs kvm/vm#_vcpu#_timing.
/arch/arm/boot/dts/
Dmt6323.dtsi209 regulator-name = "vm";
/arch/
DKconfig822 /proc/sys/vm/mmap_rnd_bits tunable
857 /proc/sys/vm/mmap_rnd_compat_bits tunable
/arch/ia64/
DKconfig394 See <file:Documentation/vm/numa> for more.
/arch/alpha/
DKconfig586 See <file:Documentation/vm/numa> for more.
/arch/mips/
DKconfig2559 See <file:Documentation/vm/numa> for more.