Lines Matching refs:devpath
446 const char *devpath = NULL; in kobject_rename() local
457 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
458 if (!devpath) { in kobject_rename()
462 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
467 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
493 kfree(devpath); in kobject_rename()
509 const char *devpath = NULL; in kobject_move() local
523 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
524 if (!devpath) { in kobject_move()
528 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
533 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
548 kfree(devpath); in kobject_move()