Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/kern/
H A Dkern_resource.c128 void (^update)(struct plimit *plim));
159 static KALLOC_TYPE_DEFINE(plimit_zone, struct plimit, KT_DEFAULT);
1698 proc_limitupdate(p, true, ^(struct plimit *plim) { in dosetrlimit()
1893 struct plimit *plimit = __container_of(node, struct plimit, pl_node); in proc_limit_free() local
1895 zfree(plimit_zone, plimit); in proc_limit_free()
1899 proc_limit_release(struct plimit *plimit) in proc_limit_release() argument
1901 if (os_ref_release(&plimit->pl_refcnt) == 0) { in proc_limit_release()
1902 smr_proc_task_call(&plimit->pl_node, sizeof(*plimit), proc_limit_free); in proc_limit_release()
1943 proc_limitupdate(p, false, ^(struct plimit *plimit) { in proc_limitsetcur_fsize()
1944 plimit->pl_rlimit[RLIMIT_FSIZE].rlim_cur = value; in proc_limitsetcur_fsize()
[all …]
H A Dbsd_init.c223 static struct plimit limit0;
/xnu-12377.1.9/bsd/sys/
H A Dresourcevar.h119 struct plimit { struct
H A Dproc_internal.h316 SMR_POINTER(struct plimit *) p_limit;/* Process limits (PL) */