Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-sysfs.c74 !info->orig_name || !info->target_name) in coresight_add_sysfs_link()
83 info->orig_name); in coresight_add_sysfs_link()
97 info->orig_name); in coresight_add_sysfs_link()
112 !info->orig_name || !info->target_name) in coresight_remove_sysfs_link()
117 info->orig_name); in coresight_remove_sysfs_link()
168 link->orig_name = outs; in coresight_make_links()
202 devm_kfree(&orig->dev, conn->link->orig_name); in coresight_remove_links()
Dcoresight-cti-core.c481 link_info.orig_name = tc->con_dev_name; in cti_add_sysfs_link()
489 link_info.orig_name, link_info.target_name); in cti_add_sysfs_link()
499 link_info.orig_name = tc->con_dev_name; in cti_remove_sysfs_link()
/linux-6.1.9/drivers/of/
Dkobj.c40 static const char *safe_name(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.1.9/security/apparmor/
Dmount.c485 const char *orig_name) in aa_move_mount() argument
495 if (!orig_name || !*orig_name) in aa_move_mount()
498 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount()
/linux-6.1.9/tools/lib/bpf/
Dbtf_dump.c649 const char *orig_name);
1532 const char *orig_name) in btf_dump_name_dups() argument
1538 new_name = strdup(orig_name); in btf_dump_name_dups()
1542 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
1560 const char *orig_name = btf_name_of(d, t->name_off); in btf_dump_resolve_name() local
1568 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
1572 return orig_name; in btf_dump_resolve_name()
1575 dup_cnt = btf_dump_name_dups(d, name_map, orig_name); in btf_dump_resolve_name()
1580 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt); in btf_dump_resolve_name()
1585 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
/linux-6.1.9/mm/
Dmadvise.c108 struct anon_vma_name *orig_name = anon_vma_name(vma); in replace_anon_vma_name() local
112 anon_vma_name_put(orig_name); in replace_anon_vma_name()
116 if (anon_vma_name_eq(orig_name, anon_name)) in replace_anon_vma_name()
120 anon_vma_name_put(orig_name); in replace_anon_vma_name()
/linux-6.1.9/tools/perf/util/
Ddata-convert-bt.c941 static char *change_name(char *name, char *orig_name, int dup)
947 name = orig_name;
959 len = strlen(orig_name) + sizeof("_dupl_X");
968 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup);
971 if (name != orig_name)
/linux-6.1.9/fs/afs/
Dyfsclient.c1020 const struct qstr *orig_name = &op->dentry->d_name; in yfs_fs_rename() local
1031 xdr_strlen(orig_name->len) + in yfs_fs_rename()
1045 bp = xdr_encode_name(bp, orig_name); in yfs_fs_rename()
1050 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in yfs_fs_rename()
Dfsclient.c958 const struct qstr *orig_name = &op->dentry->d_name; in afs_fs_rename() local
966 o_namesz = orig_name->len; in afs_fs_rename()
988 memcpy(bp, orig_name->name, o_namesz); in afs_fs_rename()
1006 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in afs_fs_rename()
/linux-6.1.9/include/linux/
Dcoresight.h190 const char *orig_name; member