Searched refs:dup_name (Results 1 – 2 of 2) sorted by relevance
1230 char *dup_name = strdup(DEVNAME(dev_current)); in flash_open_tempfile() local1234 if (!dup_name) in flash_open_tempfile()1237 *dname = dirname(dup_name); in flash_open_tempfile()1256 dup_name = NULL; in flash_open_tempfile()1260 if (dup_name) in flash_open_tempfile()1261 free(dup_name); in flash_open_tempfile()
478 const char *dup_name = NULL, *name; in kobject_rename() local504 name = dup_name = kstrdup_const(new_name, GFP_KERNEL); in kobject_rename()515 dup_name = kobj->name; in kobject_rename()524 kfree_const(dup_name); in kobject_rename()