MCPcopy Create free account
hub / github.com/F-Stack/f-stack / uihold

Function uihold

freebsd/kern/kern_resource.c:1417–1422  ·  view source on GitHub ↗

* Place another refcount on a uidinfo struct. */

Source from the content-addressed store, hash-verified

1415 * Place another refcount on a uidinfo struct.
1416 */
1417void
1418uihold(struct uidinfo *uip)
1419{
1420
1421 refcount_acquire(&uip->ui_ref);
1422}
1423
1424/*-
1425 * Since uidinfo structs have a long lifetime, we use an

Callers 6

crcopyFunction · 0.85
change_euidFunction · 0.85
change_ruidFunction · 0.85
uilookupFunction · 0.85
uifindFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected