/xen-4.10.0-shim-comet/xen/include/ |
A D | Makefile | 51 echo "#ifndef $$id" >$@.new; \ 52 echo "#define $$id" >>$@.new; \ 60 mv -f $@.new $@ 69 mv -f $@.new $@ 76 mv -f $@.new $@ 88 cat $(filter %.h,$^) >$@.new 89 mv -f $@.new $@ 108 done >$@.new 109 mv $@.new $@ 112 rm -f $@.new [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | Makefile | 94 sh ../../misc/mkhex rombios $(ROMBIOS_ROM) >> $@.new 95 echo "#endif" >> $@.new 99 echo "#ifdef ROM_INCLUDE_VGABIOS" >> $@.new 101 echo "#endif" >> $@.new 104 echo "#ifdef ROM_INCLUDE_VGABIOS" >> $@.new 106 echo "#endif" >> $@.new 109 echo "#ifdef ROM_INCLUDE_ETHERBOOT" >> $@.new 110 sh ../../misc/mkhex etherboot $(ETHERBOOT_ROMS) >> $@.new 111 echo "#endif" >> $@.new 114 mv $@.new $@ [all …]
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/ |
A D | ebitmap.c | 54 if ( !new ) in ebitmap_cpy() 59 new->startbit = n->startbit; in ebitmap_cpy() 61 new->next = NULL; in ebitmap_cpy() 63 prev->next = new; in ebitmap_cpy() 65 dst->node = new; in ebitmap_cpy() 66 prev = new; in ebitmap_cpy() 179 if ( !new ) in ebitmap_set_bit() 191 new->next = prev->next; in ebitmap_set_bit() 192 prev->next = new; in ebitmap_set_bit() 196 new->next = e->node; in ebitmap_set_bit() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | list.h | 64 next->prev = new; in __list_add() 65 new->next = next; in __list_add() 66 new->prev = prev; in __list_add() 67 prev->next = new; in __list_add() 106 new->next = next; in __list_add_rcu() 225 new->next->prev = new; in list_replace() 227 new->prev->next = new; in list_replace() 251 new->next->prev = new; in list_replace_rcu() 252 new->prev->next = new; in list_replace_rcu() 789 new->next->pprev = &new->next; in hlist_replace_rcu() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/ |
A D | cmpxchg.h | 58 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() 125 unsigned long new, int size) in __cmpxchg_mb() argument 130 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb()
|
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | list.h | 40 static inline void __list_add(struct list_head *new, in __list_add() argument 44 next->prev = new; in __list_add() 45 new->next = next; in __list_add() 46 new->prev = prev; in __list_add() 47 prev->next = new; in __list_add() 50 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 52 __list_add(new, head, head->next); in list_add() 55 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 57 __list_add(new, head->prev, head); in list_add_tail()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | cmpxchg.h | 67 unsigned long new, int size) 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() 141 unsigned long new, int size) in __cmpxchg_mb() argument 146 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb()
|
A D | atomic.h | 94 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() argument 109 : "Ir" (old), "r" (new) in atomic_cmpxchg()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | paging.h | 90 unsigned long new, 94 intpte_t new, mfn_t gmfn); 96 intpte_t *old, intpte_t new, 299 struct vcpu *v, intpte_t *p, intpte_t new, mfn_t gmfn) in paging_write_guest_entry() argument 303 return paging_get_hostmode(v)->shadow.write_guest_entry(v, p, new, in paging_write_guest_entry() 306 return !__copy_to_user(p, &new, sizeof(new)); in paging_write_guest_entry() 317 struct vcpu *v, intpte_t *p, intpte_t *old, intpte_t new, mfn_t gmfn) in paging_cmpxchg_guest_entry() argument 324 return !cmpxchg_user(p, *old, new); in paging_cmpxchg_guest_entry() 329 static inline void safe_write_pte(l1_pgentry_t *p, l1_pgentry_t new) in safe_write_pte() argument 331 *p = new; in safe_write_pte() [all …]
|
A D | system.h | 76 volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() argument 84 : "q" (new), "m" (*__xg(ptr)), in __cmpxchg() 91 : "r" (new), "m" (*__xg(ptr)), in __cmpxchg() 98 : "r" (new), "m" (*__xg(ptr)), in __cmpxchg() 105 : "r" (new), "m" (*__xg(ptr)), in __cmpxchg()
|
A D | atomic.h | 108 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() 227 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | list.h | 61 next->prev = new; in __list_add() 62 new->next = next; in __list_add() 63 new->prev = prev; in __list_add() 64 prev->next = new; in __list_add() 77 __list_add(new, head, head->next); in list_add() 90 __list_add(new, head->prev, head); in list_add_tail() 103 new->next = next; in __list_add_rcu() 104 new->prev = prev; in __list_add_rcu() 105 next->prev = new; in __list_add_rcu() 106 prev->next = new; in __list_add_rcu() [all …]
|
/xen-4.10.0-shim-comet/xen/common/libfdt/ |
A D | fdt_rw.c | 152 char *new; in _fdt_find_add_string() local 161 new = strtab + fdt_size_dt_strings(fdt); in _fdt_find_add_string() 166 memcpy(new, s, len); in _fdt_find_add_string() 167 return (new - strtab); in _fdt_find_add_string() 392 static void _fdt_packblocks(const char *old, char *new, in _fdt_packblocks() argument 402 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in _fdt_packblocks() 405 fdt_set_off_dt_struct(new, struct_off); in _fdt_packblocks() 406 fdt_set_size_dt_struct(new, struct_size); in _fdt_packblocks() 408 memmove(new + strings_off, old + fdt_off_dt_strings(old), in _fdt_packblocks() 410 fdt_set_off_dt_strings(new, strings_off); in _fdt_packblocks() [all …]
|
/xen-4.10.0-shim-comet/tools/console/daemon/ |
A D | main.c | 70 struct rlimit lim, new = { min_fds, min_fds }; in increase_fd_limit() local 83 if (setrlimit(RLIMIT_NOFILE, &new) < 0) in increase_fd_limit() 89 (unsigned long long)new.rlim_cur, in increase_fd_limit() 90 (unsigned long long)new.rlim_max, in increase_fd_limit()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/x86_64/ |
A D | system.h | 22 } 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/common/ |
A D | rbtree.c | 369 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument 377 parent->rb_left = new; in rb_replace_node() 379 parent->rb_right = new; in rb_replace_node() 381 root->rb_node = new; in rb_replace_node() 384 rb_set_parent(victim->rb_left, new); in rb_replace_node() 386 rb_set_parent(victim->rb_right, new); in rb_replace_node() 389 *new = *victim; in rb_replace_node()
|
A D | domain.c | 927 int old, new, prev = v->controller_pause_count; in vcpu_pause_by_systemcontroller() local 932 new = old + 1; in vcpu_pause_by_systemcontroller() 934 if ( new > 255 ) in vcpu_pause_by_systemcontroller() 947 int old, new, prev = v->controller_pause_count; in vcpu_unpause_by_systemcontroller() local 952 new = old - 1; in vcpu_unpause_by_systemcontroller() 954 if ( new < 0 ) in vcpu_unpause_by_systemcontroller() 1008 new = old + 1; in __domain_pause_by_systemcontroller() 1014 if ( new > 255 ) in __domain_pause_by_systemcontroller() 1032 new = old - 1; in domain_unpause_by_systemcontroller() 1034 if ( new < 0 ) in domain_unpause_by_systemcontroller() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | monitor.h | 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/arch/arm/ |
A D | irq.c | 316 struct irqaction *new) in __setup_irq() argument 320 ASSERT(new != NULL); in __setup_irq() 328 if ( shared && new->dev_id == NULL ) in __setup_irq() 334 new->next = desc->action; in __setup_irq() 336 desc->action = new; in __setup_irq() 342 int setup_irq(unsigned int irq, unsigned int irqflags, struct irqaction *new) in setup_irq() argument 365 rc = __setup_irq(desc, irqflags, new); in setup_irq() 605 static bool irq_validate_new_type(unsigned int curr, unsigned new) in irq_validate_new_type() argument 607 return (curr == IRQ_TYPE_INVALID || curr == new ); in irq_validate_new_type()
|
/xen-4.10.0-shim-comet/tools/ocaml/ |
A D | common.make | 22 o= >$@.new && mv -f $@.new $@
|
/xen-4.10.0-shim-comet/docs/misc/ |
A D | livepatch.markdown | 22 * trampoline - a jump to a new instruction. 97 while the new patched hypervisor would be: 120 with a new address for where the new `arch_do_domctl` would be (this 136 with the new address where the new `do_domctl` is possible. The other 144 code (computing the new offset, patching the callq with a new callq). 181 with the new address where the new `do_xen_version` is possible. The other 206 new replacement function which required: 209 new function. 245 * The new code that will be patched in. 907 Patching in the new function will end up also patching in the new .rodata [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | mm.h | 39 static inline bool update_intpte(intpte_t *p, intpte_t old, intpte_t new, in update_intpte() argument 48 rv = paging_write_guest_entry(v, p, new, _mfn(mfn)); in update_intpte() 57 intpte_t _new = new; in update_intpte()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | mctelem.c | 53 #define MCTE_SET_CLASS(tep, new) do { \ argument 55 (tep)->mcte_flags |= MCTE_F_CLASS_##new; } while (0) 58 #define MCTE_TRANSITION_STATE(tep, old, new) do { \ argument 61 (tep)->mcte_flags |= (MCTE_F_STATE_##new); } while (0) 137 struct mctelem_ent *new) in mctelem_xchg_head() argument 143 if (cmpxchgptr(headp, old, new) == old) in mctelem_xchg_head()
|
/xen-4.10.0-shim-comet/tools/include/xen-external/ |
A D | README | 5 copying new versions from the source location, as documented below: 24 Script to transform the above into a new namespace.
|
/xen-4.10.0-shim-comet/tools/xenmon/ |
A D | xenbaked.c | 865 int new, old, didx; in advance_next_datapoint() local 868 new = QOS_INCR(old); in advance_next_datapoint() 869 new_qos->next_datapoint = new; in advance_next_datapoint() 872 new_qos->qdata[new].ns_gotten[didx] = 0; in advance_next_datapoint() 874 new_qos->qdata[new].ns_waiting[didx] = 0; in advance_next_datapoint() 875 new_qos->qdata[new].ns_blocked[didx] = 0; in advance_next_datapoint() 877 new_qos->qdata[new].io_count[didx] = 0; in advance_next_datapoint() 879 new_qos->qdata[new].ns_passed = 0; in advance_next_datapoint() 880 new_qos->qdata[new].lost_records = 0; in advance_next_datapoint() 881 new_qos->qdata[new].flip_free_periods = 0; in advance_next_datapoint() [all …]
|