MCPcopy Create free account
hub / github.com/F-Stack/f-stack / (lim_cur)

Function (lim_cur)

freebsd/kern/kern_resource.c:1286–1293  ·  view source on GitHub ↗

* Return the current (soft) limit for a particular system resource. * The which parameter which specifies the index into the rlimit array */

Source from the content-addressed store, hash-verified

1284 * The which parameter which specifies the index into the rlimit array
1285 */
1286rlim_t
1287(lim_cur)(struct thread *td, int which)
1288{
1289 struct rlimit rl;
1290
1291 lim_rlimit(td, which, &rl);
1292 return (rl.rlim_cur);
1293}
1294
1295rlim_t
1296lim_cur_proc(struct proc *p, int which)

Callers

nothing calls this directly

Calls 1

lim_rlimitFunction · 0.70

Tested by

no test coverage detected