| /hypervisor/include/arch/x86/asm/lib/ |
| A D | atomic.h | 35 #define build_atomic_inc(name, size, type) \ argument 36 static inline void name(type *ptr) \ 46 #define build_atomic_dec(name, size, type) \ argument 47 static inline void name(type *ptr) \ 57 #define build_atomic_swap(name, size, type) \ argument 58 static inline type name(type *ptr, type v) \ 87 #define build_atomic_cmpxchg(name, size, type) \ argument 88 static inline type name(volatile type *ptr, type old, type new) \ 100 #define build_atomic_xadd(name, size, type) \ argument 101 static inline type name(type *ptr, type v) \
|
| A D | bits.h | 185 #define build_bitmap_set(name, op_len, op_type, lock) \ argument 186 static inline void name(uint16_t nr_arg, volatile op_type *addr) \ 205 #define build_bitmap_clear(name, op_len, op_type, lock) \ argument 206 static inline void name(uint16_t nr_arg, volatile op_type *addr) \ 252 #define build_bitmap_testandset(name, op_len, op_type, lock) \ argument 253 static inline bool name(uint16_t nr_arg, volatile op_type *addr) \ 276 #define build_bitmap_testandclear(name, op_len, op_type, lock) \ argument 277 static inline bool name(uint16_t nr_arg, volatile op_type *addr) \
|
| /hypervisor/arch/x86/configs/ |
| A D | vm_config.c | 33 bool vm_has_matched_name(uint16_t vmid, const char *name) in vm_has_matched_name() argument 37 return (strncmp(vm_config->name, name, MAX_VM_NAME_LEN) == 0); in vm_has_matched_name()
|
| /hypervisor/include/arch/x86/asm/ |
| A D | per_cpu.h | 81 #define per_cpu(name, pcpu_id) \ argument 82 (per_cpu_data[(pcpu_id)].name) 85 #define get_cpu_var(name) per_cpu(name, get_pcpu_id()) argument
|
| A D | vm_config.h | 123 char name[MAX_VM_OS_NAME_LEN]; /* OS name, useful for debug */ member 162 char name[MAX_VM_NAME_LEN]; /* VM name identifier */ member 220 bool vm_has_matched_name(uint16_t vmid, const char *name);
|
| /hypervisor/common/ |
| A D | schedule.c | 176 char name[16]; in schedule() local 187 memcpy_erms(name, prev->name, 4); in schedule() 188 memcpy_erms(name + 4, next->name, 4); in schedule() 189 memset(name + 8, 0, sizeof(name) - 8); in schedule() 190 TRACE_16STR(TRACE_SCHED_NEXT, name); in schedule()
|
| A D | sched_noop.c | 50 .name = "sched_noop",
|
| A D | hv_main.c | 102 (void)strncpy_s(idle->name, 16U, idle_name, 16U); in run_idle_thread()
|
| A D | sched_prio.c | 94 .name = "sched_prio",
|
| /hypervisor/include/common/ |
| A D | ptdev.h | 30 #define DEFINE_MSI_SID(name, a, b) \ argument 31 union source_id (name) = {.msi_id = {.bdf = (a), .entry_nr = (b)} } 33 #define DEFINE_INTX_SID(name, a, b) \ argument 34 union source_id (name) = {.intx_id = {.gsi = (a), .ctlr = (b)} }
|
| A D | schedule.h | 57 char name[16]; member 82 char name[16]; member
|
| /hypervisor/scripts/makefile/ |
| A D | config.mk | 67 $$(error $(1) = '$($(1))' is neither path to a file nor name of a predefined board) 248 @find $(HV_CONFIG_A_DIR) -name '*.aml' -delete 249 …@cd $(HV_CONFIG_DIR) && find . -name '*.c' -or -name '*.h' -or -name '*.config' -or -name '*.asl' …
|
| /hypervisor/debug/ |
| A D | trace.c | 114 void TRACE_16STR(uint32_t evid, const char name[]) in TRACE_16STR() argument 127 len = strnlen_s(name, 20U); in TRACE_16STR() 130 entry.payload.str[i] = name[i]; in TRACE_16STR()
|
| A D | dump.c | 208 const char *name = "Not defined"; in dump_intr_excp_frame() local 214 name = excp_names[ctx->vector]; in dump_intr_excp_frame() 215 pr_acrnlog("= Unhandled exception: %d (%s)\n", ctx->vector, name); in dump_intr_excp_frame()
|
| A D | logmsg.c | 68 timestamp, pcpu_id, current->name, severity, atomic_inc_return(&logmsg_ctl.seq)); in do_logmsg()
|
| /hypervisor/arch/x86/guest/ |
| A D | vmcall.c | 127 memcpy_s(vm_config->name, MAX_VM_NAME_LEN, cv->name, MAX_VM_NAME_LEN); in allocate_dynamical_vmid() 159 vm_id = get_vmid_by_name((char *)cv.name); in parse_target_vm() 169 pr_err("The VM name provided (%s) is invalid, cannot create VM", cv.name); in parse_target_vm()
|
| A D | vm.c | 69 if ((vm_config->name[0] == '\0') && ((vm_config->guest_flags & GUEST_FLAG_STATIC_VM) == 0U)) { in get_unused_vmid() 76 uint16_t get_vmid_by_name(const char *name) in get_vmid_by_name() argument 81 if ((*name != '\0') && vm_has_matched_name(vm_id, name)) { in get_vmid_by_name() 700 (void)memcpy_s(&vm->name[0], MAX_VM_NAME_LEN, &vm_config->name[0], MAX_VM_NAME_LEN); in create_vm() 726 if (vm_config->name[0] == '\0') { in create_vm() 728 snprintf(vm_config->name, 16, "ACRN VM_%d", vm_id); in create_vm() 968 memset(vm_config->name, 0U, MAX_VM_NAME_LEN); in shutdown_vm() 1105 if (get_vmid_by_name(vm_config->name) != vm_id) { in prepare_vm() 1106 pr_err("Invalid VM name: %s", vm_config->name); in prepare_vm() 1159 pr_acrnlog("Start VM id: %x name: %s", vm_id, vm_config->name); in launch_vms()
|
| /hypervisor/include/dm/ |
| A D | ivshmem.h | 24 char name[32]; member
|
| /hypervisor/lib/crypto/mbedtls/ |
| A D | md_internal.h | 44 const char * name; member
|
| /hypervisor/release/ |
| A D | trace.c | 21 void TRACE_16STR(__unused uint32_t evid, __unused const char name[]) {} in TRACE_16STR() argument
|
| /hypervisor/include/public/ |
| A D | acrn_common.h | 373 uint8_t name[MAX_VM_NAME_LEN]; member 630 char name[MAX_VM_NAME_LEN]; member 696 char name[8]; member
|
| /hypervisor/include/debug/ |
| A D | trace.h | 51 void TRACE_16STR(uint32_t evid, const char name[]);
|
| /hypervisor/dm/vpci/ |
| A D | ivshmem.c | 120 static struct ivshmem_shm_region *find_shm_region(const char *name) in find_shm_region() argument 125 if (strncmp(name, mem_regions[i].name, sizeof(mem_regions[0].name)) == 0) { in find_shm_region()
|
| /hypervisor/include/arch/x86/asm/guest/ |
| A D | vm.h | 168 char name[MAX_VM_NAME_LEN]; member 259 uint16_t get_vmid_by_name(const char *name);
|
| /hypervisor/scripts/ |
| A D | genconf.sh | 82 find ${line} -maxdepth 1 -name '*.patch' | while read f; do
|