Searched refs:retval (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | kobject_uevent.c | 101 int retval = 0; in kobject_uevent_env() local 150 retval = -ENOENT; in kobject_uevent_env() 155 retval = add_uevent_var(env, "ACTION=%s", action_string); in kobject_uevent_env() 156 if (retval) in kobject_uevent_env() 158 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env() 159 if (retval) in kobject_uevent_env() 161 retval = add_uevent_var(env, "SUBSYSTEM=%s", subsystem); in kobject_uevent_env() 162 if (retval) in kobject_uevent_env() 168 retval = add_uevent_var(env, "%s", envp_ext[i]); in kobject_uevent_env() 169 if (retval) in kobject_uevent_env() [all …]
|
D | kobject.c | 245 int retval; in kobject_set_name() local 248 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name() 251 return retval; in kobject_set_name() 299 int retval; in kobject_add_varg() local 301 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg() 302 if (retval) { in kobject_add_varg() 304 return retval; in kobject_add_varg() 339 int retval; in kobject_add() local 352 retval = kobject_add_varg(kobj, parent, fmt, args); in kobject_add() 355 return retval; in kobject_add() [all …]
|