Lines Matching refs:devpath
475 const char *devpath = NULL; in kobject_rename() local
488 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
489 if (!devpath) { in kobject_rename()
493 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
498 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
524 kfree(devpath); in kobject_rename()
540 const char *devpath = NULL; in kobject_move() local
554 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
555 if (!devpath) { in kobject_move()
559 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
564 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
579 kfree(devpath); in kobject_move()