Searched refs:devpath_string (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-6.6/lib/ |
| D | kobject.c | 479 char *devpath_string = NULL; in kobject_rename() local 495 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 496 if (!devpath_string) { in kobject_rename() 500 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename() 501 envp[0] = devpath_string; in kobject_rename() 525 kfree(devpath_string); in kobject_rename() 543 char *devpath_string = NULL; in kobject_move() local 561 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move() 562 if (!devpath_string) { in kobject_move() 566 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | kobject.c | 503 char *devpath_string = NULL; in kobject_rename() local 519 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 520 if (!devpath_string) { in kobject_rename() 524 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename() 525 envp[0] = devpath_string; in kobject_rename() 549 kfree(devpath_string); in kobject_rename() 567 char *devpath_string = NULL; in kobject_move() local 585 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move() 586 if (!devpath_string) { in kobject_move() 590 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move() [all …]
|