Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 62) sorted by relevance

123

/xen/xen/arch/x86/x86_64/
A Dmmconfig_64.c35 cfg = pci_mmcfg_virt[cfg_num].cfg; in get_virt()
123 size = (cfg->end_bus_number - cfg->start_bus_number + 1) << 20; in mcfg_ioremap()
138 const typeof(pci_mmcfg_config[0]) *cfg = pci_mmcfg_virt[idx].cfg; in pci_mmcfg_arch_enable()
150 cfg->pci_segment, cfg->start_bus_number, cfg->end_bus_number); in pci_mmcfg_arch_enable()
153 end_mfn = PFN_DOWN(cfg->address) + PCI_BDF(cfg->end_bus_number, ~0, ~0); in pci_mmcfg_arch_enable()
157 cfg->pci_segment, cfg->start_bus_number, cfg->end_bus_number, in pci_mmcfg_arch_enable()
165 const typeof(pci_mmcfg_config[0]) *cfg = pci_mmcfg_virt[idx].cfg; in pci_mmcfg_arch_disable()
175 cfg->pci_segment, cfg->start_bus_number, cfg->end_bus_number); in pci_mmcfg_arch_disable()
184 const struct acpi_mcfg_allocation *cfg = pci_mmcfg_virt[idx].cfg; in pci_mmcfg_decode() local
187 mfn >= PFN_DOWN(cfg->address) + PCI_BDF(cfg->start_bus_number, in pci_mmcfg_decode()
[all …]
A Dmmconfig-shared.c335 typeof(pci_mmcfg_config[0]) *cfg) in is_mmconf_reserved()
352 cfg->end_bus_number = cfg->start_bus_number + ((size>>20) - 1); in is_mmconf_reserved()
355 i, (unsigned long)cfg->address, cfg->pci_segment, in is_mmconf_reserved()
366 typeof(pci_mmcfg_config[0]) *cfg; in pci_mmcfg_reject_broken()
378 cfg = &pci_mmcfg_config[i]; in pci_mmcfg_reject_broken()
379 addr = cfg->start_bus_number; in pci_mmcfg_reject_broken()
381 addr += cfg->address; in pci_mmcfg_reject_broken()
382 size = cfg->end_bus_number + 1 - cfg->start_bus_number; in pci_mmcfg_reject_broken()
386 i, (unsigned long)cfg->address, cfg->pci_segment, in pci_mmcfg_reject_broken()
448 if (cfg->pci_segment == segment && in pci_mmcfg_reserved()
[all …]
A Dacpi_mmcfg.c50 struct acpi_mcfg_allocation *cfg) in acpi_mcfg_check_entry() argument
54 if (cfg->address < 0xFFFFFFFF) in acpi_mcfg_check_entry()
67 cfg->pci_segment, cfg->start_bus_number, cfg->end_bus_number, in acpi_mcfg_check_entry()
68 cfg->address); in acpi_mcfg_check_entry()
/xen/tools/libxl/
A Dlibxlu_cfg.c29 XLU_Config *cfg; in xlu_cfg_init() local
31 cfg= malloc(sizeof(*cfg)); in xlu_cfg_init()
32 if (!cfg) return 0; in xlu_cfg_init()
34 cfg->report= report; in xlu_cfg_init()
36 if (!cfg->config_source) { free(cfg); return 0; } in xlu_cfg_init()
38 cfg->settings= 0; in xlu_cfg_init()
39 return cfg; in xlu_cfg_init()
45 ctx->cfg= cfg; in ctx_prep()
162 if (!cfg) return; in xlu_cfg_destroy()
170 free(cfg); in xlu_cfg_destroy()
[all …]
A Dlibxlu_vif.c7 static void xlu__vif_err(XLU_Config *cfg, const char *msg, const char *rate) { in xlu__vif_err() argument
8 fprintf(cfg->report, in xlu__vif_err()
10 cfg->config_source, msg, rate); in xlu__vif_err()
13 static int vif_parse_rate_bytes_per_sec(XLU_Config *cfg, const char *bytes, in vif_parse_rate_bytes_per_sec() argument
23 xlu__vif_err(cfg, "invalid rate", bytes); in vif_parse_rate_bytes_per_sec()
31 xlu__vif_err(cfg, "rate overflow", bytes); in vif_parse_rate_bytes_per_sec()
62 xlu__vif_err(cfg, "invalid replenishment interval", interval); in vif_parse_rate_interval_usecs()
112 xlu__vif_err(cfg, "no rate specified", rate); in xlu_vif_parse_rate()
117 rc = vif_parse_rate_bytes_per_sec(cfg, tmprate, &bytes_per_sec); in xlu_vif_parse_rate()
121 rc = vif_parse_rate_interval_usecs(cfg, p, &interval_usecs); in xlu_vif_parse_rate()
[all …]
A Dlibxlutil.h62 int xlu_cfg_replace_string(const XLU_Config *cfg, const char *n,
76 int xlu_cfg_get_list_as_string_list(const XLU_Config *cfg, const char *n,
83 int xlu_cfg_value_get_string(const XLU_Config *cfg, XLU_ConfigValue *value,
85 int xlu_cfg_value_get_list(const XLU_Config *cfg, XLU_ConfigValue *value,
94 int xlu_disk_parse(XLU_Config *cfg, int nspecs, const char *const *specs,
114 int xlu_pci_parse_bdf(XLU_Config *cfg, libxl_device_pci *pcidev, const char *str);
119 int xlu_rdm_parse(XLU_Config *cfg, libxl_rdm_reserve *rdm, const char *str);
125 int xlu_vif_parse_rate(XLU_Config *cfg, const char *rate,
A Dlibxlu_disk.c9 fprintf(dpc->cfg->report, in xlu__disk_err()
13 dpc->cfg->config_source, message, in xlu__disk_err()
33 fprintf(dpc->cfg->report, "cannot init disk scanner: %s\n", in dpc_prep()
49 int xlu_disk_parse(XLU_Config *cfg, in xlu_disk_parse() argument
56 dpc.cfg = cfg; in xlu_disk_parse()
A Dlibxlu_pci.c49 int xlu_pci_parse_bdf(XLU_Config *cfg, libxl_device_pci *pcidev, const char *str) in xlu_pci_parse_bdf() argument
156 XLU__PCI_ERR(cfg, "%s is not an valid PCI RDM property" in xlu_pci_parse_bdf()
162 XLU__PCI_ERR(cfg, "Unknown PCI BDF option: %s", optkey); in xlu_pci_parse_bdf()
188 int xlu_rdm_parse(XLU_Config *cfg, libxl_rdm_reserve *rdm, const char *str) in xlu_rdm_parse() argument
206 XLU__PCI_ERR(cfg, "Unknown RDM state option: %s", tok); in xlu_rdm_parse()
219 XLU__PCI_ERR(cfg, "Unknown RDM strategy option: %s", tok); in xlu_rdm_parse()
234 XLU__PCI_ERR(cfg, "Unknown RDM property policy value: %s", in xlu_rdm_parse()
A Dlibxl_json.h78 yajl_parser_config cfg = { in libxl__yajl_alloc() local
82 return yajl_alloc(callbacks, &cfg, allocFuncs, ctx); in libxl__yajl_alloc()
/xen/xen/arch/x86/
A Dhpet.c233 u32 cfg; in hpet_msi_unmask() local
237 cfg |= HPET_TN_ENABLE; in hpet_msi_unmask()
244 u32 cfg; in hpet_msi_mask() local
553 u32 hpet_id, cfg; in hpet_broadcast_init() local
623 u32 cfg; in hpet_broadcast_resume() local
669 u32 cfg; in hpet_disable_legacy_broadcast() local
810 u32 hpet_id, cfg; in hpet_resume() local
819 *boot_cfg = cfg; in hpet_resume()
821 if ( cfg ) in hpet_resume()
825 cfg); in hpet_resume()
[all …]
A Dsmp.c52 unsigned int cfg; in send_IPI_shortcut() local
57 cfg = prepare_ICR(shortcut, vector) | dest; in send_IPI_shortcut()
59 apic_write(APIC_ICR, cfg); in send_IPI_shortcut()
171 unsigned long cfg; in send_IPI_mask_flat() local
189 cfg = prepare_ICR2(mask); in send_IPI_mask_flat()
190 apic_write(APIC_ICR2, cfg); in send_IPI_mask_flat()
195 cfg = prepare_ICR(0, vector) | APIC_DEST_LOGICAL; in send_IPI_mask_flat()
200 apic_write(APIC_ICR, cfg); in send_IPI_mask_flat()
207 unsigned long cfg, flags; in send_IPI_mask_phys() local
226 apic_write(APIC_ICR2, cfg); in send_IPI_mask_phys()
[all …]
/xen/xen/drivers/passthrough/arm/
A Dsmmu.c278 group->cfg = cfg; in iommu_group_set_iommudata()
660 #define ARM_SMMU_CB_ASID(cfg) ((cfg)->cbndx) argument
881 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in arm_smmu_tlb_inv_context() local
905 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in arm_smmu_context_fault() local
1001 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in arm_smmu_init_context_bank() local
1187 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in arm_smmu_init_domain_context() local
1245 cfg->irptndx = cfg->cbndx; in arm_smmu_init_domain_context()
1477 idx = cfg->smrs ? cfg->smrs[i].idx : cfg->streamids[i]; in arm_smmu_domain_add_master()
1503 u32 idx = cfg->smrs ? cfg->smrs[i].idx : cfg->streamids[i]; in arm_smmu_domain_remove_master()
1922 cfg = kzalloc(sizeof(*cfg), GFP_KERNEL); in arm_smmu_add_device()
[all …]
/xen/xen/tools/kconfig/
A DMakefile161 HOSTLDLIBS_nconf = $(shell . $(obj)/nconf-cfg && echo $$libs)
165 $(obj)/nconf.o $(obj)/nconf.gui.o: $(obj)/nconf-cfg
173 HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs)
177 $(addprefix $(obj)/, mconf.o $(lxdialog)): $(obj)/mconf-cfg
184 HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs)
187 $(obj)/qconf.o: $(obj)/qconf-cfg $(obj)/qconf.moc
192 $(obj)/%.moc: $(src)/%.h $(obj)/qconf-cfg
199 HOSTLDLIBS_gconf = $(shell . $(obj)/gconf-cfg && echo $$libs)
202 $(obj)/gconf.o: $(obj)/gconf-cfg
207 $(obj)/%conf-cfg: $(src)/%conf-cfg.sh FORCE
[all …]
/xen/stubdom/vtpmmgr/
A Dcalc.pl43 my(@plt, @pcrs, @kerns, $cfg);
58 $cfg = pack 'Q>', $seq;
59 $cfg .= pack 'N/(a20)', @plt;
60 $cfg .= pack 'N/(a20)', @kerns;
62 printf "cfg_hash for %s: %s\n", $dst, Digest::SHA::sha1_hex($cfg);
64 print $update rsa_sign($cfg);
65 print $update $cfg;
/xen/tools/tests/vhpet/
A Dmain.c350 cfg &= ~HPET_CFG_ENABLE; in hpet_stop_counter()
351 hpet_writel(cfg, HPET_CFG); in hpet_stop_counter()
363 cfg |= HPET_CFG_ENABLE; in hpet_start_counter()
364 hpet_writel(cfg, HPET_CFG); in hpet_start_counter()
376 unsigned long cfg, cmp, cmp2, now; in hpet_set_mode() local
381 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_set_mode()
383 cfg &= ~HPET_TN_LEVEL; in hpet_set_mode()
439 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
472 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
525 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
[all …]
/xen/automation/scripts/
A Dbuild59 for cfg in `ls ${cfg_dir}`; do
60 echo "Building $cfg"
63 make -C xen KBUILD_DEFCONFIG=../../../../${cfg_dir}/${cfg} XEN_CONFIG_EXPERT=y defconfig
/xen/xen/common/efi/
A Dboot.c333 if ( cfg.addr ) in blexit()
334 efi_bs->FreePages(cfg.addr, PFN_UP(cfg.size)); in blexit()
635 if ( file != &cfg ) in read_file()
670 char *ptr = cfg->ptr, *end = ptr + cfg->size; in pre_parse()
699 char *ptr = cfg->ptr, *end = ptr + cfg->size; in get_value()
1272 pre_parse(&cfg); in efi_start()
1287 efi_bs->FreePages(cfg.addr, PFN_UP(cfg.size)); in efi_start()
1288 cfg.addr = 0; in efi_start()
1296 pre_parse(&cfg); in efi_start()
1363 efi_bs->FreePages(cfg.addr, PFN_UP(cfg.size)); in efi_start()
[all …]
/xen/xen/arch/x86/efi/
A Defi-boot.h181 len >= cfg.size && desc->PhysicalStart + len > cfg.addr ) in efi_arch_process_memory_map()
182 cfg.addr = (desc->PhysicalStart + len - cfg.size) & PAGE_MASK; in efi_arch_process_memory_map()
225 if ( !cfg.addr ) in efi_arch_pre_exit_boot()
227 relocate_trampoline(cfg.addr); in efi_arch_pre_exit_boot()
283 name.s = get_value(&cfg, section, "ucode"); in efi_arch_cfg_file_late()
285 name.s = get_value(&cfg, "global", "ucode"); in efi_arch_cfg_file_late()
568 cfg.addr = 0x100000; in efi_arch_memory_setup()
571 cfg.size = trampoline_end - trampoline_start; in efi_arch_memory_setup()
576 PFN_UP(cfg.size), &cfg.addr); in efi_arch_memory_setup()
578 relocate_trampoline(cfg.addr); in efi_arch_memory_setup()
[all …]
/xen/tools/pygrub/src/
A Dpygrub681 def sniff_solaris(fs, cfg): argument
684 return cfg
686 if not cfg["kernel"]:
695 return cfg
704 if not cfg["args"]:
705 cfg["args"] = cfg["kernel"]
712 cfg["args"] = xenargs + " " + cfg["kernel"] + " " + userargs
714 return cfg
718 return cfg
720 if not cfg["kernel"]:
[all …]
/xen/xen/include/xen/
A Dkconfig.h20 #define config_enabled(cfg) _config_enabled(cfg) argument
/xen/xen/include/asm-arm/
A Dalternative.h83 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument
84 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg), 0)
206 #define _ALTERNATIVE_CFG(insn1, insn2, cap, cfg, ...) \ argument
207 alternative_insn insn1, insn2, cap, IS_ENABLED(cfg)
/xen/docs/misc/
A Defi.pandoc26 extension of the binary's name replaced by `.cfg`, and - until an existing
30 try `xen-4.2-unstable.cfg`, `xen-4.2.cfg`, `xen-4.cfg`, and `xen.cfg` in
31 order.) One can override this with a command line option (`-cfg=<filename>`).
113 and really not meant to be used together with the `-cfg=` command line option.
A Dvtpm-platforms.txt25 The vtpmmgr configuration file (vtpmmgr.cfg):
34 The vtpm configuration files (vtpm-guest1.cfg, vtpm-guest2.cfg):
50 The guest configuration files (guest1.cfg, guest2.cfg):
68 # xl create vtpmmgr.cfg
69 # xl create vtpm-guest1.cfg
70 # xl create guest1.cfg
/xen/tools/pygrub/examples/
A Dfedora-19.grub2112 if [ -f ${config_directory}/custom.cfg ]; then
113 source ${config_directory}/custom.cfg
114 elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
115 source $prefix/custom.cfg;
A Drhel-7-beta.grub2113 if [ -f ${config_directory}/custom.cfg ]; then
114 source ${config_directory}/custom.cfg
115 elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
116 source $prefix/custom.cfg;

Completed in 55 milliseconds

123