kobj_completion_del_and_wait(9) release the kobject and wait for it

SYNOPSIS

void kobj_completion_del_and_wait(struct kobj_completion * kc);

ARGUMENTS

kc

kobj_completion object to release

DESCRIPTION

Delete the kobject from sysfs and drop the reference count. Then wait until any other outstanding references are also dropped. This routine is only necessary once other references may have been taken on the kobject. Typically this happens when the kobject has been published to sysfs via kobject_add.

COPYRIGHT