Lines Matching refs:devpath
493 const char *devpath = NULL; in kobject_rename() local
506 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
507 if (!devpath) { in kobject_rename()
511 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
516 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
542 kfree(devpath); in kobject_rename()
558 const char *devpath = NULL; in kobject_move() local
572 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
573 if (!devpath) { in kobject_move()
577 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
582 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
597 kfree(devpath); in kobject_move()