/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 323 const char *mname; in bpf_struct_ops_desc_init() local 377 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_desc_init() 378 if (!*mname) { in bpf_struct_ops_desc_init() 387 mname, st_ops->name); in bpf_struct_ops_desc_init() 399 func_proto, mname, in bpf_struct_ops_desc_init() 402 mname, st_ops->name); in bpf_struct_ops_desc_init() 407 err = prepare_arg_info(btf, st_ops->name, mname, in bpf_struct_ops_desc_init() 590 static void bpf_struct_ops_ksym_init(const char *tname, const char *mname, in bpf_struct_ops_ksym_init() argument 594 snprintf(ksym->name, KSYM_NAME_LEN, "bpf__%s_%s", tname, mname); in bpf_struct_ops_ksym_init() 650 const char *tname, *mname; in bpf_struct_ops_map_update_elem() local [all …]
|
H A D | btf.c | 6801 const char *tname, *mname, *tag_value; in btf_struct_walk() local 6909 mname = __btf_name_by_offset(btf, member->name_off); in btf_struct_walk() 6915 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk() 7004 mname, moff, tname, off, size); in btf_struct_walk() 7028 *field_name = mname; in btf_struct_walk() 7042 mname, mtrue_end, tname, off, size); in btf_struct_walk()
|
H A D | verifier.c | 21979 const char *mname; in check_struct_ops_btf_id() local 22019 mname = btf_name_by_offset(btf, member->name_off); in check_struct_ops_btf_id() 22024 mname, member_idx, st_ops->name); in check_struct_ops_btf_id() 22031 mname, st_ops->name); in check_struct_ops_btf_id() 22040 mname, st_ops->name); in check_struct_ops_btf_id() 22057 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 97 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()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 273 const char *mname = btf__name_by_offset(btf, m->name_off); in find_field_offset_aux() local 275 if (strcmp(mname, "") == 0) { in find_field_offset_aux() 282 if (strcmp(mname, field_name)) in find_field_offset_aux()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 78 const char *mname; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 372 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()
|
/linux/drivers/cdrom/ |
H A D | gdrom.c | 112 char mname[16]; member 666 manuf_name = kstrndup(id->mname, 16, GFP_KERNEL); in gdrom_outputversion()
|
/linux/fs/ocfs2/dlm/ |
H A D | dlmmaster.c | 62 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 D | dlmcommon.h | 58 unsigned char mname[DLM_LOCKID_NAME_MAX]; member
|
H A D | dlmdebug.c | 225 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
|
/linux/tools/lib/bpf/ |
H A D | btf_dump.c | 2111 const char *mname; in btf_dump_struct_data() local 2116 mname = btf_name_of(d, m->name_off); in btf_dump_struct_data() 2120 err = btf_dump_dump_type_data(d, mname, mtype, m->type, data + moffset / 8, in btf_dump_struct_data()
|
H A D | libbpf.c | 1177 const char *mname; in bpf_map__init_kern_struct_ops() local 1179 mname = btf__name_by_offset(btf, member->name_off); in bpf_map__init_kern_struct_ops() 1185 map->name, mname); in bpf_map__init_kern_struct_ops() 1189 kern_member = find_member_by_name(kern_btf, kern_type, mname); in bpf_map__init_kern_struct_ops() 1193 map->name, mname); in bpf_map__init_kern_struct_ops() 1211 map->name, mname); in bpf_map__init_kern_struct_ops() 1219 map->name, mname); in bpf_map__init_kern_struct_ops() 1232 map->name, mname, BTF_INFO_KIND(mtype->info), in bpf_map__init_kern_struct_ops() 1253 map->name, mname); in bpf_map__init_kern_struct_ops() 1267 map->name, mname); in bpf_map__init_kern_struct_ops() [all …]
|