Home
last modified time | relevance | path

Searched refs:orig_name (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/of/
H A Dkobj.c40 static const char *safe_name(const struct kobject *kobj, const char *orig_name) in safe_name() argument
42 const char *name = orig_name; in safe_name()
49 if (name != orig_name) in safe_name()
51 name = kasprintf(GFP_KERNEL, "%s#%i", orig_name, ++i); in safe_name()
54 if (name == orig_name) { in safe_name()
55 name = kstrdup(orig_name, GFP_KERNEL); in safe_name()
/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-sysfs.c471 !info->orig_name || !info->target_name) in coresight_add_sysfs_link()
480 info->orig_name); in coresight_add_sysfs_link()
494 info->orig_name); in coresight_add_sysfs_link()
509 !info->orig_name || !info->target_name) in coresight_remove_sysfs_link()
514 info->orig_name); in coresight_remove_sysfs_link()
569 link->orig_name = outs; in coresight_make_links()
597 devm_kfree(&orig->dev, conn->link->orig_name); in coresight_remove_links()
H A Dcoresight-cti-core.c488 link_info.orig_name = tc->con_dev_name; in cti_add_sysfs_link()
496 link_info.orig_name, link_info.target_name); in cti_add_sysfs_link()
506 link_info.orig_name = tc->con_dev_name; in cti_remove_sysfs_link()
/linux-6.15/scripts/gendwarfksyms/
H A Ddwarf.c321 state->kabi.orig_name = NULL; in __process_list_type()
328 if (stable && state->kabi.orig_name) in __process_list_type()
329 name = state->kabi.orig_name; in __process_list_type()
509 res = get_kabi_status(die, &state->kabi.orig_name); in check_struct_member_kabi_status()
544 res = get_kabi_status(die, &state->kabi.orig_name); in check_union_member_kabi_status()
563 const char **orig_name) in get_union_kabi_status() argument
634 if (orig_name) in get_union_kabi_status()
635 *orig_name = state.kabi.orig_name; in get_union_kabi_status()
726 &state->kabi.orig_name)); in DEFINE_PROCESS_STRUCTURE_TYPE()
H A Dgendwarfksyms.h251 const char *orig_name; member
/linux-6.15/security/apparmor/
H A Dmount.c520 const struct path *path, const char *orig_name) in aa_move_mount_old() argument
525 if (!orig_name || !*orig_name) in aa_move_mount_old()
527 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount_old()
/linux-6.15/tools/lib/bpf/
H A Dbtf_dump.c651 const char *orig_name);
1639 const char *orig_name) in btf_dump_name_dups() argument
1645 new_name = strdup(orig_name); in btf_dump_name_dups()
1649 (void)hashmap__find(name_map, orig_name, &dup_cnt); in btf_dump_name_dups()
1666 const char *orig_name = btf_name_of(d, t->name_off); in btf_dump_resolve_name() local
1674 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
1678 return orig_name; in btf_dump_resolve_name()
1681 dup_cnt = btf_dump_name_dups(d, name_map, orig_name); in btf_dump_resolve_name()
1686 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt); in btf_dump_resolve_name()
1691 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
/linux-6.15/tools/perf/util/
H A Ddata-convert-bt.c946 static char *change_name(char *name, char *orig_name, int dup)
952 name = orig_name;
964 len = strlen(orig_name) + sizeof("_dupl_X");
973 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup);
976 if (name != orig_name)
/linux-6.15/mm/
H A Dmadvise.c113 struct anon_vma_name *orig_name = anon_vma_name(vma); in replace_anon_vma_name() local
117 anon_vma_name_put(orig_name); in replace_anon_vma_name()
121 if (anon_vma_name_eq(orig_name, anon_name)) in replace_anon_vma_name()
125 anon_vma_name_put(orig_name); in replace_anon_vma_name()
/linux-6.15/fs/afs/
H A Dyfsclient.c1038 const struct qstr *orig_name = &op->dentry->d_name; in yfs_fs_rename() local
1049 xdr_strlen(orig_name->len) + in yfs_fs_rename()
1063 bp = xdr_encode_name(bp, orig_name); in yfs_fs_rename()
1069 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in yfs_fs_rename()
H A Dfsclient.c975 const struct qstr *orig_name = &op->dentry->d_name; in afs_fs_rename() local
983 o_namesz = orig_name->len; in afs_fs_rename()
1005 memcpy(bp, orig_name->name, o_namesz); in afs_fs_rename()
1024 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in afs_fs_rename()
/linux-6.15/include/linux/
H A Dcoresight.h222 const char *orig_name; member
/linux-6.15/tools/perf/scripts/python/
H A Dparallel-perf.py274 orig_name = name