Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 37) sorted by relevance

12

/hypervisor/debug/
A Dshell.c289 len--; in clear_input_line()
911 size -= len; in dump_vcpu_reg()
912 str += len; in dump_vcpu_reg()
925 str += len; in dump_vcpu_reg()
933 str += len; in dump_vcpu_reg()
1163 size -= len; in get_cpu_interrupt_info()
1164 str += len; in get_cpu_interrupt_info()
1172 str += len; in get_cpu_interrupt_info()
1282 str += len; in get_ptdev_info()
1349 str += len; in get_vioapic_info()
[all …]
A Dtrace.c118 size_t len, i; in TRACE_16STR() local
127 len = strnlen_s(name, 20U); in TRACE_16STR()
128 len = (len > 16U) ? 16U : len; in TRACE_16STR()
129 for (i = 0U; i < len; i++) { in TRACE_16STR()
A Dprintf.c22 size_t len; in charout() local
27 len = console_write(s, sz); in charout()
28 s += len; in charout()
A Dnpk_log.c142 uint16_t len; in npk_log_write() local
152 len = (uint16_t)(min(buf_len, HV_NPK_LOG_MAX)); in npk_log_write()
154 mmio_write16(len, &(channel->Dn)); in npk_log_write()
157 sz = npk_write(p, &(channel->Dn), buf + len - p); in npk_log_write()
A Ddbg_cmd.c28 bool handle_dbg_cmd(const char *cmd, int32_t len) in handle_dbg_cmd() argument
38 if (len < tmp) in handle_dbg_cmd()
A Duart16550.c259 size_t uart16550_puts(const char *buf, uint32_t len) in uart16550_puts() argument
265 return len; in uart16550_puts()
269 for (i = 0U; i < len; i++) { in uart16550_puts()
279 return len; in uart16550_puts()
A Dconsole.c83 size_t console_write(const char *s, size_t len) in console_write() argument
85 return uart16550_puts(s, len); in console_write()
/hypervisor/arch/x86/guest/
A Dguest_memory.c284 len = 0U; in local_copy_gpa()
298 (void)memcpy_s(h_ptr, len, g_ptr, len); in local_copy_gpa()
300 (void)memcpy_s(g_ptr, len, h_ptr, len); in local_copy_gpa()
305 return len; in local_copy_gpa()
312 uint32_t len; in copy_gpa() local
323 gpa += len; in copy_gpa()
324 h_ptr += len; in copy_gpa()
325 size -= len; in copy_gpa()
341 uint32_t len; in copy_gva() local
350 gva += len; in copy_gva()
[all …]
A Dpm.c258 gas_io.len = gas->bit_width / 8; in register_gas_io_handler()
262 pr_dbg("Enable PM1A trap for VM %d, port 0x%x, size %d\n", vm->vm_id, gas_io.base, gas_io.len); in register_gas_io_handler()
308 io_range.len = 1U; in register_rt_vm_pm1a_ctl_handler()
375 io_range.len = 2U; in register_prelaunched_vm_sleep_handler()
/hypervisor/arch/x86/seed/
A Dseed.c46 uint32_t len; in parse_seed_arg() local
52 len = strnlen_s(seed_arg[i].str, MEM_1K); in parse_seed_arg()
53 arg = strstr_s((const char *)cmd_src, MAX_BOOTARGS_SIZE, seed_arg[i].str, len); in parse_seed_arg()
55 arg += len; in parse_seed_arg()
64 arg -= len; in parse_seed_arg()
65 len = (arg_end != NULL) ? (uint32_t)(arg_end - arg) : in parse_seed_arg()
67 (void)memset((void *)arg, (uint8_t)' ', len); in parse_seed_arg()
/hypervisor/release/
A Dconsole.c11 size_t console_write(__unused const char *str, __unused size_t len) in console_write() argument
29 bool handle_dbg_cmd(__unused const char *cmd, __unused int32_t len) { return false; } in handle_dbg_cmd() argument
A Dnpk_log.c11 void npk_log_write(__unused const char *buf, __unused size_t len) {} in npk_log_write() argument
/hypervisor/lib/crypto/mbedtls/
A Dsha256.c260 size_t len = ilen; in mbedtls_sha256_update_ret() local
262 if ((len != 0U) && (data != NULL)) { in mbedtls_sha256_update_ret()
266 ctx->total[0] += (uint32_t)len; in mbedtls_sha256_update_ret()
269 if (ctx->total[0] < (uint32_t)len) { in mbedtls_sha256_update_ret()
273 if ((left != 0U) && (len >= fill)) { in mbedtls_sha256_update_ret()
279 len -= fill; in mbedtls_sha256_update_ret()
285 while (len >= 64U) { in mbedtls_sha256_update_ret()
289 len -= 64U; in mbedtls_sha256_update_ret()
295 if (len > 0U) { in mbedtls_sha256_update_ret()
296 (void)memcpy_s((void *)&ctx->buffer[left], len, data, len); in mbedtls_sha256_update_ret()
A Dmd.h36 #define mbedtls_platform_zeroize(buf, len) memset((buf), 0U, (len)) argument
/hypervisor/lib/
A Dstring.c115 size_t len = strnlen_s(s, dmax); in strncpy_s() local
117 if ((slen < dmax) || (dmax > len)) { in strncpy_s()
118 ret = memcpy_s(d, dmax, s, len); in strncpy_s()
122 *(dest + len) = '\0'; in strncpy_s()
A Dsprintf.c379 uint32_t len; in print_string() local
385 len = strnlen_s(s, PRINT_STRING_MAX_LEN); in print_string()
388 if ((param->vars.precision != 0U) && (len > param->vars.precision)) { in print_string()
389 len = param->vars.precision; in print_string()
395 if ((param->vars.width > 0U) && (param->vars.width > len)) { in print_string()
396 w = param->vars.width - len; in print_string()
406 param->emit(PRINT_CMD_COPY, s, len, param->data); in print_string()
/hypervisor/include/lib/
A Dutil.h58 static inline uint8_t calculate_checksum8(const void *buf, uint32_t len) in calculate_checksum8() argument
60 return (uint8_t)(0x100U - calculate_sum8(buf, len)); in calculate_checksum8()
/hypervisor/include/debug/
A Ddbg_cmd.h10 bool handle_dbg_cmd(const char *cmd, int32_t len);
A Dnpk_log.h12 void npk_log_write(const char *buf, size_t len);
A Dconsole.h26 size_t console_write(const char *s, size_t len);
A Duart16550.h139 size_t uart16550_puts(const char *buf, uint32_t len);
/hypervisor/include/arch/x86/asm/
A Didt.h61 uint16_t len; member
A Dgdt.h136 uint16_t len; member
/hypervisor/dm/vpci/
A Dvpci_priv.h54 static inline bool in_range(uint32_t value, uint32_t lower, uint32_t len) in in_range() argument
56 return ((value >= lower) && (value < (lower + len))); in in_range()
/hypervisor/arch/x86/
A Dgdt.c55 gdtr.len = sizeof(struct host_gdt) - 1U; in load_gdtr_and_tr()

Completed in 38 milliseconds

12