Lines Matching refs:devpath
458 const char *devpath = NULL; in kobject_rename() local
469 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
470 if (!devpath) { in kobject_rename()
474 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
479 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
505 kfree(devpath); in kobject_rename()
521 const char *devpath = NULL; in kobject_move() local
535 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
536 if (!devpath) { in kobject_move()
540 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
545 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
560 kfree(devpath); in kobject_move()