Home
last modified time | relevance | path

Searched refs:rctlproc_legacy (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Drctl_proc.c47 rctl_hndl_t rctlproc_legacy[RLIM_NLIMITS]; variable
230 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CPU], initp, &rlp64, gp, in rctlproc_default_init()
237 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_FSIZE], initp, &rlp64, gp, in rctlproc_default_init()
244 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_DATA], initp, &rlp64, gp, in rctlproc_default_init()
257 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_STACK], initp, &rlp64, gp, in rctlproc_default_init()
264 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CORE], initp, &rlp64, gp, in rctlproc_default_init()
272 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_NOFILE], initp, &rlp64, in rctlproc_default_init()
279 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_VMEM], initp, &rlp64, gp, in rctlproc_default_init()
298 rctlproc_legacy[RLIMIT_CPU] = rctl_register("process.max-cpu-time", in rctlproc_init()
302 rctlproc_legacy[RLIMIT_FSIZE] = rctl_register("process.max-file-size", in rctlproc_init()
[all …]
H A Dcore.c348 rlimit = rctl_enforced_value(rctlproc_legacy[RLIMIT_CORE], in do_core()
620 (void) rctl_action(rctlproc_legacy[RLIMIT_CORE], in dump_one_core()
693 rlimit = rctl_enforced_value(rctlproc_legacy[RLIMIT_CORE], p->p_rctls, in core()
H A Dgrow.c211 as_rctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_DATA], in brk_internal()
258 (void) rctl_action(rctlproc_legacy[RLIMIT_DATA], p->p_rctls, p, in brk_internal()
461 (void) rctl_action(rctlproc_legacy[RLIMIT_STACK], p->p_rctls, p, in grow_internal()
H A Dfio.c1057 (void) rctl_action(rctlproc_legacy[RLIMIT_NOFILE], in ufalloc_file()
1122 (void) rctl_action(rctlproc_legacy[RLIMIT_NOFILE], in ufcanalloc()
H A Dclock.c1611 (void) rctl_test(rctlproc_legacy[RLIMIT_CPU], pp->p_rctls, pp, in clock_tick()
H A Dexec.c479 (void) rctl_rlimit_get(rctlproc_legacy[i], p, in exec_common()
/illumos-gate/usr/src/uts/common/syscall/
H A Drlimit.c67 filesize = rctl_enforced_value(rctlproc_legacy[RLIMIT_FSIZE], in ulimit()
102 if (error = rctl_rlimit_set(rctlproc_legacy[RLIMIT_FSIZE], p, in ulimit()
152 size_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_DATA], in ulimit()
154 vmem_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_VMEM], in ulimit()
234 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in ulimit()
302 (void) rctl_rlimit_get(rctlproc_legacy[resource], p, &rlim64); in getrlimit32()
427 if (error = rctl_rlimit_set(rctlproc_legacy[resource], p, &rlim64, gp, in setrlimit32()
451 (void) rctl_rlimit_get(rctlproc_legacy[resource], p, &rlim64); in getrlimit64()
475 if (error = rctl_rlimit_set(rctlproc_legacy[resource], p, &rlim64, gp, in setrlimit64()
H A Dsysconfig.c86 rctlproc_legacy[RLIMIT_NOFILE], curproc->p_rctls, in sysconfig()
H A Drw.c275 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in write()
528 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in pwrite()
933 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in writev()
1339 rctlproc_legacy[RLIMIT_FSIZE], in pwritev()
1586 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in pwrite64()
H A Dsendfile.c124 rctlproc_legacy[RLIMIT_FSIZE], in sendvec_chunk64()
754 rctlproc_legacy[RLIMIT_FSIZE], in sendvec_chunk()
H A Dfcntl.c972 (void) rctl_action(rctlproc_legacy[RLIMIT_NOFILE], in fd_too_big()
H A Dpoll.c404 (void) rctl_action(rctlproc_legacy[RLIMIT_NOFILE], in poll_common()
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c120 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdread()
249 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdreaddir()
456 fdno_ctl = rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in fdstatvfs()
/illumos-gate/usr/src/uts/common/sys/
H A Drctl.h258 extern rctl_hndl_t rctlproc_legacy[];
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c771 (uint_t)rctl_enforced_value(rctlproc_legacy[RLIMIT_NOFILE], in dpwrite()
773 (void) rctl_action(rctlproc_legacy[RLIMIT_NOFILE], in dpwrite()
/illumos-gate/usr/src/uts/sparc/os/
H A Dsyscall.c850 (void) rctl_rlimit_get(rctlproc_legacy[RLIMIT_STACK], p, &rl); in post_syscall()
/illumos-gate/usr/src/uts/intel/os/
H A Dsyscall.c764 (void) rctl_rlimit_get(rctlproc_legacy[RLIMIT_STACK], p, &rl); in post_syscall()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c170 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls, in wrtmp()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c342 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls, in rwpcp()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c976 (void) rctl_action(rctlproc_legacy[RLIMIT_VMEM], p->p_rctls, p, in elfexec()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c1702 (void) rctl_action(rctlproc_legacy[RLIMIT_VMEM], in as_map_locked()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c3143 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls, in ud_wrip()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c790 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in smbfs_write()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c625 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], in nfs_write()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c726 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls, in wrip()

12