Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dkobject.c475 char *devpath_string = NULL; in kobject_rename() local
489 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
490 if (!devpath_string) { in kobject_rename()
494 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
495 envp[0] = devpath_string; in kobject_rename()
519 kfree(devpath_string); in kobject_rename()
537 char *devpath_string = NULL; in kobject_move() local
555 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
556 if (!devpath_string) { in kobject_move()
560 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
[all …]