Home
last modified time | relevance | path

Searched refs:new_val (Results 1 – 11 of 11) sorted by relevance

/arch/x86/include/asm/xen/
Dhypercall.h344 HYPERVISOR_update_va_mapping(unsigned long va, pte_t new_val, in HYPERVISOR_update_va_mapping() argument
347 if (sizeof(new_val) == sizeof(long)) in HYPERVISOR_update_va_mapping()
349 new_val.pte, flags); in HYPERVISOR_update_va_mapping()
352 new_val.pte, new_val.pte >> 32, flags); in HYPERVISOR_update_va_mapping()
460 pte_t new_val, unsigned long flags) in MULTI_update_va_mapping() argument
464 if (sizeof(new_val) == sizeof(long)) { in MULTI_update_va_mapping()
465 mcl->args[1] = new_val.pte; in MULTI_update_va_mapping()
468 mcl->args[1] = new_val.pte; in MULTI_update_va_mapping()
469 mcl->args[2] = new_val.pte >> 32; in MULTI_update_va_mapping()
473 trace_xen_mc_entry(mcl, sizeof(new_val) == sizeof(long) ? 3 : 4); in MULTI_update_va_mapping()
/arch/sparc/kernel/
Dprom_common.c54 void *new_val; in of_set_property() local
57 new_val = kmemdup(val, len, GFP_KERNEL); in of_set_property()
58 if (!new_val) in of_set_property()
77 prop->value = new_val; in of_set_property()
/arch/x86/kernel/
Di8259.c305 unsigned char new_val, probe_val = ~(1 << PIC_CASCADE_IR); in probe_8259A() local
336 new_val = inb(PIC_MASTER_IMR); in probe_8259A()
337 if (new_val != probe_val) { in probe_8259A()
/arch/x86/kvm/
Dioapic.c107 bool new_val, old_val; in __rtc_irq_eoi_tracking_restore_one() local
117 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one()
120 if (new_val == old_val) in __rtc_irq_eoi_tracking_restore_one()
123 if (new_val) { in __rtc_irq_eoi_tracking_restore_one()
Demulate.c4287 u64 new_val = ctxt->src.val64; in check_cr_write() local
4302 if (new_val & cr_reserved_bits[cr]) in check_cr_write()
4308 if (((new_val & X86_CR0_PG) && !(new_val & X86_CR0_PE)) || in check_cr_write()
4309 ((new_val & X86_CR0_NW) && !(new_val & X86_CR0_CD))) in check_cr_write()
4315 if ((new_val & X86_CR0_PG) && (efer & EFER_LME) && in check_cr_write()
4341 if (new_val & rsvd) in check_cr_write()
4349 if ((efer & EFER_LMA) && !(new_val & X86_CR4_PAE)) in check_cr_write()
4396 u64 new_val = ctxt->src.val64; in check_dr_write() local
4399 if ((dr == 6 || dr == 7) && (new_val & 0xffffffff00000000ULL)) in check_dr_write()
Dmmu.c6272 bool new_val; in set_nx_huge_pages() local
6276 new_val = 0; in set_nx_huge_pages()
6278 new_val = 1; in set_nx_huge_pages()
6280 new_val = get_nx_auto_mode(); in set_nx_huge_pages()
6281 else if (strtobool(val, &new_val) < 0) in set_nx_huge_pages()
6284 __set_nx_huge_pages(new_val); in set_nx_huge_pages()
6286 if (new_val != old_val) { in set_nx_huge_pages()
Dx86.c6087 static u64 mk_cr_64(u64 curr_cr, u32 new_val) in mk_cr_64() argument
6089 return (curr_cr & ~((1ULL << 32) - 1)) | new_val; in mk_cr_64()
/arch/x86/mm/
Dmpx.c264 unsigned long old_val, unsigned long new_val) in mpx_cmpxchg_bd_entry() argument
276 addr, old_val, new_val); in mpx_cmpxchg_bd_entry()
280 u32 new_val_32 = new_val; in mpx_cmpxchg_bd_entry()
/arch/s390/kvm/
Dinterrupt.c84 union esca_sigp_ctrl new_val = {0}, old_val; in sca_inject_ext_call() local
87 new_val.scn = src_id; in sca_inject_ext_call()
88 new_val.c = 1; in sca_inject_ext_call()
92 rc = cmpxchg(&sigp_ctrl->value, old_val.value, new_val.value); in sca_inject_ext_call()
97 union bsca_sigp_ctrl new_val = {0}, old_val; in sca_inject_ext_call() local
100 new_val.scn = src_id; in sca_inject_ext_call()
101 new_val.c = 1; in sca_inject_ext_call()
105 rc = cmpxchg(&sigp_ctrl->value, old_val.value, new_val.value); in sca_inject_ext_call()
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1360 static inline bool is_pte_rw_upgrade(unsigned long old_val, unsigned long new_val) in is_pte_rw_upgrade() argument
1365 if ((!(old_val & _PAGE_WRITE)) && (new_val & _PAGE_WRITE)) in is_pte_rw_upgrade()
/arch/ia64/kernel/
Dperfmon.c5125 unsigned long old_val, ovfl_val, new_val; in pfm_overflow_handler() local
5168 old_val = new_val = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5169 new_val += 1 + ovfl_val; in pfm_overflow_handler()
5170 ctx->ctx_pmds[i].val = new_val; in pfm_overflow_handler()
5175 if (likely(old_val > new_val)) { in pfm_overflow_handler()
5182 new_val, in pfm_overflow_handler()