Home
last modified time | relevance | path

Searched refs:cmpxchg (Results 1 – 25 of 38) sorted by relevance

12

/xen/xen/arch/arm/
A DREADME.LinuxPrimitives15 cmpxchg: last sync @ v3.16-rc6 (last commit: e1dfda9ced9b)
17 linux/arch/arm64/include/asm/cmpxchg.h xen/include/asm-arm/arm64/cmpxchg.h
77 cmpxchg: last sync @ v3.16-rc6 (last commit: c32ffce0f66e)
79 linux/arch/arm/include/asm/cmpxchg.h xen/include/asm-arm/arm32/cmpxchg.h
A Dmm.c1534 while ( (y = cmpxchg(&page->count_info, x, x + 1)) != x ); in page_get_owner_and_reference()
1551 while ( unlikely((y = cmpxchg(&page->count_info, x, nx)) != x) ); in put_page()
/xen/xen/drivers/cpufreq/
A Dcpufreq_ondemand.c212 while ( cmpxchg(&dbs_info->stoppable, 1, 0) < 0 ) in dbs_timer_exit()
389 if ( !cmpxchg(stoppable, 1, -1) ) in cpufreq_dbs_timer_resume()
392 (void)cmpxchg(stoppable, -1, 1); in cpufreq_dbs_timer_resume()
/xen/xen/arch/x86/mm/shadow/
A Dhvm.c279 case 1: prev = cmpxchg((uint8_t *)ptr, old, new); break; in hvm_emulate_cmpxchg()
280 case 2: prev = cmpxchg((uint16_t *)ptr, old, new); break; in hvm_emulate_cmpxchg()
281 case 4: prev = cmpxchg((uint32_t *)ptr, old, new); break; in hvm_emulate_cmpxchg()
282 case 8: prev = cmpxchg((uint64_t *)ptr, old, new); break; in hvm_emulate_cmpxchg()
309 .cmpxchg = hvm_emulate_cmpxchg,
/xen/xen/include/asm-x86/
A Dguest_atomics.h22 #define guest_cmpxchg(d, ptr, o, n) ((void)(d), cmpxchg(ptr, o, n))
A Datomic.h112 return cmpxchg(&v->counter, old, new); in atomic_cmpxchg()
/xen/xen/arch/x86/mm/
A Daltp2m.c92 if ( cmpxchg(&a->veinfo_pg, NULL, pg) != NULL ) in altp2m_vcpu_enable_ve()
A Dguest_walk.c54 if ( cmpxchg(guest_p, old, new) == old ) in set_ad_bits()
A Dmem_sharing.c146 } while ( cmpxchg(&page->u.inuse.type_info, x, nx) != x ); in _page_lock()
162 } while ( (y = cmpxchg(&page->u.inuse.type_info, x, nx)) != x ); in _page_unlock()
198 while ( (y = cmpxchg(&next_handle, x, x + 1)) != x ); in get_next_handle()
/xen/xen/include/asm-x86/x86_64/
A Dsystem.h4 #define cmpxchg(ptr,o,n) \ macro
/xen/xen/include/asm-arm/arm32/
A Dcmpxchg.h159 #define cmpxchg(ptr,o,n) \ macro
/xen/xen/arch/x86/
A Dx86_emulate.c22 #undef cmpxchg
A Dflushtlb.c59 while ( unlikely((t = cmpxchg(&tlbflush_clock, t1, t2)) != t1) ); in pre_flush()
A Dmm.c627 nc = cmpxchg(&pg->linear_pt_count, oc, nc); in inc_linear_entries()
651 nc = cmpxchg(&pg->linear_pt_count, oc, nc); in inc_linear_uses()
1030 } while ( (y = cmpxchg(&page->count_info, x, nx)) != x ); in get_page_from_l1e()
1039 } while ( (y = cmpxchg(&page->count_info, x, nx)) != x ); in get_page_from_l1e()
2066 } while ( cmpxchg(&page->u.inuse.type_info, x, nx) != x ); in page_lock()
2086 } while ( (y = cmpxchg(&page->u.inuse.type_info, x, nx)) != x ); in page_unlock()
2121 } while ( cmpxchg(&page->u.inuse.type_info, x, nx) != x ); in l3t_lock()
2132 } while ( (y = cmpxchg(&page->u.inuse.type_info, x, nx)) != x ); in l3t_unlock()
2553 while ( (y = cmpxchg(&page->count_info, x, x + 1)) != x ); in page_get_owner_and_reference()
2600 y = cmpxchg(&page->count_info, x, nx); in get_page_light()
[all …]
A Dphysdev.c241 if ( cmpxchg(&currd->arch.pirq_eoi_map_mfn, in do_physdev_op()
A Dhpet.c449 } while ( cmpxchg(&next_channel, next, i) != next ); in hpet_get_channel()
/xen/xen/include/asm-arm/arm64/
A Dcmpxchg.h172 #define cmpxchg(ptr, o, n) \ macro
/xen/xen/common/
A Dspinlock.c51 seen.val = cmpxchg(&debug->val, LOCK_DEBUG_INITVAL, new.val); in check_lock()
246 if ( cmpxchg(&lock->tickets.head_tail, in _spin_trylock()
A Ddomain.c995 prev = cmpxchg(&v->controller_pause_count, old, new); in vcpu_pause_by_systemcontroller()
1015 prev = cmpxchg(&v->controller_pause_count, old, new); in vcpu_unpause_by_systemcontroller()
1075 prev = cmpxchg(&d->controller_pause_count, old, new); in __domain_pause_by_systemcontroller()
1095 prev = cmpxchg(&d->controller_pause_count, old, new); in domain_unpause_by_systemcontroller()
A Devent_fifo.c85 *w = cmpxchg(word, old, new); in try_set_link()
A Dvm_event.c787 prev = cmpxchg(&v->vm_event_pause_count.counter, old, new); in vm_event_vcpu_unpause()
/xen/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c620 SET(cmpxchg),
773 MAYBE_DISABLE_HOOK(cmpxchg); in disable_hooks()
/xen/xen/arch/x86/pv/
A Dro-page-fault.c252 .cmpxchg = ptwr_emulated_cmpxchg,
/xen/xen/arch/x86/x86_emulate/
A Dx86_emulate.h303 int (*cmpxchg)( member
/xen/xen/arch/x86/hvm/
A Ddm.c325 if ( cmpxchg(&v->arch.hvm.inject_event.vector, in inject_event()

Completed in 920 milliseconds

12