Searched refs:devpath (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | kobject_uevent.c | 170 const char *devpath = NULL; in kobject_uevent_env() local 233 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_uevent_env() 234 if (!devpath) { in kobject_uevent_env() 243 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env() 300 len = strlen(action_string) + strlen(devpath) + 2; in kobject_uevent_env() 307 sprintf(scratch, "%s@%s", action_string, devpath); in kobject_uevent_env() 358 kfree(devpath); in kobject_uevent_env()
|
D | kobject.c | 456 const char *devpath = NULL; in kobject_rename() local 467 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename() 468 if (!devpath) { in kobject_rename() 472 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 477 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename() 503 kfree(devpath); in kobject_rename() 519 const char *devpath = NULL; in kobject_move() local 533 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move() 534 if (!devpath) { in kobject_move() 538 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move() [all …]
|