Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 98) sorted by relevance

1234

/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dbitops.h55 unsigned int old = *p; in __test_and_set_bit() local
57 *p = old | mask; in __test_and_set_bit()
58 return (old & mask) != 0; in __test_and_set_bit()
75 unsigned int old = *p; in __test_and_clear_bit() local
77 *p = old & ~mask; in __test_and_clear_bit()
78 return (old & mask) != 0; in __test_and_clear_bit()
88 unsigned int old = *p; in __test_and_change_bit() local
90 *p = old ^ mask; in __test_and_change_bit()
91 return (old & mask) != 0; in __test_and_change_bit()
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/
A Dcmpxchg.h58 volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() argument
73 : "r" (ptr), "Ir" (old), "r" (new) in __cmpxchg()
85 : "r" (ptr), "Ir" (old), "r" (new) in __cmpxchg()
97 : "r" (ptr), "Ir" (old), "r" (new) in __cmpxchg()
110 : "r" (ptr), "Ir" (old), "r" (new) in __cmpxchg()
124 unsigned long old, in __cmpxchg_mb() argument
130 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb()
A Datomic.h99 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() argument
114 : "r" (&ptr->counter), "Ir" (old), "r" (new) in atomic_cmpxchg()
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/
A Dcmpxchg.h66 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() argument
82 : "Ir" (old), "r" (new) in __cmpxchg()
97 : "Ir" (old), "r" (new) in __cmpxchg()
112 : "Ir" (old), "r" (new) in __cmpxchg()
127 : "Ir" (old), "r" (new) in __cmpxchg()
140 static inline unsigned long __cmpxchg_mb(volatile void *ptr, unsigned long old, in __cmpxchg_mb() argument
146 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb()
A Datomic.h94 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() argument
109 : "Ir" (old), "r" (new) in atomic_cmpxchg()
118 int c, old; in __atomic_add_unless() local
121 while (c != u && (old = atomic_cmpxchg((v), c, c + a)) != c) in __atomic_add_unless()
122 c = old; in __atomic_add_unless()
/xen-4.10.0-shim-comet/xen/common/
A Drbtree.c229 struct rb_node *old = node, *left; in rb_erase() local
235 if (rb_parent(old)) { in rb_erase()
236 if (rb_parent(old)->rb_left == old) in rb_erase()
237 rb_parent(old)->rb_left = node; in rb_erase()
239 rb_parent(old)->rb_right = node; in rb_erase()
247 if (parent == old) { in rb_erase()
256 node->rb_right = old->rb_right; in rb_erase()
257 node->rb_left = old->rb_left; in rb_erase()
259 rb_set_parent(old->rb_left, node); in rb_erase()
260 if (old->rb_right) in rb_erase()
[all …]
A Ddomain.c931 old = prev; in vcpu_pause_by_systemcontroller()
932 new = old + 1; in vcpu_pause_by_systemcontroller()
938 } while ( prev != old ); in vcpu_pause_by_systemcontroller()
951 old = prev; in vcpu_unpause_by_systemcontroller()
952 new = old - 1; in vcpu_unpause_by_systemcontroller()
958 } while ( prev != old ); in vcpu_unpause_by_systemcontroller()
1007 old = prev; in __domain_pause_by_systemcontroller()
1008 new = old + 1; in __domain_pause_by_systemcontroller()
1018 } while ( prev != old ); in __domain_pause_by_systemcontroller()
1031 old = prev; in domain_unpause_by_systemcontroller()
[all …]
A Dspinlock.c216 spinlock_tickets_t old, new; in _spin_trylock() local
219 old = observe_lock(&lock->tickets); in _spin_trylock()
220 if ( old.head != old.tail ) in _spin_trylock()
222 new = old; in _spin_trylock()
225 old.head_tail, new.head_tail) != old.head_tail ) in _spin_trylock()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dmm.h39 static inline bool update_intpte(intpte_t *p, intpte_t old, intpte_t new, in update_intpte() argument
53 intpte_t t = old; in update_intpte()
60 _new |= old & (_PAGE_ACCESSED | _PAGE_DIRTY); in update_intpte()
67 ": saw %" PRIpte "\n", old, _new, t); in update_intpte()
71 if ( t == old ) in update_intpte()
75 BUG_ON((t ^ old) & ~(intpte_t)(_PAGE_ACCESSED|_PAGE_DIRTY)); in update_intpte()
77 old = t; in update_intpte()
A Dro-page-fault.c68 static int ptwr_emulated_update(unsigned long addr, paddr_t old, paddr_t val, in ptwr_emulated_update() argument
112 old &= (((paddr_t)1 << (bytes * 8)) - 1); in ptwr_emulated_update()
113 old <<= (offset) * 8; in ptwr_emulated_update()
114 old |= full; in ptwr_emulated_update()
168 intpte_t t = old; in ptwr_emulated_update()
170 ol1e = l1e_from_intpte(old); in ptwr_emulated_update()
173 okay = (okay && t == old); in ptwr_emulated_update()
221 paddr_t old = 0, new = 0; in ptwr_emulated_cmpxchg() local
230 memcpy(&old, p_old, bytes); in ptwr_emulated_cmpxchg()
233 return ptwr_emulated_update(offset, old, new, bytes, 1, ctxt); in ptwr_emulated_cmpxchg()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dsystem.h76 volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() argument
85 "0" (old) in __cmpxchg()
92 "0" (old) in __cmpxchg()
99 "0" (old) in __cmpxchg()
106 "0" (old) in __cmpxchg()
110 return old; in __cmpxchg()
A Dbitops.h149 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in test_and_set_bit()
174 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in __test_and_set_bit()
198 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in test_and_clear_bit()
223 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in __test_and_clear_bit()
240 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in __test_and_change_bit()
264 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit), in test_and_change_bit()
286 : [old] ASM_FLAG_OUT("=@ccc", "=r") (oldbit) in variable_test_bit()
A Datomic.h108 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument
110 return cmpxchg(&v->counter, old, new); in atomic_cmpxchg()
219 int c, old; in atomic_add_unless() local
222 while (c != u && (old = atomic_cmpxchg(v, c, c + a)) != c) in atomic_add_unless()
223 c = old; in atomic_add_unless()
A Dpaging.h89 unsigned long old,
96 intpte_t *old, intpte_t new,
317 struct vcpu *v, intpte_t *p, intpte_t *old, intpte_t new, mfn_t gmfn) in paging_cmpxchg_guest_entry() argument
321 return paging_get_hostmode(v)->shadow.cmpxchg_guest_entry(v, p, old, in paging_cmpxchg_guest_entry()
324 return !cmpxchg_user(p, *old, new); in paging_cmpxchg_guest_entry()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dmonitor.h37 unsigned long old);
38 #define hvm_monitor_crX(cr, new, old) \ argument
39 hvm_monitor_cr(VM_EVENT_X86_##cr, new, old)
/xen-4.10.0-shim-comet/xen/include/asm-x86/x86_64/
A Dsystem.h22 } new = { .raw = *newp }, old = { .raw = *oldp }, prev; in __cmpxchg16b() local
29 : "c" (new.hi), "b" (new.lo), "0" (old.hi), "1" (old.lo) ); in __cmpxchg16b()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlist.h221 static inline void list_replace(struct list_head *old, in list_replace() argument
224 new->next = old->next; in list_replace()
226 new->prev = old->prev; in list_replace()
233 list_replace(old, new); in list_replace_init()
234 INIT_LIST_HEAD(old); in list_replace_init()
248 new->next = old->next; in list_replace_rcu()
249 new->prev = old->prev; in list_replace_rcu()
253 old->prev = LIST_POISON2; in list_replace_rcu()
783 struct hlist_node *next = old->next; in hlist_replace_rcu()
786 new->pprev = old->pprev; in hlist_replace_rcu()
[all …]
/xen-4.10.0-shim-comet/xen/common/libfdt/
A Dfdt_rw.c392 static void _fdt_packblocks(const char *old, char *new, in _fdt_packblocks() argument
401 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in _fdt_packblocks()
404 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in _fdt_packblocks()
408 memmove(new + strings_off, old + fdt_off_dt_strings(old), in _fdt_packblocks()
409 fdt_size_dt_strings(old)); in _fdt_packblocks()
411 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in _fdt_packblocks()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dmonitor.c33 bool hvm_monitor_cr(unsigned int index, unsigned long value, unsigned long old) in hvm_monitor_cr() argument
41 value != old) && in hvm_monitor_cr()
42 (!((value ^ old) & ad->monitor.write_ctrlreg_mask[index])) ) in hvm_monitor_cr()
50 .u.write_ctrlreg.old_value = old in hvm_monitor_cr()
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Ddisk_tpm.h21 int TPM_disk_nvchange(be32_t nvram_slot, struct tpm_authdata old, struct tpm_authdata noo);
27 int TPM_disk_change_counter(be32_t slot, struct tpm_authdata old, struct tpm_authdata noo);
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dmctelem.c58 #define MCTE_TRANSITION_STATE(tep, old, new) do { \ argument
59 BUG_ON(MCTE_STATE(tep) != (MCTE_F_STATE_##old)); \
140 struct mctelem_ent *old; in mctelem_xchg_head() local
142 *linkp = old = *headp; in mctelem_xchg_head()
143 if (cmpxchgptr(headp, old, new) == old) in mctelem_xchg_head()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvgic.c246 bool vgic_migrate_irq(struct vcpu *old, struct vcpu *new, unsigned int irq) in vgic_migrate_irq() argument
254 spin_lock_irqsave(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
256 p = irq_to_pending(old, irq); in vgic_migrate_irq()
261 spin_unlock_irqrestore(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
269 spin_unlock_irqrestore(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
278 spin_unlock_irqrestore(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
284 gic_remove_irq_from_queues(old, p); in vgic_migrate_irq()
286 spin_unlock_irqrestore(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
295 spin_unlock_irqrestore(&old->arch.vgic.lock, flags); in vgic_migrate_irq()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dguest_walk.c42 guest_intpte_t new, old = *walk_p; in set_ad_bits() local
44 new = old | _PAGE_ACCESSED | (set_dirty ? _PAGE_DIRTY : 0); in set_ad_bits()
45 if ( old != new ) in set_ad_bits()
53 if ( cmpxchg(guest_p, old, new) == old ) in set_ad_bits()
/xen-4.10.0-shim-comet/tools/console/client/
A Dmain.c159 static void init_term(int fd, struct termios *old) in init_term() argument
163 if (tcgetattr(fd, old) == -1) in init_term()
166 new_term = *old; in init_term()
172 static void restore_term(int fd, struct termios *old) in restore_term() argument
174 tcsetattr(fd, TCSANOW, old); in restore_term()
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dparse_arg.ml24 pidfile: string option; (* old xenstored compatibility *)
25 tracefile: string option; (* old xenstored compatibility *)
32 let pidfile = ref "" and tracefile = ref "" (* old xenstored compatibility *)

Completed in 31 milliseconds

1234