Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 184) sorted by relevance

12345678

/xen/xen/include/xen/
A Dctype.h23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument
27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
30 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
31 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument
34 #define isascii(c) (((unsigned char)(c))<=0x7f) argument
35 #define toascii(c) (((unsigned char)(c))&0x7f) argument
51 #define tolower(c) ((char)__tolower(c)) argument
[all …]
A Dstring.h56 #define strchr(s1, c) __builtin_strchr(s1, c) argument
60 #define strrchr(s1, c) __builtin_strrchr(s1, c) argument
72 #define memset(s, c, n) __builtin_memset(s, c, n) argument
88 #define memchr(s, c, n) __builtin_memchr(s, c, n) argument
/xen/xen/arch/arm/include/asm/arm64/
A Dio.h101 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; }) argument
105 #define readq_relaxed_non_atomic(c) readq_relaxed(c) argument
107 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) argument
111 #define writeq_relaxed_non_atomic(v,c) writeq_relaxed(v,c) argument
123 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); }) argument
142 #define inb(c) ( emulate_read(c) ) argument
143 #define inw(c) ( emulate_read(c) ) argument
144 #define inl(c) ( emulate_read(c) ) argument
146 #define outb(v, c) ( emulate_write(c) ) argument
147 #define outw(v, c) ( emulate_write(c) ) argument
[all …]
/xen/tools/firmware/hvmloader/
A Dctype.h17 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument
18 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
19 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
20 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument
21 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument
22 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
23 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument
24 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
25 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
26 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument
[all …]
/xen/xen/arch/riscv/include/asm/
A Dio.h128 #define readb_cpu(c) __raw_readb(c) argument
129 #define readw_cpu(c) __raw_readw(c) argument
130 #define readl_cpu(c) __raw_readl(c) argument
131 #define readq_cpu(c) __raw_readq(c) argument
133 #define writeb_cpu(v, c) __raw_writeb(v, c) argument
134 #define writew_cpu(v, c) __raw_writew(v, c) argument
135 #define writel_cpu(v, c) __raw_writel(v, c) argument
136 #define writeq_cpu(v, c) __raw_writeq(v, c) argument
154 #define writeb(v, c) ({ __io_bw(); writeb_cpu(v, c); __io_aw(); }) argument
155 #define writew(v, c) ({ __io_bw(); writew_cpu(v, c); __io_aw(); }) argument
[all …]
/xen/xen/arch/arm/include/asm/arm32/
A Dio.h78 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) argument
79 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ argument
81 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ argument
94 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument
95 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) argument
96 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) argument
108 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument
109 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument
112 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument
113 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); }) argument
[all …]
/xen/xen/arch/ppc/include/asm/
A Dio.h8 #define readb(c) ({ (void)(c); BUG_ON("unimplemented"); 0; }) argument
9 #define readw(c) ({ (void)(c); BUG_ON("unimplemented"); 0; }) argument
10 #define readl(c) ({ (void)(c); BUG_ON("unimplemented"); 0; }) argument
12 #define writeb(v,c) ({ (void)(v); (void)(c); BUG_ON("unimplemented"); }) argument
13 #define writew(v,c) ({ (void)(v); (void)(c); BUG_ON("unimplemented"); }) argument
14 #define writel(v,c) ({ (void)(v); (void)(c); BUG_ON("unimplemented"); }) argument
/xen/xen/include/acpi/
A Dacutils.h107 #define ACPI_IS_DIGIT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_DI)) argument
108 #define ACPI_IS_SPACE(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_SP)) argument
109 #define ACPI_IS_XDIGIT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_XD)) argument
110 #define ACPI_IS_UPPER(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_UP)) argument
111 #define ACPI_IS_LOWER(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO)) argument
112 #define ACPI_IS_PRINT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACP… argument
113 #define ACPI_IS_ALPHA(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP)) argument
/xen/xen/common/sched/
A Dcpupool.c187 struct cpupool *c = xzalloc(struct cpupool); in alloc_cpupool_struct() local
228 struct cpupool *c; in __cpupool_get_by_id() local
266 struct cpupool *c; in cpupool_create() local
360 static int cpupool_destroy(struct cpupool *c) in cpupool_destroy()
571 struct cpupool *c = info; in cpupool_unassign_cpu_helper() local
643 struct cpupool *c; in cpupool_add_domain() local
789 struct cpupool *c; in cpupool_cpu_remove_forced() local
817 struct cpupool *c; in cpupool_do_sysctl() local
990 struct cpupool *c; in dump_runq() local
1094 struct cpupool *c; in cpupool_dir_read() local
[all …]
/xen/xen/arch/x86/cpu/
A Dintel.c110 const struct cpuinfo_x86 *c = &boot_cpu_data; in probe_masking_msrs() local
307 void intel_unlock_cpuid_leaves(struct cpuinfo_x86 *c) in intel_unlock_cpuid_leaves()
322 static void cf_check early_init_intel(struct cpuinfo_x86 *c) in early_init_intel()
357 static void probe_c3_errata(const struct cpuinfo_x86 *c) in probe_c3_errata()
390 static void Intel_errata_workarounds(struct cpuinfo_x86 *c) in Intel_errata_workarounds()
415 static int num_cpu_cores(struct cpuinfo_x86 *c) in num_cpu_cores()
430 static void intel_log_freq(const struct cpuinfo_x86 *c) in intel_log_freq()
538 static void cf_check init_intel(struct cpuinfo_x86 *c) in init_intel()
A Dhygon.c9 static void hygon_get_topology(struct cpuinfo_x86 *c) in hygon_get_topology()
30 static void cf_check init_hygon(struct cpuinfo_x86 *c) in init_hygon()
A Dcommon.c110 static void cf_check default_init(struct cpuinfo_x86 * c) in default_init()
232 int get_model_name(struct cpuinfo_x86 *c) in get_model_name()
262 void display_cacheinfo(struct cpuinfo_x86 *c) in display_cacheinfo()
326 struct cpuinfo_x86 *c = &boot_cpu_data; in early_cpu_init() local
417 static void generic_identify(struct cpuinfo_x86 *c) in generic_identify()
518 void identify_cpu(struct cpuinfo_x86 *c) in identify_cpu()
645 bool detect_extended_topology(struct cpuinfo_x86 *c) in detect_extended_topology()
704 void detect_ht(struct cpuinfo_x86 *c) in detect_ht()
781 const struct cpuinfo_x86 *c = cpu_data + cpu; in print_cpu_info() local
1025 const struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu() local
A Dcentaur.c17 static void init_c3(struct cpuinfo_x86 *c) in init_c3()
51 static void cf_check init_centaur(struct cpuinfo_x86 *c) in init_centaur()
A Damd.c170 const struct cpuinfo_x86 *c = &boot_cpu_data; in probe_masking_msrs() local
521 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology()
575 void amd_log_freq(const struct cpuinfo_x86 *c) in amd_log_freq()
676 void cf_check early_init_amd(struct cpuinfo_x86 *c) in early_init_amd()
684 void amd_init_lfence(struct cpuinfo_x86 *c) in amd_init_lfence()
727 static bool set_legacy_ssbd(const struct cpuinfo_x86 *c, bool enable) in set_legacy_ssbd()
759 void amd_init_ssbd(const struct cpuinfo_x86 *c) in amd_init_ssbd()
834 const struct cpuinfo_x86 *c = &current_cpu_data; in core_set_legacy_ssbd() local
1033 static void cf_check init_amd(struct cpuinfo_x86 *c) in init_amd()
/xen/xen/xsm/flask/ss/
A Dcontext.h36 static inline void mls_context_init(struct context *c) in mls_context_init()
95 static inline void mls_context_destroy(struct context *c) in mls_context_destroy()
105 static inline void context_init(struct context *c) in context_init()
118 static inline void context_destroy(struct context *c) in context_destroy()
/xen/xen/drivers/passthrough/vtd/
A Diommu.h76 #define cap_isoch(c) (((c) >> 23) & 1) argument
77 #define cap_qos(c) (((c) >> 22) & 1) argument
81 #define cap_phmr(c) (((c) >> 6) & 1) argument
82 #define cap_plmr(c) (((c) >> 5) & 1) argument
83 #define cap_rwbf(c) (((c) >> 4) & 1) argument
84 #define cap_afl(c) (((c) >> 3) & 1) argument
180 #define dma_frcd_source_id(c) ((c) & 0xffff) argument
207 #define context_present(c) ((c).lo & 1) argument
216 #define context_set_fault_enable(c) \ argument
227 #define context_set_address_root(c, val) \ argument
[all …]
/xen/tools/tests/x86_emulator/
A Dsimd-fma.c87 # define _cmul_vv(a, b, c) BR2(vf##c##mulcph, , a, b) argument
88 # define _cmul_vs(a, b, c) ({ \ argument
96 # define cmadd_vv(a, b, c) BR2(vfmaddcph, , a, b, c) argument
97 # define cmadd_vs(a, b, c) ({ \ argument
113 # define _cmul_vv(a, b, c) ({ \ argument
119 # define _cmul_vs(a, b, c) ({ \ argument
126 # define cmadd_vv(a, b, c) ({ \ argument
131 # define cmadd_vs(a, b, c) ({ \ argument
A Dsimd-clmul.c22 #define CLMUL(op, x, y, c) (vec_t)(__builtin_ia32_ ## op((vdi_t)(x), (vdi_t)(y), c)) argument
25 # define clmul(x, y, c) CLMUL(pclmulqdq128, x, y, c) argument
28 # define clmul(x, y, c) CLMUL(vpclmulqdq_v4di, x, y, c) argument
31 # define clmul(x, y, c) CLMUL(vpclmulqdq_v8di, x, y, c) argument
/xen/xen/common/gzip/
A Dgunzip.c43 # define Tracec(c, x) do { if (verbose && (c)) fprintf x ; } while (0) argument
44 # define Tracecv(c, x) do { if (verbose > 1 && (c)) fprintf x ; } while (0) argument
50 # define Tracec(c, x) argument
51 # define Tracecv(c, x) argument
80 uint32_t c = ~s->crc; in flush_window() local
/xen/xen/drivers/char/
A Dconsoled.c73 char c = cons_ring->out[MASK_XENCONS_IDX(cons++, cons_ring->out)]; in consoled_guest_rx() local
97 void consoled_guest_tx(char c) in consoled_guest_tx()
A Dmeson-uart.c49 #define AML_UART_XMIT_IRQ(c) (((c) & 0xff) << 8) argument
50 #define AML_UART_RECV_IRQ(c) ((c) & 0xff) argument
119 static void meson_uart_putc(struct serial_port *port, char c) in meson_uart_putc()
126 static int meson_uart_getc(struct serial_port *port, char *c) in meson_uart_getc()
/xen/xen/arch/x86/include/asm/
A Datomic.h143 bool c; in atomic_sub_and_test() local
169 bool c; in atomic_inc_and_test() local
195 bool c; in atomic_dec_and_test() local
208 bool c; in atomic_add_negative() local
221 int c, old; in atomic_add_unless() local
/xen/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c97 unsigned char c; in maybe_fail() local
414 const struct fuzz_corpus *c = s->corpus; in fuzz_read_segment() local
429 struct fuzz_corpus *c = s->corpus; in fuzz_write_segment() local
459 const struct fuzz_corpus *c = s->corpus; in fuzz_read_cr() local
475 struct fuzz_corpus *c = s->corpus; in fuzz_write_cr() local
531 const struct fuzz_corpus *c = s->corpus; in fuzz_read_msr() local
575 struct fuzz_corpus *c = s->corpus; in fuzz_write_msr() local
654 const struct fuzz_corpus *c = s->corpus; in dump_state() local
683 const struct fuzz_corpus *c = s->corpus; in in_longmode() local
691 const struct fuzz_corpus *c = s->corpus; in set_sizes() local
[all …]
/xen/xen/arch/x86/
A Ddomctl.c367 struct hvm_domain_context c = { .size = domctl->u.hvmcontext.size }; in arch_do_domctl() local
397 struct hvm_domain_context c = { 0 }; in arch_do_domctl() local
1335 void arch_get_info_guest(struct vcpu *v, vcpu_guest_context_u c) in arch_get_info_guest()
1341 #define c(fld) (!compat ? (c.nat->fld) : (c.cmp->fld)) in arch_get_info_guest() macro
1343 #define c(fld) (c.nat->fld) in arch_get_info_guest() macro
/xen/xen/arch/x86/boot/
A Dcmdline.c86 static char *strchr(const char *s, int c) in strchr()
219 const char *c; in edd_parse() local
234 const char *c; in edid_parse() local
280 const char *c = cmdline; in vga_parse() local

Completed in 86 milliseconds

12345678