/xen/xen/drivers/char/ |
A D | scif-uart.c | 97 const struct port_params *params = uart->params; in scif_uart_interrupt() local 118 scif_writew(uart, params->status_reg, ~params->error_mask); in scif_uart_interrupt() 133 const struct port_params *params = uart->params; in scif_uart_init_preirq() local 164 const struct port_params *params = uart->params; in scif_uart_init_postirq() local 176 if ( scif_readw(uart, params->status_reg) & params->error_mask ) in scif_uart_init_postirq() 177 scif_writew(uart, params->status_reg, ~params->error_mask); in scif_uart_init_postirq() 178 if ( scif_readw(uart, params->overrun_reg) & params->overrun_mask ) in scif_uart_init_postirq() 179 scif_writew(uart, params->overrun_reg, ~params->overrun_mask); in scif_uart_init_postirq() 199 const struct port_params *params = uart->params; in scif_uart_tx_ready() local 216 const struct port_params *params = uart->params; in scif_uart_putc() local [all …]
|
/xen/tools/xl/ |
A D | xl_vsnd.c | 66 static void print_params(libxl_vsnd_params *params) in print_params() argument 70 if (params->channels_min) { in print_params() 74 if (params->channels_max) { in print_params() 78 if (params->buffer_size) { in print_params() 82 if (params->num_sample_rates) { in print_params() 85 printf("%u;", params->sample_rates[i]); in print_params() 87 printf("%u", params->sample_rates[i]); in print_params() 90 if (params->num_sample_formats) { in print_params() 137 print_params(&vsnds[i].params); in main_vsndlist() 143 print_params(&pcm->params); in main_vsndlist() [all …]
|
A D | xl_misc.c | 161 char *params; in main_set_parameters() local 167 params = argv[optind]; in main_set_parameters() 169 if (libxl_set_parameters(ctx, params)) { in main_set_parameters() 170 fprintf(stderr, "cannot set parameters: %s\n", params); in main_set_parameters()
|
A D | xl_vmcontrol.c | 913 libxl_domain_restore_params params; in create_domain() local 915 libxl_domain_restore_params_init(¶ms); in create_domain() 917 params.checkpointed_stream = dom_info->checkpointed_stream; in create_domain() 918 params.stream_version = in create_domain() 920 params.colo_proxy_script = dom_info->colo_proxy_script; in create_domain() 921 libxl_defbool_set(¶ms.userspace_colo_proxy, in create_domain() 926 send_back_fd, ¶ms, in create_domain() 929 libxl_domain_restore_params_dispose(¶ms); in create_domain()
|
A D | xl_parse.c | 869 params->sample_rates = xcalloc(params->num_sample_rates, in parse_vsnd_params() 872 for (i = 0; i < params->num_sample_rates; i++) { in parse_vsnd_params() 883 params->sample_formats = xcalloc(params->num_sample_formats, in parse_vsnd_params() 886 for (i = 0; i < params->num_sample_formats; i++) { in parse_vsnd_params() 894 params->sample_formats[i] = format; in parse_vsnd_params() 899 params->channels_min = strtoul(oparg, NULL, 0); in parse_vsnd_params() 901 params->channels_max = strtoul(oparg, NULL, 0); in parse_vsnd_params() 903 params->buffer_size = strtoul(oparg, NULL, 0); in parse_vsnd_params() 927 if (parse_vsnd_params(&stream->params, param)) { in parse_vsnd_pcm_stream() 955 if (parse_vsnd_params(&pcm->params, param)) { in parse_vsnd_pcm_param() [all …]
|
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 46 params->num_sample_rates = 0; in libxl__sample_rates_from_string() 47 params->sample_rates = NULL; in libxl__sample_rates_from_string() 52 params->sample_rates = libxl__realloc(NOGC, params->sample_rates, in libxl__sample_rates_from_string() 55 params->sample_rates[params->num_sample_rates++] = strtoul(p, NULL, 0); in libxl__sample_rates_from_string() 69 params->sample_formats = NULL; in libxl__sample_formats_from_string() 74 params->sample_formats = libxl__realloc(NOGC, params->sample_formats, in libxl__sample_formats_from_string() 83 params->sample_formats[params->num_sample_formats++] = format; in libxl__sample_formats_from_string() 374 if (params->sample_rates) { in libxl__set_params_vsnd() 408 if (params->channels_min) { in libxl__set_params_vsnd() 415 if (params->channels_max) { in libxl__set_params_vsnd() [all …]
|
A D | libxl.h | 1562 const libxl_domain_restore_params *params, 1576 libxl_domain_restore_params params; in libxl_domain_create_restore_0x040200() local 1579 libxl_domain_restore_params_init(¶ms); in libxl_domain_create_restore_0x040200() 1584 libxl_domain_restore_params_dispose(¶ms); in libxl_domain_create_restore_0x040200() 1596 const libxl_domain_restore_params *params, in libxl_domain_create_restore_0x040400() argument 2492 libxl_domain_sched_params *params); 2500 const libxl_domain_sched_params *params); 2504 libxl_vcpu_sched_params *params); 2508 libxl_vcpu_sched_params *params); 2512 const libxl_vcpu_sched_params *params); [all …]
|
/xen/xen/arch/x86/efi/ |
A D | efi-boot.h | 368 params->number_of_sectors = bio->Media->LastBlock + 1; in efi_arch_edd() 369 params->bytes_per_sector = bio->Media->BlockSize; in efi_arch_edd() 370 params->dpte_ptr = ~0; in efi_arch_edd() 407 edd_put_string(params->host_bus_type, "PCI"); in efi_arch_edd() 419 params->interface_path.pci.channel = in efi_arch_edd() 426 params->device_path.scsi.id = devp.Scsi->Pun; in efi_arch_edd() 427 params->device_path.scsi.lun = devp.Scsi->Lun; in efi_arch_edd() 451 params->key = 0xbedd; in efi_arch_edd() 452 params->device_path_info_length = in efi_arch_edd() 455 for ( p = (const u8 *)¶ms->key; p < ¶ms->checksum; ++p ) in efi_arch_edd() [all …]
|
/xen/tools/hotplug/Linux/ |
A D | block-dummy | 39 params=($(echo "$1" | tr ":" "\n")) 41 type=${params[0]} 42 file=${params[1]} 85 target=$(xenstore-read $XENBUS_PATH/params || true)
|
A D | block-tap | 50 params=($(echo "$1" | tr ":" "\n")) 52 type=${params[0]} 53 file=${params[1]} 104 target=$(xenstore-read $XENBUS_PATH/params || true)
|
A D | block-iscsi | 134 target=$(xenstore-read $XENBUS_PATH/params || true)
|
/xen/xen/arch/arm/tee/ |
A D | optee.c | 871 attr = call->xen_arg->params[i].attr; in translate_params() 1005 attr = call->xen_arg->params[i].attr; in copy_std_request_back() 1011 guest_arg->params[i].u.tmem.size = in copy_std_request_back() 1016 guest_arg->params[i].u.rmem.size = in copy_std_request_back() 1021 guest_arg->params[i].u.value.a = in copy_std_request_back() 1022 call->xen_arg->params[i].u.value.a; in copy_std_request_back() 1023 guest_arg->params[i].u.value.b = in copy_std_request_back() 1024 call->xen_arg->params[i].u.value.b; in copy_std_request_back() 1025 guest_arg->params[i].u.value.c = in copy_std_request_back() 1026 call->xen_arg->params[i].u.value.c; in copy_std_request_back() [all …]
|
/xen/tools/hotplug/FreeBSD/ |
A D | block | 15 params=$(xenstore-read "$path/params") 19 xenstore-write $path/physical-device-path $params
|
/xen/tools/libxc/ |
A D | xc_sr_save_x86_hvm.c | 62 static const unsigned int params[] = { in write_hvm_params() local 82 struct xc_sr_rec_hvm_params_entry entries[ARRAY_SIZE(params)]; in write_hvm_params() 94 for ( i = 0; i < ARRAY_SIZE(params); i++ ) in write_hvm_params() 96 uint32_t index = params[i]; in write_hvm_params()
|
A D | xc_dom_x86.c | 106 const struct xc_dom_params *params; member 177 map->area.from = from & domx86->params->vaddr_mask; in count_pgtables() 178 map->area.to = to & domx86->params->vaddr_mask; in count_pgtables() 180 for ( l = domx86->params->levels - 1; l >= 0; l-- ) in count_pgtables() 183 if ( l == domx86->params->levels - 1 ) in count_pgtables() 201 if ( domx86->params->levels == PGTBL_LEVELS_I386 && in count_pgtables() 205 map->lvls[l].to = domx86->params->vaddr_mask; in count_pgtables() 289 domx86->params = &x86_32_params; in alloc_pgtables_x86_32_pae() 389 prot = domx86->params->lvl_prot[l]; in get_pg_prot() 416 for ( l = domx86->params->levels - 1; l >= 0; l-- ) in setup_pgtables_pv() [all …]
|
/xen/xen/arch/arm/ |
A D | hvm.c | 114 d->arch.hvm.params[a.index] = a.value; in do_hvm_op() 122 a.value = d->arch.hvm.params[a.index]; in do_hvm_op()
|
/xen/xen/include/asm-x86/hvm/ |
A D | nestedhvm.h | 39 return is_hvm_domain(d) && d->arch.hvm.params && in nestedhvm_enabled() 40 d->arch.hvm.params[HVM_PARAM_NESTEDHVM]; in nestedhvm_enabled()
|
A D | domain.h | 148 uint64_t *params; member
|
/xen/xen/arch/x86/cpu/ |
A D | vpmu.c | 615 static int pvpmu_init(struct domain *d, xen_pmu_params_t *params) in pvpmu_init() argument 620 uint64_t gfn = params->val; in pvpmu_init() 622 if ( (params->vcpu >= d->max_vcpus) || (d->vcpu[params->vcpu] == NULL) ) in pvpmu_init() 625 v = d->vcpu[params->vcpu]; in pvpmu_init() 666 static void pvpmu_finish(struct domain *d, xen_pmu_params_t *params) in pvpmu_finish() argument 670 if ( (params->vcpu >= d->max_vcpus) || (d->vcpu[params->vcpu] == NULL) ) in pvpmu_finish() 673 v = d->vcpu[params->vcpu]; in pvpmu_finish()
|
/xen/xen/common/sched/ |
A D | credit.c | 1246 struct xen_sysctl_credit_schedule *params = &sc->u.sched_credit; in csched_sys_cntl() local 1253 if ( params->tslice_ms > XEN_SYSCTL_CSCHED_TSLICE_MAX in csched_sys_cntl() 1254 || params->tslice_ms < XEN_SYSCTL_CSCHED_TSLICE_MIN in csched_sys_cntl() 1255 || (params->ratelimit_us in csched_sys_cntl() 1258 || MICROSECS(params->ratelimit_us) > MILLISECS(params->tslice_ms) in csched_sys_cntl() 1263 __csched_set_tslice(prv, params->tslice_ms); in csched_sys_cntl() 1264 if ( !prv->ratelimit && params->ratelimit_us ) in csched_sys_cntl() 1266 else if ( prv->ratelimit && !params->ratelimit_us ) in csched_sys_cntl() 1268 prv->ratelimit = MICROSECS(params->ratelimit_us); in csched_sys_cntl() 1274 params->tslice_ms = prv->tslice / MILLISECS(1); in csched_sys_cntl() [all …]
|
/xen/xen/common/ |
A D | kernel.c | 428 static HYPFS_DIR_INIT(params, "params"); 434 hypfs_add_dir(&hypfs_root, ¶ms, true); in param_init() 442 hypfs_add_leaf(¶ms, ¶m->hypfs, true); in param_init() 507 xen_platform_parameters_t params = { in DO() local 511 if ( copy_to_guest(arg, ¶ms, 1) ) in DO()
|
/xen/xen/tools/kconfig/lxdialog/ |
A D | dialog.h | 37 #define TR(params) _tracef params argument
|
/xen/tools/python/scripts/ |
A D | convert-legacy-stream | 159 def write_libxc_hvm_params(params): argument 162 elif len(params) % 2: 166 pack(libxc.HVM_PARAMS_FORMAT, len(params) / 2, 0), 167 pack("Q" * len(params), *params))
|
/xen/xen/include/asm-arm/tee/ |
A D | optee_msg.h | 189 struct optee_msg_param params[]; member
|
/xen/docs/misc/ |
A D | hypfs-paths.pandoc | 120 params/ directory with hypervisor parameter values 178 #### /params/ 182 #### /params/*
|