Searched refs:new_name (Results 1 – 11 of 11) sorted by relevance
/drivers/pci/ |
D | slot.c | 143 char *new_name; in make_slot_name() local 146 new_name = kstrdup(name, GFP_KERNEL); in make_slot_name() 147 if (!new_name) in make_slot_name() 161 dup_slot = kset_find_obj(pci_slots_kset, new_name); in make_slot_name() 168 kfree(new_name); in make_slot_name() 169 new_name = kmalloc(len, GFP_KERNEL); in make_slot_name() 170 if (!new_name) in make_slot_name() 173 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name() 176 return new_name; in make_slot_name()
|
/drivers/mtd/maps/ |
D | pcmciamtd.c | 415 static void card_settings(struct pcmciamtd_dev *dev, struct pcmcia_device *p_dev, int *new_name) in card_settings() argument 454 *new_name = 1; in card_settings() 470 int new_name = 0; in pcmciamtd_config() local 474 card_settings(dev, link, &new_name); in pcmciamtd_config() 591 if(new_name) { in pcmciamtd_config()
|
/drivers/mtd/ubi/ |
D | cdev.c | 756 memcpy(re->new_name, name, name_len); in rename_volumes() 778 !memcmp(re->new_name, re1->desc->vol->name, in rename_volumes() 792 desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name, in rename_volumes() 802 re->new_name, err); in rename_volumes()
|
D | ubi.h | 222 char new_name[UBI_VOL_NAME_MAX + 1]; member
|
D | vtbl.c | 151 memcpy(vtbl_rec->name, re->new_name, re->new_name_len); in ubi_vtbl_rename_volumes()
|
D | vmt.c | 583 memcpy(vol->name, re->new_name, re->new_name_len + 1); in ubi_rename_volumes()
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 320 char *new_name; in hidpp_prefix_name() local 328 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name() 329 if (!new_name) in hidpp_prefix_name() 332 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name() 336 *name = new_name; in hidpp_prefix_name()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1092 char *new_name; in ahc_linux_register_host() local 1116 new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC); in ahc_linux_register_host() 1117 if (new_name != NULL) { in ahc_linux_register_host() 1118 strcpy(new_name, buf); in ahc_linux_register_host() 1119 ahc_set_name(ahc, new_name); in ahc_linux_register_host()
|
D | aic79xx_osm.c | 1228 char *new_name; in ahd_linux_register_host() local 1252 new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC); in ahd_linux_register_host() 1253 if (new_name != NULL) { in ahd_linux_register_host() 1254 strcpy(new_name, buf); in ahd_linux_register_host() 1255 ahd_set_name(ahd, new_name); in ahd_linux_register_host()
|
/drivers/base/ |
D | core.c | 1980 int device_rename(struct device *dev, const char *new_name) in device_rename() argument 1990 dev_dbg(dev, "renaming to %s\n", new_name); in device_rename() 2001 new_name, kobject_namespace(kobj)); in device_rename() 2006 error = kobject_rename(kobj, new_name); in device_rename()
|
/drivers/md/ |
D | dm-ioctl.c | 349 static char *__change_cell_name(struct hash_cell *hc, char *new_name) in __change_cell_name() argument 360 hc->name = new_name; in __change_cell_name() 363 list_add(&hc->name_list, _name_buckets + hash_str(new_name)); in __change_cell_name()
|