Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 1233) sorted by relevance

12345678910>>...50

/openbmc/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz_configs.h18 const char *name, *args, *objects; member
35 .args = "-M q35 -nodefaults "
40 .args = "-machine q35 -device virtio-blk,drive=disk0 "
45 .args = "-machine q35 -device virtio-scsi,num_queues=8 "
51 .args = "-machine q35 -nodefaults -device virtio-gpu",
55 .args = "-machine q35 -nodefaults -device virtio-vga",
59 .args = "-machine q35 -nodefaults -device virtio-rng",
63 .args = "-machine q35 -nodefaults -device virtio-balloon",
67 .args = "-machine q35 -nodefaults -device virtio-serial",
71 .args = "-machine q35 -nodefaults -device virtio-mouse",
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dgen_robot_valid.py38 def valid_init(var_name, *args, **kwargs): argument
54 args = fa.args_to_objects(args)
56 return var_value, args, kwargs
135 def valid_type(var_name, *args, **kwargs): argument
136 var_value, args, kwargs = valid_init(var_name, *args, **kwargs)
138 var_value, *args, var_name=var_name, **kwargs
143 def valid_value(var_name, *args, **kwargs): argument
144 var_value, args, kwargs = valid_init(var_name, *args, **kwargs)
146 var_value, *args, var_name=var_name, **kwargs
151 def valid_range(var_name, *args, **kwargs): argument
[all …]
H A Dredfish_plus.py60 def rest_request(self, func, *args, **kwargs): argument
115 args = fa.args_to_objects(args)
130 if args[0] != "/redfish/v1/":
136 response = func(*args, **kwargs)
146 def get(self, *args, **kwargs): argument
148 return self.rest_request(self.get_with_mtls, *args, **kwargs)
151 super(redfish_plus, self).get, *args, **kwargs
154 def head(self, *args, **kwargs): argument
156 return self.rest_request(self.head_with_mtls, *args, **kwargs)
159 super(redfish_plus, self).head, *args, **kwargs
[all …]
H A Dfunc_args.py12 def pop_arg(pop_arg_default=None, *args, **kwargs): argument
61 args = list(args)
62 if args:
63 arg_value = args.pop(0)
67 return arg_value, args, kwargs
154 def args_to_objects(args): argument
163 type_of_dict = gp.is_dict(args)
166 return {k: source_to_object(v) for (k, v) in args.items()}
168 return collections.OrderedDict((k, v) for (k, v) in args.items())
170 return DotDict((k, v) for (k, v) in args.items())
[all …]
/openbmc/qemu/tests/qtest/
H A Dhd-geo-test.c257 char *args; in test_ide_none() local
261 args = g_strjoinv(" ", argv); in test_ide_none()
262 qts = qtest_init(args); in test_ide_none()
264 g_free(args); in test_ide_none()
272 char *args; in test_ide_mbr() local
284 args = g_strjoinv(" ", argv); in test_ide_mbr()
285 qts = qtest_init(args); in test_ide_mbr()
287 g_free(args); in test_ide_mbr()
343 char *args, *opts; in test_ide_drive_user() local
357 args = g_strjoinv(" ", argv); in test_ide_drive_user()
[all …]
/openbmc/qemu/tests/migration-stress/guestperf/
H A Dshell.py69 def get_engine(self, args): argument
70 return Engine(binary=args.binary,
71 dst_host=args.dst_host,
72 kernel=args.kernel,
73 initrd=args.initrd,
74 transport=args.transport,
75 sleep=args.sleep,
76 debug=args.debug,
77 verbose=args.verbose)
79 def get_hardware(self, args): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A D__init__.py47 def __init__(self, *args, **kwargs): argument
55 def _debug_helper(self, *args, **kwargs): argument
56 return self.bbdebug(1, *args, **kwargs)
58 def debug2(self, *args, **kwargs): argument
59 return self.bbdebug(2, *args, **kwargs)
61 def debug3(self, *args, **kwargs): argument
62 return self.bbdebug(3, *args, **kwargs)
64 def bbdebug(self, level, msg, *args, **kwargs): argument
73 mainlogger.warning("Invalid arguments in bbdebug: %s" % repr((level, msg,) + args))
75 return self.log(loglevel, msg, *args, **kwargs)
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dfwcall.c21 static void hvc_call(struct pt_regs *args) in hvc_call() argument
37 : "+m" (args->regs[0]), "+m" (args->regs[1]), in hvc_call()
38 "+m" (args->regs[2]), "+m" (args->regs[3]) in hvc_call()
39 : "m" (args->regs[4]), "m" (args->regs[5]), in hvc_call()
40 "m" (args->regs[6]), "m" (args->regs[7]) in hvc_call()
55 void smc_call(struct pt_regs *args) in smc_call() argument
70 : "+m" (args->regs[0]), "+m" (args->regs[1]), in smc_call()
71 "+m" (args->regs[2]), "+m" (args->regs[3]) in smc_call()
72 : "m" (args->regs[4]), "m" (args->regs[5]), in smc_call()
73 "m" (args->regs[6]) in smc_call()
/openbmc/qemu/tests/qtest/migration/
H A Dpostcopy-tests.c25 MigrateCommon args = { }; in test_postcopy() local
27 test_postcopy_common(&args); in test_postcopy()
32 MigrateCommon args = { in test_postcopy_suspend() local
36 test_postcopy_common(&args); in test_postcopy_suspend()
41 MigrateCommon args = { in test_postcopy_preempt() local
47 test_postcopy_common(&args); in test_postcopy_preempt()
52 MigrateCommon args = { }; in test_postcopy_recovery() local
54 test_postcopy_recovery_common(&args); in test_postcopy_recovery()
59 MigrateCommon args = { in test_postcopy_recovery_fail_handshake() local
63 test_postcopy_recovery_common(&args); in test_postcopy_recovery_fail_handshake()
[all …]
H A Dtls-tests.c140 TestMigrateTLSX509 *args) in migrate_hook_start_tls_x509_common() argument
150 if (args->clientcert) { in migrate_hook_start_tls_x509_common()
163 if (args->clientcert) { in migrate_hook_start_tls_x509_common()
172 if (args->clientcert) { in migrate_hook_start_tls_x509_common()
174 args->hostileclient ? in migrate_hook_start_tls_x509_common()
183 args->certhostname, in migrate_hook_start_tls_x509_common()
184 args->certipaddr); in migrate_hook_start_tls_x509_common()
198 if (args->certhostname) { in migrate_hook_start_tls_x509_common()
199 migrate_set_parameter_str(from, "tls-hostname", args->certhostname); in migrate_hook_start_tls_x509_common()
210 data->workdir, args->verifyclient); in migrate_hook_start_tls_x509_common()
[all …]
H A Dframework.c200 static QList *migrate_start_get_qmp_capabilities(const MigrateStart *args) in migrate_start_get_qmp_capabilities() argument
204 if (args->oob) { in migrate_start_get_qmp_capabilities()
212 MigrateStart *args) in migrate_start_set_capabilities() argument
219 if (!args->caps[i]) { in migrate_start_set_capabilities()
237 if (!args->defer_target_connect) { in migrate_start_set_capabilities()
246 if (args->caps[MIGRATION_CAPABILITY_MULTIFD]) { in migrate_start_set_capabilities()
257 MigrateStart *args) in migrate_start() argument
272 g_autoptr(QList) capabilities = migrate_start_get_qmp_capabilities(args); in migrate_start()
276 if (args->use_shmem) { in migrate_start()
285 bootpath = bootfile_create(arch, tmpfs, args->suspend_me); in migrate_start()
[all …]
H A Dmisc-tests.c27 MigrateStart args = { in test_baddest() local
32 if (migrate_start(&from, &to, "tcp:127.0.0.1:0", &args)) { in test_baddest()
43 MigrateStart args = { in test_analyze_script() local
58 if (migrate_start(&from, &to, "tcp:127.0.0.1:0", &args)) { in test_analyze_script()
99 MigrateStart args = { in test_ignore_shared() local
104 if (migrate_start(&from, &to, uri, &args)) { in test_ignore_shared()
132 static void do_test_validate_uuid(MigrateStart *args, bool should_fail) in do_test_validate_uuid() argument
137 if (migrate_start(&from, &to, uri, args)) { in do_test_validate_uuid()
166 MigrateStart args = { in test_validate_uuid() local
171 do_test_validate_uuid(&args, false); in test_validate_uuid()
[all …]
/openbmc/qemu/pc-bios/vof/
H A Dci.c7 uint32_t args[10]; member
24 if (strcmp("instantiate-rtas", (void *)(unsigned long)pargs->args[0])) { in prom_handle()
35 rtasbase = (void *)(unsigned long) pargs->args[2]; in prom_handle()
38 pargs->args[pargs->nargs] = 0; in prom_handle()
39 pargs->args[pargs->nargs + 1] = pargs->args[2]; in prom_handle()
44 void prom_entry(uint32_t args) in prom_entry() argument
46 if (prom_handle((void *)(unsigned long) args)) { in prom_entry()
47 ci_entry(args); in prom_entry()
54 struct prom_args args; in call_ci() local
57 args.service = ADDR(service); in call_ci()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dsend-error-report67 def prepare_data(args): argument
69 max_log_size = getPayloadLimit(args.server+"/ClientPost/JSON")
71 if not os.path.isfile(args.error_file):
80 if len(args.name) == 0:
81 args.name = userfile_fp.readline()
86 if len(args.email) == 0:
87 args.email = userfile_fp.readline()
91 if args.assume_yes == True and len(args.name) == 0:
95 while len(args.name) <= 0 or len(args.name) > 50:
97 args.name, args.email = ask_for_contactdetails()
[all …]
H A Doe-pkgdata-util37 def glob(args): argument
40 for globitem in args.glob:
43 if not os.path.exists(args.pkglistfile):
44 logger.error('Unable to find package list file %s' % args.pkglistfile)
48 if args.exclude:
49 skipval += "|" + args.exclude
54 with open(args.pkglistfile, 'r') as f:
84 return os.path.join(args.pkgdata_dir, "runtime-reverse", pkgn)
86 return os.path.join(args.pkgdata_dir, "runtime", pkgn)
149 def read_value(args): argument
[all …]
/openbmc/u-boot/lib/
H A Dtpm-common.c24 va_list args; in pack_byte_string() local
29 va_start(args, format); in pack_byte_string()
33 offset = va_arg(args, size_t); in pack_byte_string()
34 value = va_arg(args, int); in pack_byte_string()
38 offset = va_arg(args, size_t); in pack_byte_string()
39 value = va_arg(args, int); in pack_byte_string()
43 offset = va_arg(args, size_t); in pack_byte_string()
44 value = va_arg(args, u32); in pack_byte_string()
48 offset = va_arg(args, size_t); in pack_byte_string()
49 data = va_arg(args, u8 *); in pack_byte_string()
[all …]
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-hashclient28 def __init__(self, *args, **kwargs): argument
34 def __exit__(self, *args, **kwargs): argument
57 def handle_get(args, client): argument
58 result = client.get_taskhash(args.method, args.taskhash, all_properties=True)
65 def handle_get_outhash(args, client): argument
66 result = client.get_outhash(args.method, args.outhash, args.taskhash)
73 def handle_stats(args, client): argument
74 if args.reset:
81 def handle_stress(args, client): argument
88 with hashserv.create_client(args.address) as client:
[all …]
H A Dbitbake-getvar31 args = parser.parse_args() variable
33 if not args.value:
34 if args.unexpand:
37 if args.flag:
40 quiet = args.quiet or args.value
42 if args.recipe:
45 d = tinfoil.parse_recipe(args.recipe)
55 if args.flag:
56 value = d.getVarFlag(args.variable, args.flag, expand=not args.unexpand)
57 if value is None and not args.ignore_undefined:
[all …]
/openbmc/openbmc-tools/openbmctool/
H A Dopenbmctool.py52 def openHTTPSocket(self,args): argument
64 token = gettoken(args)
65 self.conn = http.client.HTTPSConnection(args.host,port=443)
67 uri = "/redfish/v1/Systems/system/LogServices/Dump/attachment/"+args.dumpNum
113 def getsize(host,args,session): argument
114 url = "https://"+host+"/redfish/v1/Systems/system/LogServices/Dump/Entries/"+str(args.dumpNum)
123 return connectionErrHandler(args.json, "Timeout", None)
126 return connectionErrHandler(args.json, "ConnectionError", err)
128 def gettoken(args): argument
130 …resp = mysess.post('https://'+args.host+'/login', headers=jsonHeader,json={"data":[args.user,args.…
[all …]
/openbmc/qemu/tcg/
H A Doptimize.c389 op->args[0] = dst; in tcg_opt_gen_mov()
390 op->args[1] = src; in tcg_opt_gen_mov()
835 op2->args[0] = tmp; in do_constant_folding_cond1()
836 op2->args[1] = *p1; in do_constant_folding_cond1()
837 op2->args[2] = *p2; in do_constant_folding_cond1()
847 static int do_constant_folding_cond2(OptContext *ctx, TCGOp *op, TCGArg *args) in do_constant_folding_cond2() argument
854 swap = swap_commutative2(args, args + 2); in do_constant_folding_cond2()
855 c = args[4]; in do_constant_folding_cond2()
857 args[4] = c = tcg_swap_cond(c); in do_constant_folding_cond2()
860 al = args[0]; in do_constant_folding_cond2()
[all …]
/openbmc/u-boot/scripts/
H A Dkernel-doc575 my %args = %{$_[0]};
579 …print ".TH \"$args{'function'}\" 9 \"$args{'function'}\" \"$man_date\" \"Kernel Hacker's Manual\" …
582 print $args{'function'} . " \\- " . $args{'purpose'} . "\n";
585 if ($args{'functiontype'} ne "") {
586 print ".B \"" . $args{'functiontype'} . "\" " . $args{'function'} . "\n";
588 print ".B \"" . $args{'function'} . "\n";
593 foreach my $parameter (@{$args{'parameterlist'}}) {
594 if ($count == $#{$args{'parameterlist'}}) {
597 $type = $args{'parametertypes'}{$parameter};
610 foreach $parameter (@{$args{'parameterlist'}}) {
[all …]
/openbmc/qemu/python/qemu/utils/
H A Dqemu_ga_client.py189 def _cmd_cat(client: QemuGuestAgentClient, args: Sequence[str]) -> None:
190 if len(args) != 1:
194 print(client.read(args[0]))
197 def _cmd_fsfreeze(client: QemuGuestAgentClient, args: Sequence[str]) -> None:
199 if len(args) != 1:
203 if args[0] not in ['status', 'freeze', 'thaw']:
204 print('Invalid command: ' + args[0])
207 cmd = args[0]
218 def _cmd_fstrim(client: QemuGuestAgentClient, args: Sequence[str]) -> None:
219 if len(args) == 0:
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Ddeploy.py136 def deploy(args, config, basepath, workspace): argument
140 check_workspace_recipe(workspace, args.recipename, checksrc=False)
145 rd = tinfoil.parse_recipe(args.recipename)
148 (args.recipename, e))
162 …srcdir, workdir, path, strip_cmd, libdir, base_libdir, max_process, fakerootcmd, fakerootenv, args)
164 …rcdir, workdir, path, strip_cmd, libdir, base_libdir, max_process, fakerootcmd, fakerootenv, args): argument
169 host, destdir = args.target.split(':')
173 args.target = host
181 'any files.' % args.recipename)
183 if args.strip and not args.dry_run:
[all …]
/openbmc/qemu/scripts/
H A Dkernel-doc665 my %args = %{$_[0]};
669 …print ".TH \"$args{'function'}\" 9 \"$args{'function'}\" \"$man_date\" \"Kernel Hacker's Manual\" …
672 print $args{'function'} . " \\- " . $args{'purpose'} . "\n";
675 if ($args{'functiontype'} ne "") {
676 print ".B \"" . $args{'functiontype'} . "\" " . $args{'function'} . "\n";
678 print ".B \"" . $args{'function'} . "\n";
683 foreach my $parameter (@{$args{'parameterlist'}}) {
684 if ($count == $#{$args{'parameterlist'}}) {
687 $type = $args{'parametertypes'}{$parameter};
700 foreach $parameter (@{$args{'parameterlist'}}) {
[all …]
/openbmc/u-boot/drivers/phy/
H A Dphy-uclass.c17 struct ofnode_phandle_args *args) in generic_phy_xlate_offs_flags() argument
21 if (args->args_count > 1) { in generic_phy_xlate_offs_flags()
22 debug("Invaild args_count: %d\n", args->args_count); in generic_phy_xlate_offs_flags()
26 if (args->args_count) in generic_phy_xlate_offs_flags()
27 phy->id = args->args[0]; in generic_phy_xlate_offs_flags()
37 struct ofnode_phandle_args args; in generic_phy_get_by_index() local
47 &args); in generic_phy_get_by_index()
54 ret = uclass_get_device_by_ofnode(UCLASS_PHY, args.node, &phydev); in generic_phy_get_by_index()
61 ofnode_get_parent(args.node), in generic_phy_get_by_index()
67 for (i = args.args_count; i >= 1 ; i--) in generic_phy_get_by_index()
[all …]

12345678910>>...50