/xen-4.10.0-shim-comet/xen/include/xen/libfdt/ |
A D | libfdt.h | 176 #define __fdt_set_hdr(name) \ argument 180 fdth->name = cpu_to_fdt32(val); \ 447 const char *name, 478 const char *name, int *lenp); 480 const char *name, in fdt_get_property_w() argument 563 const char *name, int *lenp); 565 const char *name, int *lenp) in fdt_getprop_w() argument 594 const char *name, int namelen); 917 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument 952 const char *name, uint64_t val) in fdt_setprop_inplace_u64() argument [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_save_msgs_gen.pl | 84 $out_decls{$name} = "${declprefix}$c_rtype $name$c_decl;\n"; 85 $func{$name} = "$c_rtype $name$c_decl\n{\n" . ($func{$name} || ''); 86 $func_ah{$name} = $ah; 90 my ($name, $addbody) = @_; 91 $func{$name} ||= ''; 92 $func{$name} .= $addbody; 93 push @outfuncs, $name; 268 f_more("${encode}_$name", 353 f_more("${encode}_$name", 384 $out_body{$func_ah{$name}} .= $func{$name}; [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | mwait-idle.c | 97 char name[16]; member 131 .name = "C1-NHM", 143 .name = "C3-NHM", 149 .name = "C6-NHM", 159 .name = "C1-SNB", 171 .name = "C3-SNB", 177 .name = "C6-SNB", 183 .name = "C7-SNB", 193 .name = "C1-BYT", 211 .name = "C7-BYT", [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/ |
A D | processor.h | 66 #define CP32(r, name...) __CP32(r, name) argument 67 #define CP64(r, name...) __CP64(r, name) argument 70 #define LOAD_CP32(r, name...) "mrc " __stringify(CP32(%r, name)) ";" argument 71 #define STORE_CP32(r, name...) "mcr " __stringify(CP32(%r, name)) ";" argument 72 #define LOAD_CP64(r, name...) "mrrc " __stringify(CP64(%r, %H##r, name)) ";" argument 73 #define STORE_CP64(r, name...) "mcrr " __stringify(CP64(%r, %H##r, name)) ";" argument 77 #define CMD_CP32(name...) "mcr " __stringify(CP32(r0, name)) ";" argument 82 #define READ_CP32(name...) ({ \ argument 84 asm volatile(LOAD_CP32(0, name) : "=r" (_r)); \ 87 #define WRITE_CP32(v, name...) do { \ argument [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/vhd/ |
A D | vhd-util.c | 46 char *name; member 51 { .name = "create", .func = vhd_util_create }, 52 { .name = "snapshot", .func = vhd_util_snapshot }, 53 { .name = "query", .func = vhd_util_query }, 54 { .name = "read", .func = vhd_util_read }, 55 { .name = "set", .func = vhd_util_set_field }, 56 { .name = "repair", .func = vhd_util_repair }, 71 printf("%s", commands[0].name); \ 73 printf(" | %s", commands[i].name); \ 98 if (!strcmp(command, commands[i].name)) in get_command() [all …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-livepatch.c | 70 char *name = NULL; in list_func() local 83 name = malloc(sizeof(*name) * XEN_LIVEPATCH_NAME_SIZE * MAX_LEN); in list_func() 84 if ( !name ) in list_func() 91 free(name); in list_func() 100 memset(name, 'B', sizeof(*name) * MAX_LEN * XEN_LIVEPATCH_NAME_SIZE); in list_func() 135 free(name); in list_func() 241 const char *name; member 247 .name = "apply", 253 .name = "revert", 418 new_argv[0] = name; in load_func() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | kexec.h | 67 #define VMCOREINFO_SYMBOL(name) \ argument 68 vmcoreinfo_append_str("SYMBOL(%s)=%lx\n", #name, (unsigned long)&name) 69 #define VMCOREINFO_SYMBOL_ALIAS(alias, name) \ argument 71 #define VMCOREINFO_STRUCT_SIZE(name) \ argument 72 vmcoreinfo_append_str("SIZE(%s)=%zu\n", #name, sizeof(struct name)) 73 #define VMCOREINFO_OFFSET(name, field) \ argument 74 vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ 75 (unsigned long)offsetof(struct name, field)) 76 #define VMCOREINFO_OFFSET_SUB(name, sub, field) \ argument 77 vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/control/ |
A D | tap-ctl-allocate.c | 49 char *ptr, *name, *start; in tap_ctl_prepare_directory() local 55 name = strdup(dir); in tap_ctl_prepare_directory() 56 if (!name) in tap_ctl_prepare_directory() 59 start = name; in tap_ctl_prepare_directory() 81 free(name); in tap_ctl_prepare_directory() 124 char name[256]; in tap_ctl_check_environment() local 133 memset(name, 0, sizeof(name)); in tap_ctl_check_environment() 160 char *name; in tap_ctl_allocate_device() local 189 free(name); in tap_ctl_allocate_device() 197 name = *devname; in tap_ctl_allocate_device() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | td.c | 55 char *name; member 78 char *name; member 189 char *name, *buf; in td_create() local 213 name = argv[optind]; in td_create() 262 unlink(name); in td_create() 336 cargv[cargc++] = name; in td_snapshot() 380 name = argv[optind++]; in td_coalesce() 407 char *name; in td_query() local 519 name, err); in td_query() 626 cmd->name); in main() [all …]
|
/xen-4.10.0-shim-comet/xen/include/public/arch-x86/ |
A D | xen.h | 34 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 37 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 38 typedef type * __guest_handle_ ## name 49 #define __DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 50 ___DEFINE_XEN_GUEST_HANDLE(name, type); \ 52 #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name) argument 53 #define __XEN_GUEST_HANDLE(name) __guest_handle_ ## name argument 54 #define XEN_GUEST_HANDLE(name) __XEN_GUEST_HANDLE(name) argument 55 #define XEN_GUEST_HANDLE_PARAM(name) XEN_GUEST_HANDLE(name) argument 62 __DeFiNe__ __DECL_REG_LO16(name) union { uint32_t e ## name; } [all …]
|
A D | xen-x86_64.h | 145 uint64_t r ## name; \ 146 uint32_t e ## name; \ 147 uint16_t name; \ 148 uint8_t name ## l; \ 151 uint64_t r ## name; \ 152 uint32_t e ## name; \ 153 uint16_t name; \ 164 uint64_t r ## name, e ## name; \ 165 uint32_t _e ## name; \ 169 #define __DECL_REG(name) uint64_t r ## name argument [all …]
|
A D | xen-x86_32.h | 94 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 96 __guest_handle_ ## name; \ 98 __guest_handle_64_ ## name 106 #define __XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name argument 107 #define XEN_GUEST_HANDLE_64(name) __XEN_GUEST_HANDLE_64(name) argument 124 #define __DECL_REG_LO16(name) union { \ argument 125 uint32_t e ## name, _e ## name; \ 126 uint16_t name; \ 131 #define __DECL_REG_LO16(name) uint32_t e ## name argument
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | livepatch_elf.c | 19 if ( !strcmp(name, elf->sec[i].name) ) in livepatch_elf_sec_by_name() 59 elf->name); in elf_resolve_sections() 109 sec[i].name = NULL; in elf_resolve_sections() 270 elf->name, sym[i].name); in elf_get_sym() 296 elf->name, elf->sym[i].name); in livepatch_elf_resolve_symbols() 308 elf->name, elf->sym[i].name); in livepatch_elf_resolve_symbols() 314 elf->name, elf->sym[i].name, st_value); in livepatch_elf_resolve_symbols() 319 elf->name, elf->sym[i].name, sym->st_value); in livepatch_elf_resolve_symbols() 342 elf->name, elf->sym[i].name, in livepatch_elf_resolve_symbols() 385 elf->name, r->name, r->sec->sh_link, elf->symtab_idx); in livepatch_elf_perform_relocs() [all …]
|
A D | symbols.c | 83 const u8 *name; in get_symbol_offset() local 88 name = &symbols_names[ symbols_markers[pos>>8] ]; in get_symbol_offset() 95 name = name + (*name) + 1; in get_symbol_offset() 97 return name - symbols_names; in get_symbol_offset() 174 unsigned long *address, char *name) in xensyms_read() argument 189 name[0] = '\0'; in xensyms_read() 214 char name[KSYM_NAME_LEN + 1]; in symbols_lookup_by_name() local 237 (void)symbols_expand_symbol(s->stream, name); in symbols_lookup_by_name() 239 rc = strcmp(symname, name); in symbols_lookup_by_name() 253 if ( !strcmp(name, symname) ) in symbols_lookup_by_name() [all …]
|
A D | livepatch.c | 112 if ( name->pad[0] || name->pad[1] || name->pad[2] ) in get_name() 115 if ( copy_from_guest(n, name->name, name->size) ) in get_name() 255 elf->name, f->name); in resolve_old_address() 260 elf->name, f->name, f->old_addr); in resolve_old_address() 272 if ( !strcmp(data->name, name) ) in find_payload() 354 elf->name, elf->sec[i].name); in move_payload() 613 elf->name, data->name); in prepare_payload() 827 elf->name, symtab[i].name); in build_symbol_table() 833 elf->name, symtab[i].name); in build_symbol_table() 1441 name = data->name; in build_id_dep() [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | hypercall.h | 41 #define _hypercall0(type, name) \ argument 47 : "0" (hcall_addr(name)) \ 52 #define _hypercall1(type, name, a1) \ argument 58 : "0" (hcall_addr(name)), \ 64 #define _hypercall2(type, name, a1, a2) \ argument 70 : "0" (hcall_addr(name)), \ 76 #define _hypercall3(type, name, a1, a2, a3) \ argument 83 : "0" (hcall_addr(name)), \ 90 #define _hypercall4(type, name, a1, a2, a3, a4) \ argument 97 : "0" (hcall_addr(name)), \ [all …]
|
/xen-4.10.0-shim-comet/scripts/ |
A D | get_maintainer.pl | 877 $name = $1; 891 $name = "\"$name\""; 908 $name = "\"$name\""; 1086 $name = $2; 1130 $email_hash_name{lc($name)}++ if ($name ne ""); 1754 $name = $deduplicate_name_hash{lc($name)}->[0]; 1763 $deduplicate_name_hash{lc($name)} = [ $name, $address ]; 2065 $name = substr($name, 0, length($name) - 1); 2067 $name = substr($name, 0, length($name) - 2) . '"'; 2071 $name = substr($name, 1, length($name) - 1); [all …]
|
/xen-4.10.0-shim-comet/xen/tools/kconfig/ |
A D | confdata.c | 74 return name ? name : ".config"; in conf_get_configname() 81 return name ? name : "include/config/auto.conf"; in conf_get_autoconfig_name() 92 dst = name; in conf_expand_value() 96 dst = name; in conf_expand_value() 123 return name; in conf_get_default_confname() 260 if (name) { in conf_read_simple() 279 name = conf_expand_value(prop->expr->left.sym->name); in conf_read_simple() 283 name); in conf_read_simple() 749 if (name && name[0]) { in conf_write() 1004 if (!name) in conf_write_autoconf() [all …]
|
A D | util.c | 14 struct file *file_lookup(const char *name) in file_lookup() argument 17 const char *file_name = sym_expand_string_value(name); in file_lookup() 20 if (!strcmp(name, file->name)) { in file_lookup() 28 file->name = file_name; in file_lookup() 35 int file_write_dep(const char *name) in file_write_dep() argument 42 if (!name) in file_write_dep() 43 name = ".kconfig.d"; in file_write_dep() 50 fprintf(out, "\t%s \\\n", file->name); in file_write_dep() 52 fprintf(out, "\t%s\n", file->name); in file_write_dep() 65 value = getenv(env_sym->name); in file_write_dep() [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/ |
A D | genwrap.py | 60 def stub_fn_name(ty, name): argument 104 def munge_name(name): argument 105 if name in ocaml_keywords: 106 return "xl_" + name 108 return name 112 name = f.type.keyvar.name 114 name = f.name 149 name = "%s__union" % ty.keyvar.name 160 u.append("%s of %s_%s" % (f.name.capitalize(), nparent, f.name)) 167 ty.union_name = name [all …]
|
/xen-4.10.0-shim-comet/docs/ |
A D | xen-headers | 124 my ($text,$type,$name,$hparams,$deref) = @_; 126 debug(2,"DEFN $. $type $name $hparams |$text|"); 129 my $xrefs = $sdef{$type}{$name}{Xrefs}; 131 $hparams .= " name=\"${type}_$name\"" if $sdef{$type}{$name}{Used}; 153 my ($type,$name,$hkey) = @_; 154 $sdef{$type}{$name}{Used} = 1; 155 my $sdef = $sdef{$type}{$name}; 167 my ($types,$name) = @_; 169 my ($ttype,$tname) = ($type,$name); 191 my ($text,$type,$name) = @_; [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | processor.h | 94 #define READ_SYSREG32(name) ({ \ argument 96 asm volatile("mrs %0, "__stringify(name) : "=r" (_r)); \ 98 #define WRITE_SYSREG32(v, name) do { \ argument 100 asm volatile("msr "__stringify(name)", %0" : : "r" (_r)); \ 103 #define WRITE_SYSREG64(v, name) do { \ argument 105 asm volatile("msr "__stringify(name)", %0" : : "r" (_r)); \ 107 #define READ_SYSREG64(name) ({ \ argument 109 asm volatile("mrs %0, "__stringify(name) : "=r" (_r)); \ 112 #define READ_SYSREG(name) READ_SYSREG64(name) argument 113 #define WRITE_SYSREG(v, name) WRITE_SYSREG64(v, name) argument
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_misc.c | 542 char *name, in xc_livepatch_upload() argument 552 if ( !name || !payload ) in xc_livepatch_upload() 558 def_name.size = strlen(name) + 1; in xc_livepatch_upload() 585 set_xen_guest_handle(sysctl.u.livepatch.u.upload.name.name, name); in xc_livepatch_upload() 596 char *name, in xc_livepatch_get() argument 604 if ( !name ) in xc_livepatch_get() 610 def_name.size = strlen(name) + 1; in xc_livepatch_get() 630 set_xen_guest_handle(sysctl.u.livepatch.u.get.name.name, name); in xc_livepatch_get() 738 (HYPERCALL_BUFFER(name))->ubuf = name + (sz * *done); in xc_livepatch_list() 754 set_xen_guest_handle(sysctl.u.livepatch.u.list.name, name); in xc_livepatch_list() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | mm-locks.h | 155 #define declare_mm_lock(name) \ argument 156 static inline void mm_lock_##name(mm_lock_t *l, const char *func, int rec)\ 157 { _mm_lock(l, func, MM_LOCK_ORDER_##name, rec); } 162 { _mm_read_lock(l, MM_LOCK_ORDER_##name); } 164 #define mm_lock(name, l) mm_lock_##name(l, __func__, 0) argument 165 #define mm_lock_recursive(name, l) mm_lock_##name(l, __func__, 1) argument 166 #define mm_write_lock(name, l) mm_write_lock_##name(l, __func__) argument 167 #define mm_read_lock(name, l) mm_read_lock_##name(l) argument 172 #define declare_mm_order_constraint(name) \ argument 173 static inline void mm_enforce_order_lock_pre_##name(void) \ [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | config.h | 57 #define ENTRY(name) \ argument 58 .globl name; \ 60 name: 61 #define GLOBAL(name) \ argument 62 .globl name; \ 63 name: 64 #define END(name) \ argument 65 .size name, .-name 66 #define ENDPROC(name) \ argument 67 .type name, %function; \ [all …]
|