Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ lim_hold
Function
lim_hold
freebsd/kern/kern_resource.c:1210–1216 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1208
}
1209
1210
struct plimit *
1211
lim_hold(struct plimit *limp)
1212
{
1213
1214
refcount_acquire(&limp->pl_refcnt);
1215
return (limp);
1216
}
1217
1218
void
1219
lim_fork(struct proc *p1, struct proc *p2)
Callers
5
acct_process
Function · 0.70
thread_cow_get_proc
Function · 0.70
thread_cow_get
Function · 0.70
thread_cow_update
Function · 0.70
lim_fork
Function · 0.70
Calls
1
refcount_acquire
Function · 0.85
Tested by
no test coverage detected