Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dcpuid.h24 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_xsave() local
29 best = kvm_find_cpuid_entry(vcpu, 1, 0); in guest_cpuid_has_xsave()
30 return best && (best->ecx & bit(X86_FEATURE_XSAVE)); in guest_cpuid_has_xsave()
35 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_smep() local
37 best = kvm_find_cpuid_entry(vcpu, 7, 0); in guest_cpuid_has_smep()
38 return best && (best->ebx & bit(X86_FEATURE_SMEP)); in guest_cpuid_has_smep()
43 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_fsgsbase() local
45 best = kvm_find_cpuid_entry(vcpu, 7, 0); in guest_cpuid_has_fsgsbase()
46 return best && (best->ebx & bit(X86_FEATURE_FSGSBASE)); in guest_cpuid_has_fsgsbase()
51 struct kvm_cpuid_entry2 *best; in guest_cpuid_has_osvw() local
[all …]
Dcpuid.c28 struct kvm_cpuid_entry2 *best; in kvm_update_cpuid() local
31 best = kvm_find_cpuid_entry(vcpu, 1, 0); in kvm_update_cpuid()
32 if (!best) in kvm_update_cpuid()
36 if (cpu_has_xsave && best->function == 0x1) { in kvm_update_cpuid()
37 best->ecx &= ~(bit(X86_FEATURE_OSXSAVE)); in kvm_update_cpuid()
39 best->ecx |= bit(X86_FEATURE_OSXSAVE); in kvm_update_cpuid()
43 if (best->ecx & bit(X86_FEATURE_TSC_DEADLINE_TIMER)) in kvm_update_cpuid()
589 struct kvm_cpuid_entry2 *best = NULL; in kvm_find_cpuid_entry() local
598 best = e; in kvm_find_cpuid_entry()
602 return best; in kvm_find_cpuid_entry()
[all …]
Dvmx.c1861 struct kvm_cpuid_entry2 *best = kvm_find_cpuid_entry(vcpu, 1, 0); in guest_cpuid_has_vmx() local
1862 return best && (best->ecx & (1 << (X86_FEATURE_VMX & 31))); in guest_cpuid_has_vmx()
6421 struct kvm_cpuid_entry2 *best;
6429 best = kvm_find_cpuid_entry(vcpu, 0x80000001, 0);
6430 if (best && (best->edx & bit(X86_FEATURE_RDTSCP)))
/arch/sh/kernel/
Dunwinder.c67 struct unwinder *best; in select_unwinder() local
72 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder()
73 if (best == curr_unwinder) in select_unwinder()
76 return best; in select_unwinder()
/arch/arm/common/
Dicst.c50 unsigned int i = 0, rd, best = (unsigned int)-1; in icst_hz_to_vco() local
88 if ((unsigned)f_diff < best) { in icst_hz_to_vco()
93 best = f_diff; in icst_hz_to_vco()
/arch/arm/mach-tegra/
Dtegra2_emc.c107 int best = -1; in tegra_emc_round_rate() local
127 best = i; in tegra_emc_round_rate()
131 if (best < 0) in tegra_emc_round_rate()
134 pr_debug("%s: using %lu\n", __func__, pdata->tables[best].rate); in tegra_emc_round_rate()
136 return pdata->tables[best].rate * 2 * 1000; in tegra_emc_round_rate()
/arch/arm/mach-s3c24xx/
Dcommon-s3c2443.c224 unsigned best = 256; /* bigger than any value */ in s3c2443_armclk_roundrate() local
236 if (calc <= rate && div < best) in s3c2443_armclk_roundrate()
237 best = div; in s3c2443_armclk_roundrate()
241 return parent / best; in s3c2443_armclk_roundrate()
265 unsigned best = 256; /* bigger than any value */ in s3c2443_armclk_setrate() local
277 if (calc <= rate && div < best) { in s3c2443_armclk_setrate()
278 best = div; in s3c2443_armclk_setrate()
/arch/parisc/
DKconfig178 This lets you select the page size of the kernel. For best
179 performance, a page size of 16KB is recommended. For best
184 4KB For best 32bit compatibility
185 16KB For best performance
186 64KB For best performance, might give more overhead.
/arch/powerpc/platforms/cell/spufs/
Dsched.c840 int best; in grab_runnable_context() local
843 best = find_first_bit(spu_prio->bitmap, prio); in grab_runnable_context()
844 while (best < prio) { in grab_runnable_context()
845 struct list_head *rq = &spu_prio->runq[best]; in grab_runnable_context()
854 best++; in grab_runnable_context()
/arch/powerpc/platforms/cell/
Diommu.c898 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
930 for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { in cell_iommu_get_fixed_address()
935 best = i; in cell_iommu_get_fixed_address()
940 if (best >= 0) { in cell_iommu_get_fixed_address()
941 dev_addr = of_read_number(ranges + best, naddr); in cell_iommu_get_fixed_address()
/arch/ia64/mm/
Ddiscontig.c479 u8 best = 0xff; in memory_less_node_alloc() local
485 else if (node_distance(nid, node) < best) { in memory_less_node_alloc()
486 best = node_distance(nid, node); in memory_less_node_alloc()
/arch/ia64/
DKconfig269 This lets you select the page size of the kernel. For best IA-64
270 performance, a page size of 8KB or 16KB is recommended. For best
276 4KB For best IA-32 compatibility
277 8KB For best IA-64 performance
278 16KB For best IA-64 performance
/arch/arm/mach-davinci/
Dda850.c963 unsigned int best = (unsigned int) -1; in da850_round_armrate() local
973 if (diff < best) { in da850_round_armrate()
974 best = diff; in da850_round_armrate()
/arch/cris/arch-v10/drivers/
DKconfig601 should be bit 27, otherwise your best bet is bit 5.
609 Port PB. This is probably best left at 3.
617 Port PB. This is probably best left at 2.
/arch/x86/math-emu/
DREADME165 upon instruction mix. Relative performance is best for the instructions
232 match those of an 80486 FPU. They are the best possible; the error for
317 results which are in error (i.e. less accurate than the best possible
/arch/x86/
DKconfig.debug267 do what it thinks is best, which is desirable for the gcc 3.x series of
/arch/cris/arch-v32/
DKconfig37 best choice if you have more than one Ethernet interface and
/arch/sh/kernel/cpu/sh5/
Dentry.S1484 movi 16, r0 ! this value is a best guess, should tune it by benchmarking
/arch/mips/
DKconfig2223 approximately eight kilobytes to the kernel image. For best
/arch/m68k/ifpsp060/src/
Dfpsp.S7072 # the best we can. For |X| >= 2^(-16312), the #