Home
last modified time | relevance | path

Searched refs:plimit (Results 1 – 4 of 4) sorted by relevance

/xnu-10063.141.1/bsd/kern/
H A Dkern_resource.c127 void (^update)(struct plimit *plim));
153 static KALLOC_TYPE_DEFINE(plimit_zone, struct plimit, KT_DEFAULT);
1339 proc_limitupdate(p, true, ^(struct plimit *plim) { in dosetrlimit()
1539 struct plimit *plimit = __container_of(node, struct plimit, pl_node); in proc_limit_free() local
1541 zfree(plimit_zone, plimit); in proc_limit_free()
1545 proc_limit_release(struct plimit *plimit) in proc_limit_release() argument
1547 if (os_ref_release(&plimit->pl_refcnt) == 0) { in proc_limit_release()
1548 smr_proc_task_call(&plimit->pl_node, sizeof(*plimit), proc_limit_free); in proc_limit_release()
1589 proc_limitupdate(p, false, ^(struct plimit *plimit) { in proc_limitsetcur_fsize()
1590 plimit->pl_rlimit[RLIMIT_FSIZE].rlim_cur = value; in proc_limitsetcur_fsize()
[all …]
H A Dbsd_init.c222 static struct plimit limit0;
/xnu-10063.141.1/bsd/sys/
H A Dresourcevar.h119 struct plimit { struct
H A Dproc_internal.h317 SMR_POINTER(struct plimit *) p_limit;/* Process limits (PL) */