Home
last modified time | relevance | path

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

/Linux-v5.10/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.c485 link_info.orig_name = tc->con_dev_name; in cti_add_sysfs_link()
493 link_info.orig_name, link_info.target_name); in cti_add_sysfs_link()
503 link_info.orig_name = tc->con_dev_name; in cti_remove_sysfs_link()
/Linux-v5.10/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-v5.10/tools/lib/bpf/
Dbtf_dump.c599 const char *orig_name);
1393 const char *orig_name) in btf_dump_name_dups() argument
1397 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
1399 hashmap__set(name_map, orig_name, (void *)dup_cnt, NULL, NULL); in btf_dump_name_dups()
1409 const char *orig_name = btf_name_of(d, t->name_off); in btf_dump_resolve_name() local
1417 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
1419 dup_cnt = btf_dump_name_dups(d, name_map, orig_name); in btf_dump_resolve_name()
1424 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt); in btf_dump_resolve_name()
1429 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
/Linux-v5.10/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-v5.10/tools/perf/util/
Ddata-convert-bt.c939 static char *change_name(char *name, char *orig_name, int dup)
945 name = orig_name;
957 len = strlen(orig_name) + sizeof("_dupl_X");
966 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup);
969 if (name != orig_name)
/Linux-v5.10/include/linux/
Dcoresight.h165 const char *orig_name; member
/Linux-v5.10/fs/afs/
Dyfsclient.c1054 const struct qstr *orig_name = &op->dentry->d_name; in yfs_fs_rename() local
1065 xdr_strlen(orig_name->len) + in yfs_fs_rename()
1079 bp = xdr_encode_name(bp, orig_name); in yfs_fs_rename()
1084 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in yfs_fs_rename()
Dfsclient.c985 const struct qstr *orig_name = &op->dentry->d_name; in afs_fs_rename() local
993 o_namesz = orig_name->len; in afs_fs_rename()
1015 memcpy(bp, orig_name->name, o_namesz); in afs_fs_rename()
1033 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in afs_fs_rename()