Searched refs:old_val (Results 1 – 11 of 11) sorted by relevance
/arch/arc/include/asm/ |
D | cmpxchg.h | 157 typeof(*(ptr)) old_val; \ 160 old_val = _xchg(ptr, with); \ 162 old_val; \
|
/arch/sparc/kernel/ |
D | prom_common.c | 70 void *old_val = prop->value; in of_set_property() local 81 kfree(old_val); in of_set_property()
|
/arch/x86/mm/ |
D | mpx.c | 264 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() 279 u32 old_val_32 = old_val; in mpx_cmpxchg_bd_entry()
|
/arch/x86/kvm/ |
D | ioapic.c | 107 bool new_val, old_val; in __rtc_irq_eoi_tracking_restore_one() local 118 old_val = test_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one() 120 if (new_val == old_val) in __rtc_irq_eoi_tracking_restore_one()
|
D | mmu.c | 6271 bool old_val = nx_huge_pages; in set_nx_huge_pages() local 6286 if (new_val != old_val) { in set_nx_huge_pages() 6393 unsigned int old_val; in set_nx_huge_pages_recovery_ratio() local 6396 old_val = nx_huge_pages_recovery_ratio; in set_nx_huge_pages_recovery_ratio() 6402 !old_val && nx_huge_pages_recovery_ratio) { in set_nx_huge_pages_recovery_ratio()
|
/arch/mips/kvm/ |
D | emulate.c | 1387 unsigned int old_val, val, change; in kvm_mips_emulate_CP0() local 1389 old_val = kvm_read_c0_guest_status(cop0); in kvm_mips_emulate_CP0() 1391 change = val ^ old_val; in kvm_mips_emulate_CP0() 1459 unsigned int old_val, val, change, wrmask; in kvm_mips_emulate_CP0() local 1461 old_val = kvm_read_c0_guest_config5(cop0); in kvm_mips_emulate_CP0() 1466 change = (val ^ old_val) & wrmask; in kvm_mips_emulate_CP0() 1467 val = old_val ^ change; in kvm_mips_emulate_CP0()
|
D | vz.c | 1235 unsigned int old_val, change; in kvm_trap_vz_handle_gsfc() local 1252 old_val = read_gc0_status(); in kvm_trap_vz_handle_gsfc() 1253 change = val ^ old_val; in kvm_trap_vz_handle_gsfc() 1301 old_val = read_gc0_config5(); in kvm_trap_vz_handle_gsfc() 1302 change = val ^ old_val; in kvm_trap_vz_handle_gsfc() 1316 val = old_val ^ in kvm_trap_vz_handle_gsfc()
|
/arch/s390/kvm/ |
D | interrupt.c | 84 union esca_sigp_ctrl new_val = {0}, old_val; in sca_inject_ext_call() local 86 old_val = READ_ONCE(*sigp_ctrl); in sca_inject_ext_call() 89 old_val.c = 0; in sca_inject_ext_call() 91 expect = old_val.value; 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 99 old_val = READ_ONCE(*sigp_ctrl); in sca_inject_ext_call() 102 old_val.c = 0; in sca_inject_ext_call() 104 expect = old_val.value; 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/ |
D | pgtable.h | 1360 static inline bool is_pte_rw_upgrade(unsigned long old_val, unsigned long new_val) in is_pte_rw_upgrade() argument 1362 if (!(old_val & _PAGE_READ)) in is_pte_rw_upgrade() 1365 if ((!(old_val & _PAGE_WRITE)) && (new_val & _PAGE_WRITE)) in is_pte_rw_upgrade()
|
/arch/nds32/kernel/ |
D | perf_event_cpu.c | 141 u32 old_val = val; in nds32_pfm_getreset_flags() local 148 return old_val; in nds32_pfm_getreset_flags()
|
/arch/ia64/kernel/ |
D | perfmon.c | 5125 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() 5175 if (likely(old_val > new_val)) { in pfm_overflow_handler() 5183 old_val, in pfm_overflow_handler()
|