/xen/xen/arch/x86/hvm/ |
A D | ioreq.c | 87 struct hvm_ioreq_server *s; in hvm_io_pending() local 176 struct hvm_ioreq_server *s; in handle_hvm_io_completion() local 493 #define HANDLE_BUFIOREQ(s) \ argument 799 struct hvm_ioreq_server *s; in hvm_create_ioreq_server() local 854 struct hvm_ioreq_server *s; in hvm_destroy_ioreq_server() local 899 struct hvm_ioreq_server *s; in hvm_get_ioreq_server_info() local 944 struct hvm_ioreq_server *s; in hvm_get_ioreq_server_frame() local 996 struct hvm_ioreq_server *s; in hvm_map_io_range_to_ioreq_server() local 1048 struct hvm_ioreq_server *s; in hvm_unmap_io_range_from_ioreq_server() local 1107 struct hvm_ioreq_server *s; in hvm_map_mem_type_to_ioreq_server() local [all …]
|
A D | rtc.c | 86 RTCState *s = opaque; in rtc_pf_callback() local 222 RTCState *s = opaque; in rtc_update_timer() local 235 RTCState *s = opaque; in rtc_update_timer2() local 426 RTCState *s = opaque; in rtc_alarm_cb() local 440 RTCState *s = opaque; in rtc_ioport_write() local 727 RTCState *s = vcpu_vrtc(v); in rtc_migrate_timers() local 744 RTCState *s = domain_vrtc(d); in rtc_save() local 761 RTCState *s = domain_vrtc(d); in rtc_load() local 800 RTCState *s = domain_vrtc(d); in rtc_reset() local 834 RTCState *s = domain_vrtc(d); in rtc_init() local [all …]
|
A D | stdvga.c | 85 static uint8_t *vram_getb(struct hvm_hw_stdvga *s, unsigned int a) in vram_getb() 92 static uint32_t *vram_getl(struct hvm_hw_stdvga *s, unsigned int a) in vram_getl() 99 static void vram_put(struct hvm_hw_stdvga *s, void *p) in vram_put() 104 static void stdvga_try_cache_enable(struct hvm_hw_stdvga *s) in stdvga_try_cache_enable() 121 static void stdvga_cache_disable(struct hvm_hw_stdvga *s) in stdvga_cache_disable() 137 struct hvm_hw_stdvga *s = ¤t->domain->arch.hvm.stdvga; in stdvga_outb() local 205 struct hvm_hw_stdvga *s = ¤t->domain->arch.hvm.stdvga; in stdvga_intercept_pio() local 218 struct hvm_hw_stdvga *s, unsigned int mmio_addr) in stdvga_mem_offset() 255 struct hvm_hw_stdvga *s = ¤t->domain->arch.hvm.stdvga; in stdvga_mem_readb() local 577 struct hvm_hw_stdvga *s = &d->arch.hvm.stdvga; in stdvga_init() local [all …]
|
A D | pmtimer.c | 57 static void pmt_update_sci(PMTState *s) in pmt_update_sci() 71 PMTState *s = &d->arch.hvm.pl_time->vpmt; in hvm_acpi_power_button() local 84 PMTState *s = &d->arch.hvm.pl_time->vpmt; in hvm_acpi_sleep_button() local 97 static void pmt_update_time(PMTState *s) in pmt_update_time() 129 PMTState *s = opaque; in pmt_timer_callback() local 160 PMTState *s = &v->domain->arch.hvm.pl_time->vpmt; in handle_evt_io() local 224 PMTState *s = &v->domain->arch.hvm.pl_time->vpmt; in handle_pmt_io() local 256 PMTState *s = &d->arch.hvm.pl_time->vpmt; in acpi_save() local 287 PMTState *s = &d->arch.hvm.pl_time->vpmt; in acpi_load() local 350 PMTState *s = &v->domain->arch.hvm.pl_time->vpmt; in pmtimer_init() local [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | sidtab.c | 19 #define INIT_SIDTAB_LOCK(s) spin_lock_init(&s->lock) argument 20 #define SIDTAB_LOCK(s) spin_lock(&s->lock) argument 21 #define SIDTAB_UNLOCK(s) spin_unlock(&s->lock) argument 23 int sidtab_init(struct sidtab *s) in sidtab_init() 39 int sidtab_insert(struct sidtab *s, u32 sid, struct context *context) in sidtab_insert() 99 struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() 127 int sidtab_map(struct sidtab *s, in sidtab_map() 151 void sidtab_map_remove_on_error(struct sidtab *s, in sidtab_map_remove_on_error() 195 static inline u32 sidtab_search_context(struct sidtab *s, in sidtab_search_context() 281 void sidtab_destroy(struct sidtab *s) in sidtab_destroy() [all …]
|
/xen/xen/include/acpi/ |
A D | acmacros.h | 453 #define ACPI_ERROR_NAMESPACE(s,e) argument 454 #define ACPI_ERROR_METHOD(s,n,p,e) argument 581 #define ACPI_FUNCTION_STATUS_EXIT(s) argument 582 #define ACPI_FUNCTION_VALUE_EXIT(s) argument 587 #define return_ACPI_STATUS(s) return(s) argument 588 #define return_VALUE(s) return(s) argument 589 #define return_UINT8(s) return(s) argument 590 #define return_UINT32(s) return(s) argument 591 #define return_PTR(s) return(s) argument 636 #define return_ACPI_STATUS(s) return(s) argument [all …]
|
/xen/xen/include/acpi/platform/ |
A D | acenv.h | 233 #define ACPI_STRLEN(s) (acpi_size) strlen((s)) argument 234 #define ACPI_STRCPY(d,s) (void) strcpy((d), (s)) argument 236 #define ACPI_STRNCMP(d,s,n) strncmp((d), (s), (acpi_size)(n)) argument 237 #define ACPI_STRCMP(d,s) strcmp((d), (s)) argument 238 #define ACPI_STRCAT(d,s) (void) strcat((d), (s)) argument 239 #define ACPI_STRNCAT(d,s,n) strncat((d), (s), (acpi_size)(n)) argument 240 #define ACPI_STRTOUL(d,s,n) strtoul((d), (s), (acpi_size)(n)) argument 294 #define ACPI_STRLEN(s) (acpi_size) acpi_ut_strlen ((s)) argument 295 #define ACPI_STRCPY(d,s) (void) acpi_ut_strcpy ((d), (s)) argument 298 #define ACPI_STRCMP(d,s) acpi_ut_strcmp ((d), (s)) argument [all …]
|
/xen/tools/debugger/kdd/ |
A D | kdd.c | 216 static uint64_t kdd_get_ip(kdd_state *s) in kdd_get_ip() 455 static int check_os(kdd_state *s) in check_os() 578 static void get_os_info_64(kdd_state *s) in get_os_info_64() 708 static void find_os(kdd_state *s) in find_os() 738 static void kdd_tx(kdd_state *s) in kdd_tx() 806 static void kdd_break(kdd_state *s) in kdd_break() 904 static void kdd_handle_setcpu(kdd_state *s) in kdd_handle_setcpu() 1048 static void kdd_handle_read_msr(kdd_state *s) in kdd_handle_read_msr() 1219 kdd_state *s = NULL; in kdd_init() local 1281 void kdd_select_callback(kdd_state *s) in kdd_select_callback() [all …]
|
/xen/xen/common/ |
A D | rangeset.c | 18 unsigned long s, e; member 46 struct rangeset *r, unsigned long s) in find_range() 116 struct rangeset *r, unsigned long s, unsigned long e) in rangeset_add_range() 184 struct rangeset *r, unsigned long s, unsigned long e) in rangeset_remove_range() 252 struct rangeset *r, unsigned long s, unsigned long e) in rangeset_contains_range() 271 struct rangeset *r, unsigned long s, unsigned long e) in rangeset_overlaps_range() 290 struct rangeset *r, unsigned long s, unsigned long e, in rangeset_report_ranges() 308 unsigned long *s) in rangeset_claim_range() 400 struct rangeset *r, unsigned long s) in rangeset_add_singleton() 406 struct rangeset *r, unsigned long s) in rangeset_remove_singleton() [all …]
|
A D | string.c | 208 size_t strnlen(const char * s, size_t count) in strnlen() 225 size_t strspn(const char *s, const char *accept) in strspn() 277 char * strsep(char **s, const char *ct) in strsep() 346 char *tmp = (char *) dest, *s = (char *) src; variable 366 char *tmp, *s; variable 435 void *memchr_inv(const void *s, int c, size_t n) in memchr_inv()
|
/xen/xen/common/xz/ |
A D | dec_stream.c | 157 static bool_t INIT fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() 175 static enum xz_ret INIT dec_vli(struct xz_dec *s, const uint8_t *in, in dec_vli() 218 static enum xz_ret INIT dec_block(struct xz_dec *s, struct xz_buf *b) in dec_block() 296 static enum xz_ret INIT dec_index(struct xz_dec *s, struct xz_buf *b) in dec_index() 370 static bool_t INIT check_skip(struct xz_dec *s, struct xz_buf *b) in check_skip() 387 static enum xz_ret INIT dec_stream_header(struct xz_dec *s) in dec_stream_header() 422 static enum xz_ret INIT dec_stream_footer(struct xz_dec *s) in dec_stream_footer() 449 static enum xz_ret INIT dec_block_header(struct xz_dec *s) in dec_block_header() 709 XZ_EXTERN void INIT xz_dec_reset(struct xz_dec *s) in xz_dec_reset() 784 struct xz_dec *s = malloc(sizeof(*s)); in xz_dec_init() local [all …]
|
A D | dec_bcj.c | 88 static size_t INIT bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86() 160 static size_t INIT bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc() 181 static size_t INIT bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64() 265 static size_t INIT bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm() 288 static size_t INIT bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb() 316 static size_t INIT bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc() 345 static void INIT bcj_apply(struct xz_dec_bcj *s, in bcj_apply() 399 static void INIT bcj_flush(struct xz_dec_bcj *s, struct xz_buf *b) in bcj_flush() 417 XZ_EXTERN enum xz_ret INIT xz_dec_bcj_run(struct xz_dec_bcj *s, in xz_dec_bcj_run() 529 struct xz_dec_bcj *s = malloc(sizeof(*s)); in xz_dec_bcj_create() local [all …]
|
/xen/xen/common/lz4/ |
A D | defs.h | 50 #define PUT4(s, d) (A32(d) = A32(s)) argument 51 #define PUT8(s, d) (A64(d) = A64(s)) argument 63 #define PUT4(s, d) \ argument 65 #define PUT8(s, d) \ argument 107 #define LZ4_COPYSTEP(s, d) \ argument 116 #define LZ4_SECURECOPY(s, d, e) \ argument 133 #define LZ4_COPYSTEP(s, d) \ argument 140 #define LZ4_COPYPACKET(s, d) \ argument 157 #define LZ4_READ_LITTLEENDIAN_16(d, s, p) \ argument 160 #define LZ4_WILDCOPY(s, d, e) \ argument [all …]
|
/xen/xen/include/xen/ |
A D | iocap.h | 13 #define iomem_permit_access(d, s, e) \ argument 15 #define iomem_deny_access(d, s, e) \ argument 17 #define iomem_access_permitted(d, s, e) \ argument 24 #define irqs_permit_access(d, s, e) \ argument 26 #define irqs_deny_access(d, s, e) \ argument
|
A D | string.h | 86 #define memset(s, c, n) __builtin_memset(s, c, n) argument 91 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument 96 #define memmove(d, s, n) __builtin_memmove(d, s, n) argument 106 #define memchr(s, c, n) __builtin_memchr(s, c, n) argument 114 #define safe_strcpy(d, s) ({ \ argument 118 #define safe_strcat(d, s) ({ \ argument
|
A D | compiler.h | 38 #define __section(s) __used __attribute__((__section__(s))) argument 40 #define __section(s) __attribute__((__section__(s))) argument 42 #define __used_section(s) __used __attribute__((__section__(s))) argument 43 #define __text_section(s) __attribute__((__section__(s))) argument
|
/xen/xen/include/asm-x86/ |
A D | io.h | 17 #define __OUT1(s,x) \ argument 20 #define __OUT2(s,s1,s2) \ argument 23 #define __OUT(s,s1,x) \ argument 27 #define __IN1(s) \ argument 30 #define __IN2(s,s1,s2) \ argument 33 #define __IN(s,s1,i...) \ argument
|
A D | iocap.h | 10 #define ioports_permit_access(d, s, e) \ argument 12 #define ioports_deny_access(d, s, e) \ argument 14 #define ioports_access_permitted(d, s, e) \ argument
|
A D | string.h | 6 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument 10 #define memmove(d, s, n) __builtin_memmove(d, s, n) argument 14 #define memset(s, c, n) __builtin_memset(s, c, n) argument
|
/xen/xen/common/sched/ |
A D | private.h | 335 static inline int sched_init(struct scheduler *s) in sched_init() 340 static inline void sched_deinit(struct scheduler *s) in sched_deinit() 370 static inline void sched_free_domdata(const struct scheduler *s, in sched_free_domdata() 398 static inline void *sched_alloc_udata(const struct scheduler *s, in sched_alloc_udata() 409 static inline void sched_insert_unit(const struct scheduler *s, in sched_insert_unit() 416 static inline void sched_remove_unit(const struct scheduler *s, in sched_remove_unit() 423 static inline void sched_sleep(const struct scheduler *s, in sched_sleep() 430 static inline void sched_wake(const struct scheduler *s, in sched_wake() 437 static inline void sched_yield(const struct scheduler *s, in sched_yield() 451 static inline void sched_migrate(const struct scheduler *s, in sched_migrate() [all …]
|
/xen/tools/xenstore/ |
A D | xs_lib.c | 30 char *s = getenv("XENSTORED_ROOTDIR"); in xs_daemon_rootdir() local 36 char *s = getenv("XENSTORED_RUNDIR"); in xs_daemon_rundir() local 43 char *s = getenv("XENSTORED_PATH"); in xs_daemon_path() local 67 const char *s = xs_daemon_path(); in xs_daemon_socket_ro() local 77 char *s = getenv("XENSTORED_PATH"); in xs_domain_dev() local
|
/xen/xen/tools/kconfig/ |
A D | util.c | 52 void str_append(struct gstr *gs, const char *s) in str_append() 69 char s[10000]; /* big enough... */ in str_printf() local 109 char *xstrdup(const char *s) in xstrdup() 120 char *xstrndup(const char *s, size_t n) in xstrndup()
|
/xen/xen/arch/x86/ |
A D | dom0_build.c | 73 static int __init parse_amt(const char *s, const char **ps, struct memsize *sz) in parse_amt() 117 static int __init parse_dom0_mem(const char *s) in parse_dom0_mem() 146 static int __init parse_dom0_max_vcpus(const char *s) in parse_dom0_max_vcpus() 170 static int __init parse_dom0_nodes(const char *s) in parse_dom0_nodes() 260 static int __init parse_dom0_param(const char *s) in parse_dom0_param() 339 unsigned int s; in dom0_compute_nr_pages() local 426 char *t, *s = opt_dom0_ioports_disable; in process_dom0_ioports_disable() local
|
/xen/tools/firmware/rombios/ |
A D | apmbios.S | 21 #define APMSYM(s) apmreal_ ## s argument 23 #define APMSYM(s) apm16_ ## s argument 25 #define APMSYM(s) apm32_ ## s argument
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | fuzz-emul.c | 96 struct fuzz_state *s = ctxt->data; in maybe_fail() local 133 struct fuzz_state *s = ctxt->data; in data_read() local 416 const struct fuzz_state *s = ctxt->data; in fuzz_read_segment() local 431 struct fuzz_state *s = ctxt->data; in fuzz_write_segment() local 461 const struct fuzz_state *s = ctxt->data; in fuzz_read_cr() local 477 struct fuzz_state *s = ctxt->data; in fuzz_write_cr() local 577 struct fuzz_state *s = ctxt->data; in fuzz_write_msr() local 656 struct fuzz_state *s = ctxt->data; in dump_state() local 693 struct fuzz_state *s = ctxt->data; in set_sizes() local 765 struct fuzz_state *s = ctxt->data; in disable_hooks() local [all …]
|