Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ pargs_hold
Function
pargs_hold
freebsd/kern/kern_proc.c:1779–1786 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1777
}
1778
1779
void
1780
pargs_hold(struct pargs *pa)
1781
{
1782
1783
if (pa == NULL)
1784
return;
1785
refcount_acquire(&pa->ar_ref);
1786
}
1787
1788
void
1789
pargs_drop(struct pargs *pa)
Callers
2
do_fork
Function · 0.85
sysctl_kern_proc_args
Function · 0.85
Calls
1
refcount_acquire
Function · 0.85
Tested by
no test coverage detected