Lines Matching refs:devpath
461 const char *devpath = NULL; in kobject_rename() local
474 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
475 if (!devpath) { in kobject_rename()
479 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
484 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
510 kfree(devpath); in kobject_rename()
526 const char *devpath = NULL; in kobject_move() local
540 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
541 if (!devpath) { in kobject_move()
545 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
550 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
565 kfree(devpath); in kobject_move()