Home
last modified time | relevance | path

Searched refs:mname (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dcpu-plug-test.c81 static void add_pc_test_case(const char *mname) in add_pc_test_case() argument
86 if (!g_str_has_prefix(mname, "pc-")) { in add_pc_test_case()
90 data->machine = g_strdup(mname); in add_pc_test_case()
100 mname, data->sockets, data->cores, in add_pc_test_case()
107 static void add_pseries_test_case(const char *mname) in add_pseries_test_case() argument
112 if (!g_str_has_prefix(mname, "pseries-") || in add_pseries_test_case()
113 (g_str_has_prefix(mname, "pseries-2.") && atoi(&mname[10]) < 7)) { in add_pseries_test_case()
117 data->machine = g_strdup(mname); in add_pseries_test_case()
126 mname, data->sockets, data->cores, in add_pseries_test_case()
133 static void add_s390x_test_case(const char *mname) in add_s390x_test_case() argument
[all …]
H A Dtest-hmp.c141 static void add_machine_test_case(const char *mname) in add_machine_test_case() argument
145 path = g_strdup_printf("hmp/%s", mname); in add_machine_test_case()
146 qtest_add_data_func(path, g_strdup(mname), test_machine); in add_machine_test_case()
H A Dqom-test.c101 static void add_machine_test_case(const char *mname) in add_machine_test_case() argument
105 path = g_strdup_printf("qom/%s", mname); in add_machine_test_case()
106 qtest_add_data_func(path, g_strdup(mname), test_machine); in add_machine_test_case()
H A Ddevice-introspect-test.c306 static void add_machine_test_case(const char *mname) in add_machine_test_case() argument
310 path = g_strdup_printf("device/introspect/concrete/defaults/%s", mname); in add_machine_test_case()
311 args = g_strdup_printf("-M %s", mname); in add_machine_test_case()
315 path = g_strdup_printf("device/introspect/concrete/nodefaults/%s", mname); in add_machine_test_case()
316 args = g_strdup_printf("-nodefaults -M %s", mname); in add_machine_test_case()
H A Dmigration-helpers.c415 const char *mname = g_getenv("QTEST_QEMU_MACHINE_TYPE"); in resolve_machine_version() local
418 if (mname) { in resolve_machine_version()
419 const char *dash = strrchr(mname, '-'); in resolve_machine_version()
420 const char *dot = strrchr(mname, '.'); in resolve_machine_version()
422 machine_name = g_strdup(mname); in resolve_machine_version()
H A Dlibqtest.c1427 static bool qtest_check_machine_version(const char *mname, const char *basename, in qtest_check_machine_version() argument
1434 is_equal = g_str_equal(mname, newname); in qtest_check_machine_version()
1440 static bool qtest_is_old_versioned_machine(const char *mname) in qtest_is_old_versioned_machine() argument
1442 const char *dash = strrchr(mname, '-'); in qtest_is_old_versioned_machine()
1443 const char *dot = strrchr(mname, '.'); in qtest_is_old_versioned_machine()
1461 bname = g_strdup(mname); in qtest_is_old_versioned_machine()
1462 bname[dash - mname] = 0; in qtest_is_old_versioned_machine()
1463 res = !qtest_check_machine_version(mname, bname, major + 1, 0) && in qtest_is_old_versioned_machine()
1464 !qtest_check_machine_version(mname, bname, major, minor + 1) && in qtest_is_old_versioned_machine()
1465 !qtest_check_machine_version(mname, bname, major, minor); in qtest_is_old_versioned_machine()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.c97 if (domain->mname && ++j == args->v0.index) in nvkm_control_mthd_pstate_attr()
124 snprintf(args->v0.name, sizeof(args->v0.name), "%s", domain->mname); in nvkm_control_mthd_pstate_attr()
131 if (domain->mname) { in nvkm_control_mthd_pstate_attr()
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dpluginbase.py56 mname = fname[:-3]
59 spec = importlib.util.spec_from_file_location(mname, mpath)
/openbmc/linux/kernel/bpf/
H A Dbpf_struct_ops.c120 const char *mname; in bpf_struct_ops_init() local
171 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
172 if (!*mname) { in bpf_struct_ops_init()
180 mname, st_ops->name); in bpf_struct_ops_init()
189 func_proto, mname, in bpf_struct_ops_init()
192 mname, st_ops->name); in bpf_struct_ops_init()
H A Dbtf.c6140 const char *tname, *mname, *tag_value; in btf_struct_walk() local
6248 mname = __btf_name_by_offset(btf, member->name_off); in btf_struct_walk()
6254 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk()
6343 mname, moff, tname, off, size); in btf_struct_walk()
6367 *field_name = mname; in btf_struct_walk()
6381 mname, mtrue_end, tname, off, size); in btf_struct_walk()
H A Dverifier.c19744 const char *mname; in check_struct_ops_btf_id() local
19768 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
19773 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()
19782 mname, st_ops->name); in check_struct_ops_btf_id()
19788 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dclk.h78 const char *mname; member
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c270 const char *mname = btf__name_by_offset(btf, m->name_off); in find_field_offset_aux() local
272 if (strcmp(mname, "") == 0) { in find_field_offset_aux()
279 if (strcmp(mname, field_name)) in find_field_offset_aux()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c372 if (clock->mname && ++i < ARRAY_SIZE(info)) { in nvkm_pstate_info()
377 clock->mname, lo); in nvkm_pstate_info()
380 "%s %d-%d MHz", clock->mname, lo, hi); in nvkm_pstate_info()
/openbmc/linux/drivers/cdrom/
H A Dgdrom.c112 char mname[16]; member
666 manuf_name = kstrndup(id->mname, 16, GFP_KERNEL); in gdrom_outputversion()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmmaster.c62 memcmp(name, mle->mname, namelen) != 0) in dlm_mle_equal()
278 memcpy(mle->mname, res->lockname.name, res->lockname.len); in dlm_init_mle()
284 memcpy(mle->mname, name, namelen); in dlm_init_mle()
414 mlog(0, "Releasing mle for %.*s, type %d\n", mle->mnamelen, mle->mname, in dlm_mle_release()
1319 memcpy(request.name, mle->mname, request.namelen); in dlm_do_master_request()
3261 res = __dlm_lookup_lockres(dlm, mle->mname, mle->mnamelen, in dlm_reset_mleres_owner()
H A Ddlmcommon.h58 unsigned char mname[DLM_LOCKID_NAME_MAX]; member
H A Ddlmdebug.c278 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
/openbmc/linux/tools/lib/bpf/
H A Dbtf_dump.c2105 const char *mname; in btf_dump_struct_data() local
2110 mname = btf_name_of(d, m->name_off); in btf_dump_struct_data()
2114 err = btf_dump_dump_type_data(d, mname, mtype, m->type, data + moffset / 8, in btf_dump_struct_data()
H A Dlibbpf.c1034 const char *mname; in bpf_map__init_kern_struct_ops() local
1036 mname = btf__name_by_offset(btf, member->name_off); in bpf_map__init_kern_struct_ops()
1037 kern_member = find_member_by_name(kern_btf, kern_type, mname); in bpf_map__init_kern_struct_ops()
1040 map->name, mname); in bpf_map__init_kern_struct_ops()
1048 map->name, mname); in bpf_map__init_kern_struct_ops()
1064 map->name, mname, BTF_INFO_KIND(mtype->info), in bpf_map__init_kern_struct_ops()
1086 map->name, mname); in bpf_map__init_kern_struct_ops()
1096 map->name, mname, prog->name, moff, in bpf_map__init_kern_struct_ops()
1106 map->name, mname, (ssize_t)msize, in bpf_map__init_kern_struct_ops()
1112 map->name, mname, (unsigned int)msize, in bpf_map__init_kern_struct_ops()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch7347 + const char * mname;
7419 + const char * mname)
7438 + d->mname = strdup(mname);
7439 + if (!d->mname) {
7457 + free((char*)scan->devs[i].mname);
7670 + return !dev ? NULL : dev->mname;
7694 + if (scan->env.mname && scan->env.vname)
7725 + scan->env.mname = getenv("LIBVA_V4L2_REQUEST_MEDIA_PATH");
7727 + if (scan->env.mname && scan->env.vname) {
7729 + scan->env.mname, scan->env.vname);