1KOBJECT_RENAME(9) Driver Basics KOBJECT_RENAME(9)
2
3
4
6 kobject_rename - change the name of an object
7
9 int kobject_rename(struct kobject * kobj, const char * new_name);
10
12 kobj
13 object in question.
14
15 new_name
16 object´s new name
17
19 It is the responsibility of the caller to provide mutual exclusion
20 between two different calls of kobject_rename on the same kobject and
21 to ensure that new_name is valid and won´t conflict with other
22 kobjects.
23
25Kernel Hackers Manual 2.6. June 2019 KOBJECT_RENAME(9)