Lines Matching refs:devpath
473 const char *devpath = NULL; in kobject_rename() local
484 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
485 if (!devpath) { in kobject_rename()
489 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
494 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
520 kfree(devpath); in kobject_rename()
536 const char *devpath = NULL; in kobject_move() local
550 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
551 if (!devpath) { in kobject_move()
555 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
560 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
575 kfree(devpath); in kobject_move()