Lines Matching refs:devpath
477 const char *devpath = NULL; in kobject_rename() local
490 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
491 if (!devpath) { in kobject_rename()
495 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
500 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
526 kfree(devpath); in kobject_rename()
542 const char *devpath = NULL; in kobject_move() local
556 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
557 if (!devpath) { in kobject_move()
561 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
566 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
581 kfree(devpath); in kobject_move()