new_name 488 arch/mips/cavium-octeon/octeon-platform.c char new_name[20]; new_name 537 arch/mips/cavium-octeon/octeon-platform.c memset(new_name, 0, sizeof(new_name)); new_name 538 arch/mips/cavium-octeon/octeon-platform.c strcpy(new_name, "marvell,88e1145"); new_name 541 arch/mips/cavium-octeon/octeon-platform.c if (p && current_len >= strlen(new_name)) new_name 543 arch/mips/cavium-octeon/octeon-platform.c "compatible", new_name, current_len); new_name 552 arch/mips/cavium-octeon/octeon-platform.c snprintf(new_name, sizeof(new_name), "ethernet-phy@%x", phy_addr); new_name 555 arch/mips/cavium-octeon/octeon-platform.c if (p && current_len == strlen(new_name)) new_name 556 arch/mips/cavium-octeon/octeon-platform.c fdt_set_name(initial_boot_params, phy, new_name); new_name 3031 drivers/base/core.c int device_rename(struct device *dev, const char *new_name) new_name 3041 drivers/base/core.c dev_dbg(dev, "renaming to %s\n", new_name); new_name 3052 drivers/base/core.c new_name, kobject_namespace(kobj)); new_name 3057 drivers/base/core.c error = kobject_rename(kobj, new_name); new_name 410 drivers/hid/hid-logitech-hidpp.c char *new_name; new_name 418 drivers/hid/hid-logitech-hidpp.c new_name = kzalloc(new_length, GFP_KERNEL); new_name 419 drivers/hid/hid-logitech-hidpp.c if (!new_name) new_name 422 drivers/hid/hid-logitech-hidpp.c snprintf(new_name, new_length, "Logitech %s", *name); new_name 426 drivers/hid/hid-logitech-hidpp.c *name = new_name; new_name 350 drivers/md/dm-ioctl.c static char *__change_cell_name(struct hash_cell *hc, char *new_name) new_name 361 drivers/md/dm-ioctl.c hc->name = new_name; new_name 364 drivers/md/dm-ioctl.c list_add(&hc->name_list, _name_buckets + hash_str(new_name)); new_name 415 drivers/mtd/maps/pcmciamtd.c static void card_settings(struct pcmciamtd_dev *dev, struct pcmcia_device *p_dev, int *new_name) new_name 454 drivers/mtd/maps/pcmciamtd.c *new_name = 1; new_name 470 drivers/mtd/maps/pcmciamtd.c int new_name = 0; new_name 474 drivers/mtd/maps/pcmciamtd.c card_settings(dev, link, &new_name); new_name 591 drivers/mtd/maps/pcmciamtd.c if(new_name) { new_name 754 drivers/mtd/ubi/cdev.c memcpy(re->new_name, name, name_len); new_name 776 drivers/mtd/ubi/cdev.c !memcmp(re->new_name, re1->desc->vol->name, new_name 790 drivers/mtd/ubi/cdev.c desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name, new_name 800 drivers/mtd/ubi/cdev.c re->new_name, err); new_name 224 drivers/mtd/ubi/ubi.h char new_name[UBI_VOL_NAME_MAX + 1]; new_name 555 drivers/mtd/ubi/vmt.c memcpy(vol->name, re->new_name, re->new_name_len + 1); new_name 138 drivers/mtd/ubi/vtbl.c memcpy(vtbl_rec->name, re->new_name, re->new_name_len); new_name 144 drivers/pci/slot.c char *new_name; new_name 147 drivers/pci/slot.c new_name = kstrdup(name, GFP_KERNEL); new_name 148 drivers/pci/slot.c if (!new_name) new_name 162 drivers/pci/slot.c dup_slot = kset_find_obj(pci_slots_kset, new_name); new_name 169 drivers/pci/slot.c kfree(new_name); new_name 170 drivers/pci/slot.c new_name = kmalloc(len, GFP_KERNEL); new_name 171 drivers/pci/slot.c if (!new_name) new_name 174 drivers/pci/slot.c sprintf(new_name, "%s-%d", name, dup++); new_name 177 drivers/pci/slot.c return new_name; new_name 340 drivers/power/supply/power_supply_hwmon.c char *new_name; new_name 342 drivers/power/supply/power_supply_hwmon.c new_name = devm_kstrdup(dev, name, GFP_KERNEL); new_name 343 drivers/power/supply/power_supply_hwmon.c if (!new_name) { new_name 347 drivers/power/supply/power_supply_hwmon.c strreplace(new_name, '-', '_'); new_name 348 drivers/power/supply/power_supply_hwmon.c name = new_name; new_name 1227 drivers/scsi/aic7xxx/aic79xx_osm.c char *new_name; new_name 1251 drivers/scsi/aic7xxx/aic79xx_osm.c new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC); new_name 1252 drivers/scsi/aic7xxx/aic79xx_osm.c if (new_name != NULL) { new_name 1253 drivers/scsi/aic7xxx/aic79xx_osm.c strcpy(new_name, buf); new_name 1254 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_name(ahd, new_name); new_name 1090 drivers/scsi/aic7xxx/aic7xxx_osm.c char *new_name; new_name 1114 drivers/scsi/aic7xxx/aic7xxx_osm.c new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC); new_name 1115 drivers/scsi/aic7xxx/aic7xxx_osm.c if (new_name != NULL) { new_name 1116 drivers/scsi/aic7xxx/aic7xxx_osm.c strcpy(new_name, buf); new_name 1117 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_set_name(ahc, new_name); new_name 1023 fs/afs/fsclient.c const char *new_name, new_name 1035 fs/afs/fsclient.c new_dvnode, new_name, new_name 1044 fs/afs/fsclient.c n_namesz = strlen(new_name); new_name 1078 fs/afs/fsclient.c memcpy(bp, new_name, n_namesz); new_name 1086 fs/afs/fsclient.c trace_afs_make_fs_call2(call, &orig_dvnode->fid, orig_name, new_name); new_name 1186 fs/afs/yfsclient.c const char *new_name, new_name 1199 fs/afs/yfsclient.c n_namesz = strlen(new_name); new_name 1224 fs/afs/yfsclient.c bp = xdr_encode_string(bp, new_name, n_namesz); new_name 1228 fs/afs/yfsclient.c trace_afs_make_fs_call2(call, &orig_dvnode->fid, orig_name, new_name); new_name 4782 fs/btrfs/tree-log.c char *new_name; new_name 4784 fs/btrfs/tree-log.c new_name = krealloc(name, this_name_len, GFP_NOFS); new_name 4785 fs/btrfs/tree-log.c if (!new_name) { new_name 4790 fs/btrfs/tree-log.c name = new_name; new_name 74 fs/coda/coda_psdev.h const char *new_name); new_name 299 fs/coda/dir.c const char *new_name = new_dentry->d_name.name; new_name 309 fs/coda/dir.c (const char *) old_name, (const char *)new_name); new_name 235 fs/coda/upcall.c const char *new_name) new_name 260 fs/coda/upcall.c memcpy((char *)(inp) + offset, new_name, new_length); new_name 835 fs/debugfs/inode.c struct dentry *new_dir, const char *new_name) new_name 856 fs/debugfs/inode.c dentry = lookup_one_len(new_name, new_dir, strlen(new_name)); new_name 470 fs/f2fs/dir.c const struct qstr *new_name, const struct qstr *orig_name, new_name 513 fs/f2fs/dir.c if (new_name) { new_name 514 fs/f2fs/dir.c init_dent_inode(new_name, page); new_name 603 fs/f2fs/dir.c int f2fs_add_regular_entry(struct inode *dir, const struct qstr *new_name, new_name 620 fs/f2fs/dir.c slots = GET_DENTRY_SLOTS(new_name->len); new_name 621 fs/f2fs/dir.c dentry_hash = f2fs_dentry_hash(dir, new_name, NULL); new_name 670 fs/f2fs/dir.c page = f2fs_init_inode_metadata(inode, dir, new_name, new_name 679 fs/f2fs/dir.c f2fs_update_dentry(ino, mode, &d, new_name, dentry_hash, bit_pos); new_name 706 fs/f2fs/dir.c struct qstr new_name; new_name 709 fs/f2fs/dir.c new_name.name = fname_name(fname); new_name 710 fs/f2fs/dir.c new_name.len = fname_len(fname); new_name 713 fs/f2fs/dir.c err = f2fs_add_inline_entry(dir, &new_name, fname->usr_fname, new_name 716 fs/f2fs/dir.c err = f2fs_add_regular_entry(dir, &new_name, fname->usr_fname, new_name 2979 fs/f2fs/f2fs.h const struct qstr *new_name, new_name 2997 fs/f2fs/f2fs.h int f2fs_add_regular_entry(struct inode *dir, const struct qstr *new_name, new_name 3505 fs/f2fs/f2fs.h int f2fs_add_inline_entry(struct inode *dir, const struct qstr *new_name, new_name 446 fs/f2fs/inline.c struct qstr new_name; new_name 462 fs/f2fs/inline.c new_name.name = d.filename[bit_pos]; new_name 463 fs/f2fs/inline.c new_name.len = le16_to_cpu(de->name_len); new_name 468 fs/f2fs/inline.c err = f2fs_add_regular_entry(dir, &new_name, NULL, NULL, new_name 542 fs/f2fs/inline.c int f2fs_add_inline_entry(struct inode *dir, const struct qstr *new_name, new_name 552 fs/f2fs/inline.c int slots = GET_DENTRY_SLOTS(new_name->len); new_name 574 fs/f2fs/inline.c page = f2fs_init_inode_metadata(inode, dir, new_name, new_name 584 fs/f2fs/inline.c name_hash = f2fs_dentry_hash(dir, new_name, NULL); new_name 585 fs/f2fs/inline.c f2fs_update_dentry(ino, mode, &d, new_name, name_hash, bit_pos); new_name 429 fs/fat/namei_msdos.c struct inode *new_dir, unsigned char *new_name, new_name 460 fs/fat/namei_msdos.c err = fat_scan(new_dir, new_name, &sinfo); new_name 503 fs/fat/namei_msdos.c err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0, new_name 738 fs/hostfs/hostfs_kern.c char *old_name, *new_name; new_name 747 fs/hostfs/hostfs_kern.c new_name = dentry_name(new_dentry); new_name 748 fs/hostfs/hostfs_kern.c if (new_name == NULL) { new_name 753 fs/hostfs/hostfs_kern.c err = rename_file(old_name, new_name); new_name 755 fs/hostfs/hostfs_kern.c err = rename2_file(old_name, new_name, flags); new_name 758 fs/hostfs/hostfs_kern.c __putname(new_name); new_name 516 fs/hpfs/namei.c const unsigned char *new_name = new_dentry->d_name.name; new_name 532 fs/hpfs/namei.c if ((err = hpfs_chk_name(new_name, &new_len))) return err; new_name 551 fs/hpfs/namei.c de.hidden = new_name[0] == '.'; new_name 556 fs/hpfs/namei.c if ((nde = map_dirent(new_dir, hpfs_i(new_dir)->i_dno, new_name, new_len, NULL, &qbh1))) { new_name 559 fs/hpfs/namei.c memcpy(nde->name, new_name, new_len); new_name 574 fs/hpfs/namei.c if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de))) { new_name 603 fs/hpfs/namei.c memcpy(fnode->name, new_name, new_len>15?15:new_len); new_name 1530 fs/kernfs/dir.c const char *new_name, const void *new_ns) new_name 1549 fs/kernfs/dir.c (strcmp(kn->name, new_name) == 0)) new_name 1553 fs/kernfs/dir.c if (kernfs_find_ns(new_parent, new_name, new_ns)) new_name 1557 fs/kernfs/dir.c if (strcmp(kn->name, new_name) != 0) { new_name 1559 fs/kernfs/dir.c new_name = kstrdup_const(new_name, GFP_KERNEL); new_name 1560 fs/kernfs/dir.c if (!new_name) new_name 1563 fs/kernfs/dir.c new_name = NULL; new_name 1579 fs/kernfs/dir.c if (new_name) { new_name 1581 fs/kernfs/dir.c kn->name = new_name; new_name 722 fs/nfs/nfs2xdr.c const struct qstr *new = args->new_name; new_name 1192 fs/nfs/nfs3xdr.c const struct qstr *new = args->new_name; new_name 2228 fs/nfs/nfs4xdr.c encode_rename(xdr, args->old_name, args->new_name, &hdr); new_name 697 fs/nfs/nfstrace.h __string(new_name, new_dentry->d_name.name) new_name 705 fs/nfs/nfstrace.h __assign_str(new_name, new_dentry->d_name.name); new_name 715 fs/nfs/nfstrace.h __get_str(new_name) new_name 745 fs/nfs/nfstrace.h __string(new_name, new_dentry->d_name.name) new_name 754 fs/nfs/nfstrace.h __assign_str(new_name, new_dentry->d_name.name); new_name 766 fs/nfs/nfstrace.h __get_str(new_name) new_name 373 fs/nfs/unlink.c data->args.new_name = &new_dentry->d_name; new_name 2264 fs/ocfs2/ocfs2_trace.h int new_len, const char *new_name), new_name 2266 fs/ocfs2/ocfs2_trace.h old_len, old_name, new_len, new_name), new_name 2275 fs/ocfs2/ocfs2_trace.h __string(new_name, new_name) new_name 2285 fs/ocfs2/ocfs2_trace.h __assign_str(new_name, new_name); new_name 2291 fs/ocfs2/ocfs2_trace.h __entry->new_len, __get_str(new_name)) new_name 2297 fs/ocfs2/ocfs2_trace.h TP_PROTO(int new_len, const char *new_name), new_name 2298 fs/ocfs2/ocfs2_trace.h TP_ARGS(new_len, new_name), new_name 2301 fs/ocfs2/ocfs2_trace.h __string(new_name, new_name) new_name 2305 fs/ocfs2/ocfs2_trace.h __assign_str(new_name, new_name); new_name 2307 fs/ocfs2/ocfs2_trace.h TP_printk("%.*s", __entry->new_len, __get_str(new_name)) new_name 970 fs/proc/proc_sysctl.c char *new_name; new_name 980 fs/proc/proc_sysctl.c new_name = (char *)(table + 2); new_name 981 fs/proc/proc_sysctl.c memcpy(new_name, name, namelen); new_name 982 fs/proc/proc_sysctl.c new_name[namelen] = '\0'; new_name 983 fs/proc/proc_sysctl.c table[0].procname = new_name; new_name 106 fs/sysfs/dir.c int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, new_name 113 fs/sysfs/dir.c ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); new_name 98 include/linux/debugfs.h struct dentry *new_dir, const char *new_name); new_name 242 include/linux/debugfs.h struct dentry *new_dir, char *new_name) new_name 1510 include/linux/device.h extern int device_rename(struct device *dev, const char *new_name); new_name 114 include/linux/fsnotify.h const struct qstr *new_name = &moved->d_name; new_name 127 include/linux/fsnotify.h fsnotify(new_dir, new_dir_mask, source, FSNOTIFY_EVENT_INODE, new_name, new_name 178 include/linux/kernfs.h const char *new_name); new_name 368 include/linux/kernfs.h const char *new_name, const void *new_ns); new_name 472 include/linux/kernfs.h const char *new_name, const void *new_ns) new_name 573 include/linux/kernfs.h const char *new_name) new_name 575 include/linux/kernfs.h return kernfs_rename_ns(kn, new_parent, new_name, NULL); new_name 109 include/linux/kobject.h extern int __must_check kobject_rename(struct kobject *, const char *new_name); new_name 715 include/linux/nfs_xdr.h const struct qstr *new_name; new_name 232 include/linux/sysfs.h int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, new_name 270 include/linux/sysfs.h const char *old_name, const char *new_name, new_name 325 include/linux/sysfs.h const char *new_name, const void *new_ns) new_name 425 include/linux/sysfs.h const char *new_name, const void *ns) new_name 540 include/linux/sysfs.h const char *old_name, const char *new_name) new_name 542 include/linux/sysfs.h return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); new_name 181 include/net/9p/client.h struct p9_fid *newdirfid, const char *new_name); new_name 490 lib/kobject.c int kobject_rename(struct kobject *kobj, const char *new_name) new_name 520 lib/kobject.c name = dup_name = kstrdup_const(new_name, GFP_KERNEL); new_name 526 lib/kobject.c error = sysfs_rename_dir_ns(kobj, new_name, kobject_namespace(kobj)); new_name 1964 net/9p/client.c struct p9_fid *newdirfid, const char *new_name) new_name 1975 net/9p/client.c newdirfid->fid, new_name); new_name 1978 net/9p/client.c old_name, newdirfid->fid, new_name); new_name 1985 net/9p/client.c newdirfid->fid, new_name); new_name 805 scripts/kconfig/symbol.c char *new_name; new_name 825 scripts/kconfig/symbol.c new_name = xstrdup(name); new_name 827 scripts/kconfig/symbol.c new_name = NULL; new_name 833 scripts/kconfig/symbol.c symbol->name = new_name; new_name 612 security/apparmor/mount.c const char *old_name, *new_name = NULL, *info = NULL; new_name 632 security/apparmor/mount.c new_buffer, &new_name, &info, new_name 640 security/apparmor/mount.c new_name); new_name 649 security/apparmor/mount.c error = audit_mount(profile, OP_PIVOTROOT, new_name, old_name, new_name 912 security/selinux/ss/services.c char *new_name = NULL; new_name 918 security/selinux/ss/services.c &new_name, &length)) { new_name 924 security/selinux/ss/services.c old_name, new_name); new_name 926 security/selinux/ss/services.c kfree(new_name); new_name 864 sound/soc/soc-compress.c char new_name[64]; new_name 908 sound/soc/soc-compress.c snprintf(new_name, sizeof(new_name), "(%s)", new_name 911 sound/soc/soc-compress.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, new_name 929 sound/soc/soc-compress.c snprintf(new_name, sizeof(new_name), "%s %s-%d", new_name 948 sound/soc/soc-compress.c new_name, compr); new_name 2879 sound/soc/soc-pcm.c char new_name[64]; new_name 2918 sound/soc/soc-pcm.c snprintf(new_name, sizeof(new_name), "codec2codec(%s)", new_name 2921 sound/soc/soc-pcm.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, new_name 2924 sound/soc/soc-pcm.c snprintf(new_name, sizeof(new_name), "(%s)", new_name 2927 sound/soc/soc-pcm.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, new_name 2931 sound/soc/soc-pcm.c snprintf(new_name, sizeof(new_name), "%s (*)", new_name 2934 sound/soc/soc-pcm.c snprintf(new_name, sizeof(new_name), "%s %s-%d", new_name 2939 sound/soc/soc-pcm.c ret = snd_pcm_new(rtd->card->snd_card, new_name, num, playback, new_name 2947 sound/soc/soc-pcm.c dev_dbg(rtd->card->dev, "ASoC: registered pcm #%d %s\n",num, new_name); new_name 1357 tools/lib/bpf/btf_dump.c char new_name[max_len]; new_name 1359 tools/lib/bpf/btf_dump.c snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt); new_name 1360 tools/lib/bpf/btf_dump.c *cached_name = strdup(new_name); new_name 1889 tools/lib/bpf/libbpf.c char *new_name; new_name 1895 tools/lib/bpf/libbpf.c new_name = strdup(info.name); new_name 1896 tools/lib/bpf/libbpf.c if (!new_name) new_name 1919 tools/lib/bpf/libbpf.c map->name = new_name; new_name 1933 tools/lib/bpf/libbpf.c free(new_name); new_name 938 tools/perf/util/data-convert-bt.c char *new_name = NULL; new_name 956 tools/perf/util/data-convert-bt.c new_name = malloc(len); new_name 957 tools/perf/util/data-convert-bt.c if (!new_name) new_name 961 tools/perf/util/data-convert-bt.c snprintf(new_name, len, "_%s", name); new_name 963 tools/perf/util/data-convert-bt.c snprintf(new_name, len, "%s_dupl_%d", orig_name, dup); new_name 968 tools/perf/util/data-convert-bt.c return new_name; new_name 2357 tools/perf/util/evsel.c char *new_name; new_name 2365 tools/perf/util/evsel.c if (asprintf(&new_name, "%s%su", name, sep) < 0) new_name 2370 tools/perf/util/evsel.c evsel->name = new_name; new_name 518 tools/perf/util/stat-display.c char *new_name; new_name 528 tools/perf/util/stat-display.c if (asprintf(&new_name, new_name 531 tools/perf/util/stat-display.c counter->name = new_name; new_name 534 tools/perf/util/stat-display.c if (asprintf(&new_name, new_name 537 tools/perf/util/stat-display.c counter->name = new_name;