/xen/xen/include/asm-arm/ |
A D | regs.h | 25 #define usr_mode(r) psr_mode((r)->cpsr,PSR_MODE_USR) argument 26 #define fiq_mode(r) psr_mode((r)->cpsr,PSR_MODE_FIQ) argument 27 #define irq_mode(r) psr_mode((r)->cpsr,PSR_MODE_IRQ) argument 28 #define svc_mode(r) psr_mode((r)->cpsr,PSR_MODE_SVC) argument 29 #define mon_mode(r) psr_mode((r)->cpsr,PSR_MODE_MON) argument 30 #define abt_mode(r) psr_mode((r)->cpsr,PSR_MODE_ABT) argument 31 #define und_mode(r) psr_mode((r)->cpsr,PSR_MODE_UND) argument 32 #define sys_mode(r) psr_mode((r)->cpsr,PSR_MODE_SYS) argument 35 #define hyp_mode(r) psr_mode((r)->cpsr,PSR_MODE_HYP) argument 36 #define psr_mode_is_user(r) usr_mode(r) argument [all …]
|
A D | debugger.h | 4 #define debugger_trap_fatal(v, r) (0) argument
|
/xen/xen/common/ |
A D | rangeset.c | 46 struct rangeset *r, unsigned long s) in find_range() 62 struct rangeset *r) in first_range() 71 struct rangeset *r, struct range *x) in next_range() 87 struct rangeset *r, struct range *x) in destroy_range() 97 struct rangeset *r) in alloc_range() 389 struct rangeset *r = data; in merge() local 418 const struct rangeset *r) in rangeset_is_empty() 426 struct rangeset *r; in rangeset_new() local 459 struct rangeset *r) in rangeset_destroy() 495 struct rangeset *r; in rangeset_domain_destroy() local [all …]
|
A D | virtual_region.c | 59 void register_virtual_region(struct virtual_region *r) in register_virtual_region() 66 static void remove_virtual_region(struct virtual_region *r) in remove_virtual_region() 87 void unregister_virtual_region(struct virtual_region *r) in unregister_virtual_region()
|
A D | xmalloc_tlsf.c | 51 #define GET_NEXT_BLOCK(addr, r) ((struct bhdr *) \ argument 53 #define ROUNDUP_SIZE(r) (((r) + MEM_ALIGN - 1) & MEM_ALIGN_MASK) argument 54 #define ROUNDDOWN_SIZE(r) ((r) & MEM_ALIGN_MASK) argument 55 #define ROUNDUP_PAGE(r) (((r) + PAGE_SIZE - 1) & PAGE_MASK) argument 127 static inline void MAPPING_SEARCH(unsigned long *r, int *fl, int *sl) in MAPPING_SEARCH() 155 static inline void MAPPING_INSERT(unsigned long r, int *fl, int *sl) in MAPPING_INSERT()
|
/xen/xen/include/asm-x86/x86_64/ |
A D | regs.h | 7 #define ring_0(r) (((r)->cs & 3) == 0) argument 8 #define ring_1(r) (((r)->cs & 3) == 1) argument 9 #define ring_2(r) (((r)->cs & 3) == 2) argument 10 #define ring_3(r) (((r)->cs & 3) == 3) argument 12 #define guest_kernel_mode(v, r) \ argument 17 #define permit_softint(dpl, v, r) \ argument
|
/xen/xen/include/asm-arm/arm32/ |
A D | sysregs.h | 8 #define __CP32(r, coproc, opc1, crn, crm, opc2) coproc, opc1, r, crn, crm, opc2 argument 10 #define CP32(r, name...) __CP32(r, name) argument 11 #define CP64(r, name...) __CP64(r, name) argument 14 #define LOAD_CP32(r, name...) "mrc " __stringify(CP32(%r, name)) ";" argument 15 #define STORE_CP32(r, name...) "mcr " __stringify(CP32(%r, name)) ";" argument 16 #define LOAD_CP64(r, name...) "mrrc " __stringify(CP64(%r, %H##r, name)) ";" argument 17 #define STORE_CP64(r, name...) "mcrr " __stringify(CP64(%r, %H##r, name)) ";" argument
|
/xen/tools/libxl/ |
A D | libxl_save_helper.c | 64 int r = vasprintf(&formatted, format, al); in tellparent_vmessage() local 110 ssize_t r = read(fd, buf, len); in read_exactly() local 122 void *r = malloc(sz); in xmalloc() local 151 int r = dup2(unwriteable_fd, io_fd); in save_signal_handler() local 165 int r; in setup_signals() local 192 int r = write(1, msg, len); in transmit() local 213 int r = read_exactly(0, &v, sizeof(v)); in helper_getreply() local 237 int r; in main() local
|
A D | libxl_fork.c | 68 int r = pthread_mutex_lock(&no_forking); in atfork_lock() local 74 int r = pthread_mutex_unlock(&no_forking); in atfork_unlock() local 80 int r, rc; in libxl__atfork_init() local 140 int r; in libxl_postfork_child_noexec() local 191 int r = cf->fd < 0 ? 0 : close(cf->fd); in libxl__carefd_close() local 238 int r = pthread_mutex_lock(&sigchld_defer_mutex); in sigchld_handler() local 255 int r; in sigchld_sethandler_raw() local 301 int r = pthread_mutex_lock(&sigchld_defer_mutex); in defer_sigchld() local 309 int r = pthread_mutex_unlock(&sigchld_defer_mutex); in release_sigchld() local 329 int r; in sigchld_removehandler_core() local [all …]
|
A D | test_common.c | 21 int r = gettimeofday(&now, 0); assert(!r); in test_common_get_now() local 49 int r = poll(poll_fds, poll_nfds, poll_timeout); in test_common_dopoll() local
|
A D | libxl_sched.c | 161 int r, sched; in libxl_get_scheduler() local 282 int r, rc; in libxl_sched_credit_params_get() local 306 int r, rc; in libxl_sched_credit_params_set() local 357 int r, rc; in libxl_sched_credit2_params_get() local 379 int r, rc; in libxl_sched_credit2_params_set() local 504 int i, r, rc; in sched_rtds_vcpu_get() local 558 int i, r, rc; in sched_rtds_vcpu_get_all() local 606 int r, rc; in sched_rtds_vcpu_set() local 666 int r, rc; in sched_rtds_vcpu_set_all() local
|
/xen/tools/xl/ |
A D | xl_utils.c | 48 int r = vasprintf(strp, fmt, ap); in xvasprintf() local 65 void *r; in xmalloc() local 77 void *r = calloc(n, sz); in xcalloc() local 87 void *r; in xrealloc() local 106 char *r; in xstrdup() local
|
A D | xl_pci.c | 62 int r = 0; in pcidetach() local 113 int r = 0; in pciattach() local 189 int r = 0; in pciassignable_add() local 231 int r = 0; in pciassignable_remove() local
|
/xen/xen/arch/arm/ |
A D | vgic-v3.c | 165 register_t *r) in __vgic_v3_rdistr_rd_mmio_read() 482 register_t r) in __vgic_v3_rdistr_rd_mmio_write() 679 register_t *r) in __vgic_v3_distr_common_mmio_read() 774 register_t r) in __vgic_v3_distr_common_mmio_write() 889 uint32_t gicr_reg, register_t *r) in vgic_v3_rdistr_sgi_mmio_read() 965 uint32_t gicr_reg, register_t r) in vgic_v3_rdistr_sgi_mmio_write() 1048 register_t *r, void *priv) in vgic_v3_rdistr_mmio_read() 1072 register_t r, void *priv) in vgic_v3_rdistr_mmio_write() 1096 register_t *r, void *priv) in vgic_v3_distr_mmio_read() 1298 register_t r, void *priv) in vgic_v3_distr_mmio_write() [all …]
|
A D | vuart.c | 109 register_t *r, void *priv) in vuart_mmio_read() 127 register_t r, void *priv) in vuart_mmio_write()
|
A D | traps.c | 1421 #define HYPERCALL_RESULT_REG(r) (r)->x0 argument 1422 #define HYPERCALL_ARG1(r) (r)->x0 argument 1423 #define HYPERCALL_ARG2(r) (r)->x1 argument 1424 #define HYPERCALL_ARG3(r) (r)->x2 argument 1425 #define HYPERCALL_ARG4(r) (r)->x3 argument 1426 #define HYPERCALL_ARG5(r) (r)->x4 argument 1430 #define HYPERCALL_ARG1(r) (r)->r0 argument 1431 #define HYPERCALL_ARG2(r) (r)->r1 argument 1432 #define HYPERCALL_ARG3(r) (r)->r2 argument 1433 #define HYPERCALL_ARG4(r) (r)->r3 argument [all …]
|
A D | vtimer.c | 165 static bool vtimer_cntp_ctl(struct cpu_user_regs *regs, uint32_t *r, bool read) in vtimer_cntp_ctl() 200 static bool vtimer_cntp_tval(struct cpu_user_regs *regs, uint32_t *r, in vtimer_cntp_tval() 234 static bool vtimer_cntp_cval(struct cpu_user_regs *regs, uint64_t *r, in vtimer_cntp_cval()
|
/xen/xen/drivers/vpci/ |
A D | vpci.c | 43 struct vpci_register *r = list_first_entry(&pdev->vpci->handlers, in vpci_remove_device() local 131 struct vpci_register *r; in vpci_add_register() local 177 const struct vpci_register r = { .offset = offset, .size = size }; in vpci_remove_register() local 309 const struct vpci_register *r; in vpci_read() local 390 const struct vpci_register *r, unsigned int size, in vpci_write_helper() 412 const struct vpci_register *r; in vpci_write() local
|
/xen/tools/tests/depriv/ |
A D | depriv-fd-checker.c | 150 int r = xc_get_online_cpus(xch); in test_privcmd() local 173 void *r; in setup_gntdev() local 196 int r = xengnttab_grant_copy(xgt,1,&seg); in test_gntdev() local 254 int r = poll(&pfd,1,0); in test_evtchn() local 342 int r; in check_tun() local 386 int r; in main() local
|
/xen/tools/libs/toolcore/ |
A D | handlereg.c | 59 int r; in xentoolcore_restrict_all() local 75 int nullfd = -1, r; in xentoolcore__restrict_by_dup2_null() local
|
/xen/xen/arch/x86/x86_64/ |
A D | gdbstub.c | 22 #define GDB_REG64(r) gdb_write_to_packet_hex(r, sizeof(u64), ctx) argument 23 #define GDB_REG32(r) gdb_write_to_packet_hex(r, sizeof(u32), ctx) argument
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 210 static void kdd_get_regs_x86_32(struct hvm_hw_cpu *cpu, kdd_regs_x86_32 *r) in kdd_get_regs_x86_32() 231 static void kdd_set_regs_x86_32(struct hvm_hw_cpu *cpu, kdd_regs_x86_32 *r) in kdd_set_regs_x86_32() 252 static void kdd_get_regs_x86_64(struct hvm_hw_cpu *cpu, kdd_regs_x86_64 *r) in kdd_get_regs_x86_64() 292 static void kdd_set_regs_x86_64(struct hvm_hw_cpu *cpu, kdd_regs_x86_64 *r) in kdd_set_regs_x86_64() 328 int kdd_get_regs(kdd_guest *g, int cpuid, kdd_regs *r, int w64) in kdd_get_regs() 346 int kdd_set_regs(kdd_guest *g, int cpuid, kdd_regs *r, int w64) in kdd_set_regs()
|
/xen/xen/include/asm-x86/ |
A D | regs.h | 7 #define guest_mode(r) \ argument
|
/xen/tools/xentrace/ |
A D | xenalyze.c | 3653 } *r = (typeof(r))h->d; in hvm_mmio_assist_process() local 3701 } *r = (typeof(r))h->d; in hvm_inj_virq_process() local 3844 } *r = (typeof(r))h->d; in hvm_io_assist_process() local 4188 } *r = (typeof(r))h->d; in hvm_cr_write_process() local 4333 } *r = (typeof(r))h->d; in hvm_vmcall_process() local 4357 } *r = (typeof(r))h->d; in hvm_inj_exc_process() local 4485 } *r = (typeof(r))h->d; in hvm_intr_window_process() local 5045 } *r; in hvm_vmexit_process() local 8990 ssize_t r; in scan_for_new_pcpu() local 9146 int len, r; in create_dump_header() local [all …]
|
/xen/tools/tests/x86_emulator/ |
A D | simd-sha.c | 12 # define rot_c(f, r, x, n) B(pro ## f ## d, _mask, x, n, undef(), ~0) argument 13 # define rot_s(f, r, x, n) ({ /* gcc does not support embedded broadcast */ \ argument 43 # define rot_c(f, r, x, n) (sh ## f ## _c(x, n) | sh ## r ## _c(x, 32 - (n))) argument 44 # define rot_s(f, r, x, n) ({ /* gcc does not allow memory operands */ \ argument 146 unsigned int k, r; in sha_test() local
|