| /misc/sample_application/rtvm/ |
| A D | ivshmemlib.c | 91 if (size == 0) in read_ivshmem_region() 98 bzero(user_ptr, size); in read_ivshmem_region() 99 strncpy(user_ptr, ivshmem_ptr, size); in read_ivshmem_region() 100 ivshmem_ptr[size] = '\0'; in read_ivshmem_region() 101 user_ptr[size] = '\0'; in read_ivshmem_region() 103 bzero(ivshmem_ptr, size); in read_ivshmem_region() 130 if (size == 0) in write_ivshmem_region() 138 bzero(ivshmem_ptr, size); in write_ivshmem_region() 140 user_ptr[size] = '\0'; in write_ivshmem_region() 141 ivshmem_ptr[size] = '\0'; in write_ivshmem_region() [all …]
|
| /misc/sample_application/uservm/ |
| A D | ivshmemlib.c | 91 if (size == 0) in read_ivshmem_region() 98 bzero(user_ptr, size); in read_ivshmem_region() 99 strncpy(user_ptr, ivshmem_ptr, size); in read_ivshmem_region() 100 ivshmem_ptr[size] = '\0'; in read_ivshmem_region() 101 user_ptr[size] = '\0'; in read_ivshmem_region() 103 bzero(ivshmem_ptr, size); in read_ivshmem_region() 130 if (size == 0) in write_ivshmem_region() 138 bzero(ivshmem_ptr, size); in write_ivshmem_region() 140 user_ptr[size] = '\0'; in write_ivshmem_region() 141 ivshmem_ptr[size] = '\0'; in write_ivshmem_region() [all …]
|
| /misc/config_tools/board_inspector/inspectorlib/ |
| A D | unpack.py | 41 if size is None: 42 self.size = data_size 44 self.size = offset + size 49 if self.offset + size > self.size: 52 def skip(self, size): argument 53 self._check_unpack(size) 54 self.offset += size 89 def unpack_raw(self, size): argument 93 self.offset += size 99 self.offset = self.size [all …]
|
| /misc/efi-stub/ |
| A D | efilinux.h | 56 emalloc_reserved_aligned(EFI_PHYSICAL_ADDRESS *addr, UINTN size, UINTN align, 108 allocate_pool(EFI_MEMORY_TYPE type, UINTN size, void **buffer) in allocate_pool() argument 110 return uefi_call_wrapper(boot->AllocatePool, 3, type, size, buffer); in allocate_pool() 154 get_memory_map(UINTN *size, EFI_MEMORY_DESCRIPTOR *map, UINTN *key, in get_memory_map() argument 157 return uefi_call_wrapper(boot->GetMemoryMap, 5, size, map, in get_memory_map() 203 UINTN size, EFI_PHYSICAL_ADDRESS max_addr) in emalloc_reserved_mem() argument 207 EFI_SIZE_TO_PAGES(size), addr); in emalloc_reserved_mem() 219 UINTN size, EFI_PHYSICAL_ADDRESS fixed_addr) in emalloc_fixed_addr() argument 223 EFI_SIZE_TO_PAGES(size), addr); in emalloc_fixed_addr() 250 exit(EFI_HANDLE image, EFI_STATUS status, UINTN size, CHAR16 *reason) in exit() argument [all …]
|
| A D | multiboot.h | 250 uint32_t size; member 257 uint32_t size; member 265 uint32_t size; member 276 uint32_t size; member 284 uint32_t size; member 292 uint32_t size; member 302 uint32_t size; member 309 uint32_t size; member 327 uint32_t size; member 333 uint32_t size; member [all …]
|
| A D | boot.c | 109 UINTN size = 1; in set_mor_bit() local 151 size = 1; in set_mor_bit() 173 size = 0x1; in set_mor_bit() 483 tag->size = sizeof(struct multiboot2_tag_string) + cmdline_size; in construct_mbi2() 485 p += ALIGN_UP(tag->size, MULTIBOOT2_TAG_ALIGN) / sizeof(uint64_t); in construct_mbi2() 494 p += ALIGN_UP(tag->size, MULTIBOOT2_TAG_ALIGN) / sizeof(uint64_t); in construct_mbi2() 537 p += ALIGN_UP(tag->size, MULTIBOOT2_TAG_ALIGN) / sizeof(uint64_t); in construct_mbi2() 544 tag->size = sizeof(struct multiboot2_tag_new_acpi) + rsdp->length; in construct_mbi2() 546 p += ALIGN_UP(tag->size, MULTIBOOT2_TAG_ALIGN) / sizeof(uint64_t); in construct_mbi2() 553 tag->size = sizeof(struct multiboot2_tag_efi64); in construct_mbi2() [all …]
|
| A D | stdlib.h | 49 static inline void memset(void *dstv, char ch, UINTN size) in memset() argument 54 for (i = 0; i < size; i++) in memset() 58 static inline void memcpy(char *dst, const char *src, UINTN size) in memcpy() argument 62 for (i = 0; i < size; i++) in memcpy()
|
| A D | malloc.c | 40 emalloc_reserved_aligned(EFI_PHYSICAL_ADDRESS *addr, UINTN size, UINTN align, in emalloc_reserved_aligned() argument 48 pages = EFI_SIZE_TO_PAGES(size); in emalloc_reserved_aligned() 96 if ((start + size <= end) && (start + size <= maxaddr)) { in emalloc_reserved_aligned()
|
| /misc/debug_tools/acrn_crashlog/acrnprobe/ |
| A D | crash_reclassify.c | 135 ssize_t size; in _get_data() local 150 size = MIN(max_size, (size_t)(end - value)); in _get_data() 151 if (!size) in _get_data() 154 data_new = realloc(*data, *dsize + size + 1); in _get_data() 160 strncpy(data_new + *dsize, value, size); in _get_data() 161 *(data_new + *dsize + size) = 0; in _get_data() 164 *dsize += size; in _get_data() 214 size_t size; in crash_match_file() local 221 if (!size) in crash_match_file() 305 unsigned long size; in crash_reclassify_by_content() local [all …]
|
| A D | startupreason.c | 36 unsigned long size; in get_cmdline_bootreason() local 41 res = read_file(CURRENT_KERNEL_CMDLINE, &size, (void *)&cmdline); in get_cmdline_bootreason() 47 if (!size) { in get_cmdline_bootreason() 70 end = cmdline + size; in get_cmdline_bootreason()
|
| A D | history.c | 59 static int event_count_file_path(char *path, size_t size) in event_count_file_path() argument 64 if (!crashlog || !path || !size) in event_count_file_path() 67 res = snprintf(path, size, "%s/%s", crashlog->outdir, in event_count_file_path() 69 if (s_not_expect(res, size)) in event_count_file_path() 188 char *newline, size_t size) in entry_to_history_line() argument 205 len = snprintf(newline, size, fmt, in entry_to_history_line() 210 len = snprintf(newline, size, fmt, in entry_to_history_line() 215 len = snprintf(newline, size, simple_event, in entry_to_history_line() 221 if (s_not_expect(len, size)) in entry_to_history_line() 374 static int get_time_from_firstline(char *buffer, size_t size) in get_time_from_firstline() argument [all …]
|
| /misc/debug_tools/acrn_crashlog/common/include/ |
| A D | strutils.h | 10 #define s_not_expect(res, size) (res < 0 || (size_t)res >= size) argument 15 ssize_t strlinelen(const char *str, size_t size); 19 char *strings_ind(char *strings, size_t size, int index, size_t *slen);
|
| A D | fsutils.h | 43 ssize_t size; member 103 ssize_t file_read_string(const char *file, char *string, const int size); 111 int read_full_binary_file(const char *path, unsigned long *size, 130 int dir_blocks_size(const char *dir, size_t dlen, size_t *size); 131 int read_file(const char *path, unsigned long *size, void **data);
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 40-acpi-tables.py | 61 add_child(cap, "end", "0x{:08x}".format(entry.base + entry.size - 1)) 62 add_child(cap, "size", str(entry.size)) 101 end = "0x{:016x}".format(entry.address + entry.size - 1) 102 size = str(entry.size) 103 … region = add_child(memory_node, "range", None, id="CRL Binary", start=start, end=end, size=size) 121 add_child(ssram_node, "end", "0x{:08x}".format(entry.base + entry.size - 1)) 122 add_child(ssram_node, "size", str(entry.size)) 133 end = "0x{:016x}".format(entry.address + entry.size - 1) 134 size = str(entry.size) 135 …region = add_child(memory_node, "range", None, id="TCC Error Log", start=start, end=end, size=size)
|
| A D | 30-memory.py | 18 size = e820_entry.end - e820_entry.start + 1 19 add_child(memory_node, "range", start=start, end=end, size=str(size))
|
| /misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/ |
| A D | TabBox.vue | 7 <Icon size="18px" color="red" style="cursor: pointer;"> 11 <div style="font-size: 22px;">Hypervisor</div> 19 <Icon size="18px" color="red" style="cursor: pointer;"> 23 <div style="font-size:22px"> 30 <div style="font-size: 22px;"> 41 <Icon size="18px" color="red" style="cursor: pointer;"> 45 <div style="font-size:22px"> 56 <Icon size="18px" color="red" style="cursor: pointer;"> 60 <div style="font-size:22px"> 67 <div style="font-size: 22px;">
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/utils/style/ |
| A D | baseForm.scss | 2 font-size: 14px; 16 font-size: 14px; 42 font-size: 14px; 66 font-size: 15px; 71 font-size: 12px; 80 font-size: 12px; 101 font-size: 12px; 193 font-size: 12px; 201 font-size: 0; 208 font-size: 0; [all …]
|
| /misc/config_tools/configurator/packages/configurator/src/components/common/ |
| A D | ControlBar.vue | 13 <Icon @click="openDevtools" size="20px" color="white"> 16 <Icon @click="minus" size="20px" color="white"> 19 <Icon @click="maximize" size="20px" color="white"> 22 <Icon @click="close" size="20px" color="white"> 83 font-size: 26px;
|
| /misc/debug_tools/acrn_crashlog/usercrash/ |
| A D | crash_dump.c | 168 unsigned long size; in save_proc_info() local 177 ret = read_file(format, &size, (void *)&data); in save_proc_info() 182 ret = write(fd, data, size); in save_proc_info() 183 if ((unsigned long)ret != size) { in save_proc_info() 272 unsigned long size; in get_key_value() local 285 ret = read_file(format, &size, (void *)&data); in get_key_value() 298 end = data + size; in get_key_value()
|
| /misc/config_tools/data/generic_board/generic_code/partitioned/ |
| A D | vm_configurations.c | 77 .size = VM0_TPM_BUFFER_SIZE, 84 .size = VM0_TPM_EVENTLOG_SIZE, 97 .size = P2SB_BAR_SIZE,
|
| /misc/debug_tools/acrn_crashlog/common/ |
| A D | strutils.c | 79 ssize_t strlinelen(const char *str, size_t size) in strlinelen() argument 86 tail = memchr(str, '\n', size); in strlinelen() 159 char *strings_ind(char *strings, size_t size, int index, size_t *slen) in strings_ind() argument 167 if (!strings || !size) in strings_ind() 170 str_tail = memchr((void *)strings, '\0', size); in strings_ind() 178 left = strings + size - str_tail - 1; in strings_ind()
|
| A D | fsutils.c | 117 if (!mfile || mfile->size < 0) in mm_count_lines() 120 if (!mfile->size) in mm_count_lines() 186 mfile->size = get_file_size(path); in mmap_file() 187 if (mfile->size < 0) { in mmap_file() 219 munmap(mfile->begin, mfile->size); in unmap_file() 414 res = fgets(string, size, fp); in file_read_string() 424 return strnlen(string, size); in file_read_string() 1115 if (!dir || !dlen || !size) in dir_blocks_size() 1118 *size = 0; in dir_blocks_size() 1138 if (!path || !data || !size) { in read_file() [all …]
|
| /misc/config_tools/static_allocators/ |
| A D | memory_allocator.py | 24 size = int(memory_range.get("size"), base=10) 25 if start < hv_start and start + size > hv_start + hv_size: 27 cls.ram_range[hv_start + hv_size] = start + size - hv_start - hv_size 29 cls.ram_range[start] = size 179 size = get_node("./memory/size/text()", post_launch_vm) 180 if size is not None: 181 mb, gb = math.modf(int(size)/1024)
|
| /misc/config_tools/configurator/packages/configurator/src/assets/css/ |
| A D | index.scss | 12 $input-font-size-lg: 1rem; 48 background-size: $accordion-icon-width; 92 font-size: 16px; 133 background-size: 16px 12px; 154 font-size: 28px;
|
| /misc/debug_tools/acrn_trace/ |
| A D | sbuf.c | 44 sbuf->head = sbuf_next_ptr(sbuf->head, sbuf->ele_size, sbuf->size); in sbuf_get() 69 sbuf->head = sbuf_next_ptr(sbuf->head, sbuf->ele_size, sbuf->size); in sbuf_write()
|