Home
last modified time | relevance | path

Searched refs:devpath (Results 1 – 2 of 2) sorted by relevance

/lib/
Dkobject_uevent.c136 const char *devpath = NULL; in kobject_uevent_env() local
199 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_uevent_env()
200 if (!devpath) { in kobject_uevent_env()
209 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env()
266 len = strlen(action_string) + strlen(devpath) + 2; in kobject_uevent_env()
273 sprintf(scratch, "%s@%s", action_string, devpath); in kobject_uevent_env()
316 kfree(devpath); in kobject_uevent_env()
Dkobject.c400 const char *devpath = NULL; in kobject_rename() local
411 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
412 if (!devpath) { in kobject_rename()
416 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
421 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
447 kfree(devpath); in kobject_rename()
463 const char *devpath = NULL; in kobject_move() local
476 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
477 if (!devpath) { in kobject_move()
481 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
[all …]