MCPcopy Create free account
hub / github.com/HelenOS/helenos / kobject_add_ref

Function kobject_add_ref

kernel/generic/src/cap/cap.c:469–472  ·  view source on GitHub ↗

Record new reference * * @param kobj Kernel object from which the new reference is created. */

Source from the content-addressed store, hash-verified

467 * @param kobj Kernel object from which the new reference is created.
468 */
469void kobject_add_ref(kobject_t *kobj)
470{
471 atomic_inc(&kobj->refcnt);
472}
473
474/** Drop reference to kernel object
475 *

Callers 6

ipc_forget_callFunction · 0.85
ipc_req_internalFunction · 0.85
sys_ipc_wait_for_callFunction · 0.85
answer_preprocessFunction · 0.85
answer_preprocessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected