Home
last modified time | relevance | path

Searched refs:dup_name (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/tools/env/
H A Dfw_env.c1230 char *dup_name = strdup(DEVNAME(dev_current)); in flash_open_tempfile() local
1234 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()
/openbmc/linux/lib/
H A Dkobject.c478 const char *dup_name = NULL, *name; in kobject_rename() local
504 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()