/xen/xen/arch/arm/ |
A D | README.LinuxPrimitives | 15 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 D | mm.c | 1534 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 D | cpufreq_ondemand.c | 212 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 D | hvm.c | 279 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 D | guest_atomics.h | 22 #define guest_cmpxchg(d, ptr, o, n) ((void)(d), cmpxchg(ptr, o, n))
|
A D | atomic.h | 112 return cmpxchg(&v->counter, old, new); in atomic_cmpxchg()
|
/xen/xen/arch/x86/mm/ |
A D | altp2m.c | 92 if ( cmpxchg(&a->veinfo_pg, NULL, pg) != NULL ) in altp2m_vcpu_enable_ve()
|
A D | guest_walk.c | 54 if ( cmpxchg(guest_p, old, new) == old ) in set_ad_bits()
|
A D | mem_sharing.c | 146 } 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 D | system.h | 4 #define cmpxchg(ptr,o,n) \ macro
|
/xen/xen/include/asm-arm/arm32/ |
A D | cmpxchg.h | 159 #define cmpxchg(ptr,o,n) \ macro
|
/xen/xen/arch/x86/ |
A D | x86_emulate.c | 22 #undef cmpxchg
|
A D | flushtlb.c | 59 while ( unlikely((t = cmpxchg(&tlbflush_clock, t1, t2)) != t1) ); in pre_flush()
|
A D | mm.c | 627 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 D | physdev.c | 241 if ( cmpxchg(&currd->arch.pirq_eoi_map_mfn, in do_physdev_op()
|
A D | hpet.c | 449 } while ( cmpxchg(&next_channel, next, i) != next ); in hpet_get_channel()
|
/xen/xen/include/asm-arm/arm64/ |
A D | cmpxchg.h | 172 #define cmpxchg(ptr, o, n) \ macro
|
/xen/xen/common/ |
A D | spinlock.c | 51 seen.val = cmpxchg(&debug->val, LOCK_DEBUG_INITVAL, new.val); in check_lock() 246 if ( cmpxchg(&lock->tickets.head_tail, in _spin_trylock()
|
A D | domain.c | 995 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 D | event_fifo.c | 85 *w = cmpxchg(word, old, new); in try_set_link()
|
A D | vm_event.c | 787 prev = cmpxchg(&v->vm_event_pause_count.counter, old, new); in vm_event_vcpu_unpause()
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | fuzz-emul.c | 620 SET(cmpxchg), 773 MAYBE_DISABLE_HOOK(cmpxchg); in disable_hooks()
|
/xen/xen/arch/x86/pv/ |
A D | ro-page-fault.c | 252 .cmpxchg = ptwr_emulated_cmpxchg,
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.h | 303 int (*cmpxchg)( member
|
/xen/xen/arch/x86/hvm/ |
A D | dm.c | 325 if ( cmpxchg(&v->arch.hvm.inject_event.vector, in inject_event()
|