Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 25 of 80) sorted by relevance

1234

/OK3568_Linux_fs/yocto/meta-openembedded/meta-perl/recipes-perl/adduser/files/
H A Dadduser-add-M-option-for-useradd.patch26 $undouser = $new_name;
29 - $shell, '-u', $new_uid, $new_name);
30 + $shell, '-u', $new_uid, '-M', $new_name);
33 &systemcall($usermod, '-p', '*', $new_name);
35 $undouser = $new_name;
38 - $shell, '-u', $new_uid, $new_name);
39 + $shell, '-u', $new_uid, '-M', $new_name);
H A D0001-adduser-set-default-shell-with-sbin-nologin.patch24 … printf gtx("Adding new user `%s' (UID %d) with group `%s' ...\n"),$new_name,$new_uid,$ingroup_name
26 $home_dir = $special_home || &homedir($new_name, $ingroup_name);
29 $undouser = $new_name;
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dslot.c108 char *new_name; in make_slot_name() local
111 new_name = kstrdup(name, GFP_KERNEL); in make_slot_name()
112 if (!new_name) in make_slot_name()
126 dup_slot = kset_find_obj(pci_slots_kset, new_name); in make_slot_name()
133 kfree(new_name); in make_slot_name()
134 new_name = kmalloc(len, GFP_KERNEL); in make_slot_name()
135 if (!new_name) in make_slot_name()
138 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
141 return new_name; in make_slot_name()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_ab.c256 char *new_name) in spl_ab_append_part_slot() argument
261 strcat(new_name, part_name); in spl_ab_append_part_slot()
267 strcat(new_name, part_name); in spl_ab_append_part_slot()
271 strcpy(new_name, part_name); in spl_ab_append_part_slot()
272 strcat(new_name, slot_suffix); in spl_ab_append_part_slot()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpower_supply_hwmon.c394 char *new_name; in power_supply_add_hwmon_sysfs() local
396 new_name = devm_kstrdup(dev, name, GFP_KERNEL); in power_supply_add_hwmon_sysfs()
397 if (!new_name) { in power_supply_add_hwmon_sysfs()
401 strreplace(new_name, '-', '_'); in power_supply_add_hwmon_sysfs()
402 name = new_name; in power_supply_add_hwmon_sysfs()
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/
H A Docteon-platform.c491 char new_name[20]; in octeon_fdt_set_phy() local
540 memset(new_name, 0, sizeof(new_name)); in octeon_fdt_set_phy()
541 strcpy(new_name, "marvell,88e1145"); in octeon_fdt_set_phy()
544 if (p && current_len >= strlen(new_name)) in octeon_fdt_set_phy()
546 "compatible", new_name, current_len); in octeon_fdt_set_phy()
555 snprintf(new_name, sizeof(new_name), "ethernet-phy@%x", phy_addr); in octeon_fdt_set_phy()
558 if (p && current_len == strlen(new_name)) in octeon_fdt_set_phy()
559 fdt_set_name(initial_boot_params, phy, new_name); in octeon_fdt_set_phy()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsysfs.h239 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
277 const char *old_name, const char *new_name,
349 const char *new_name, const void *new_ns) in sysfs_rename_dir_ns() argument
449 const char *new_name, const void *ns) in sysfs_rename_link_ns() argument
609 const char *old_name, const char *new_name) in sysfs_rename_link() argument
611 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()
H A Dkernfs.h178 const char *new_name);
408 const char *new_name, const void *new_ns);
512 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
613 const char *new_name) in kernfs_rename() argument
615 return kernfs_rename_ns(kn, new_parent, new_name, NULL); in kernfs_rename()
H A Dfsnotify.h138 const struct qstr *new_name = &moved->d_name; in fsnotify_move() local
149 fsnotify_name(new_dir, new_dir_mask, source, new_name, fs_cookie); in fsnotify_move()
/OK3568_Linux_fs/buildroot/package/cpio/
H A D0002-Rewrite-dynamic-string-support.patch40 static dynamic_string new_name; /* New file name for rename option. */
45 - ds_init (&new_name, 128);
49 + ds_init (&new_name);
441 - dynamic_string new_name;
442 + dynamic_string new_name = DYNAMIC_STRING_INITIALIZER;
445 - ds_init (&new_name, 128);
454 - free (new_name.ds_string);
455 + ds_free (&new_name);
/OK3568_Linux_fs/yocto/poky/scripts/contrib/
H A Dconvert-variable-renames.py75 for old_name, new_name in renames.items():
77 line = line.replace(old_name, new_name)
/OK3568_Linux_fs/u-boot/lib/avb/rk_avb_user/
H A Drk_ab_ops_user.c482 int rk_avb_append_part_slot(const char *part_name, char *new_name) in rk_avb_append_part_slot() argument
487 strcat(new_name, part_name); in rk_avb_append_part_slot()
496 strcpy(new_name, part_name); in rk_avb_append_part_slot()
497 strcat(new_name, slot_suffix); in rk_avb_append_part_slot()
/OK3568_Linux_fs/kernel/fs/kernfs/
H A Ddir.c1544 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
1563 (strcmp(kn->name, new_name) == 0)) in kernfs_rename_ns()
1567 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns()
1571 if (strcmp(kn->name, new_name) != 0) { in kernfs_rename_ns()
1573 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
1574 if (!new_name) in kernfs_rename_ns()
1577 new_name = NULL; in kernfs_rename_ns()
1593 if (new_name) { in kernfs_rename_ns()
1595 kn->name = new_name; in kernfs_rename_ns()
/OK3568_Linux_fs/kernel/fs/sysfs/
H A Ddir.c106 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() argument
113 ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); in sysfs_rename_dir_ns()
/OK3568_Linux_fs/kernel/fs/hpfs/
H A Dnamei.c516 const unsigned char *new_name = new_dentry->d_name.name; in hpfs_rename() local
532 if ((err = hpfs_chk_name(new_name, &new_len))) return err; in hpfs_rename()
551 de.hidden = new_name[0] == '.'; in hpfs_rename()
556 if ((nde = map_dirent(new_dir, hpfs_i(new_dir)->i_dno, new_name, new_len, NULL, &qbh1))) { in hpfs_rename()
559 memcpy(nde->name, new_name, new_len); in hpfs_rename()
574 if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de))) { in hpfs_rename()
603 memcpy(fnode->name, new_name, new_len>15?15:new_len); in hpfs_rename()
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-compress.c757 char new_name[64]; in snd_soc_new_compress() local
808 snprintf(new_name, sizeof(new_name), "(%s)", in snd_soc_new_compress()
811 ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, in snd_soc_new_compress()
829 snprintf(new_name, sizeof(new_name), "%s %s-%d", in snd_soc_new_compress()
846 new_name, compr); in snd_soc_new_compress()
H A Dsoc-pcm.c2695 char new_name[64]; in soc_new_pcm() local
2780 snprintf(new_name, sizeof(new_name), "codec2codec(%s)", in soc_new_pcm()
2783 ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, in soc_new_pcm()
2786 snprintf(new_name, sizeof(new_name), "(%s)", in soc_new_pcm()
2789 ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, in soc_new_pcm()
2793 snprintf(new_name, sizeof(new_name), "%s (*)", in soc_new_pcm()
2796 snprintf(new_name, sizeof(new_name), "%s %s-%d", in soc_new_pcm()
2801 ret = snd_pcm_new(rtd->card->snd_card, new_name, num, playback, in soc_new_pcm()
2806 new_name, rtd->dai_link->name, ret); in soc_new_pcm()
2809 dev_dbg(rtd->card->dev, "ASoC: registered pcm #%d %s\n",num, new_name); in soc_new_pcm()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dcompress_doc.bbclass242 new_name = old_name + '.' + compress_mode
246 d.setVarFlag('ALTERNATIVE_LINK_NAME', new_name, new_link)
249 d.setVarFlag('ALTERNATIVE_TARGET_%s' % pkg, new_name, new_target)
252 d.setVarFlag('ALTERNATIVE_TARGET', new_name, new_target)
258 new_names.append(new_name)
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/cpio/cpio-2.13/
H A DCVE-2021-38185.patch44 static dynamic_string new_name; /* New file name for rename option. */
49 - ds_init (&new_name, 128);
53 + ds_init (&new_name);
445 - dynamic_string new_name;
446 + dynamic_string new_name = DYNAMIC_STRING_INITIALIZER;
449 - ds_init (&new_name, 128);
458 - free (new_name.ds_string);
459 + ds_free (&new_name);
/OK3568_Linux_fs/kernel/drivers/mtd/maps/
H A Dpcmciamtd.c414 static void card_settings(struct pcmciamtd_dev *dev, struct pcmcia_device *p_dev, int *new_name) in card_settings() argument
453 *new_name = 1; in card_settings()
469 int new_name = 0; in pcmciamtd_config() local
473 card_settings(dev, link, &new_name); in pcmciamtd_config()
590 if(new_name) { in pcmciamtd_config()
/OK3568_Linux_fs/kernel/fs/hostfs/
H A Dhostfs_kern.c735 char *old_name, *new_name; in hostfs_rename2() local
744 new_name = dentry_name(new_dentry); in hostfs_rename2()
745 if (new_name == NULL) { in hostfs_rename2()
750 err = rename_file(old_name, new_name); in hostfs_rename2()
752 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
755 __putname(new_name); in hostfs_rename2()
/OK3568_Linux_fs/u-boot/include/
H A Dspl_ab.h38 char *new_name);
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dmount.c645 const char *old_name, *new_name = NULL, *info = NULL; in build_pivotroot() local
665 new_buffer, &new_name, &info, in build_pivotroot()
673 new_name); in build_pivotroot()
682 error = audit_mount(profile, OP_PIVOTROOT, new_name, old_name, in build_pivotroot()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/gdb/python/gdb/command/
H A Dexplore.py528 new_name = ("%s '%s' of %s" %
533 new_name = ("%s '%s' of '%s'" %
537 Explorer.explore_type(new_name,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/gdb/python/gdb/command/
H A Dexplore.py528 new_name = ("%s '%s' of %s" %
533 new_name = ("%s '%s' of '%s'" %
537 Explorer.explore_type(new_name,

1234