/illumos-gate/usr/src/cmd/sh/ |
H A D | ulimit.c | 66 struct rlimit rlimit; in sysulimit() local 144 if (getrlimit(res, &rlimit) < 0) { in sysulimit() 155 if (rlimit.rlim_cur == RLIM_INFINITY) { in sysulimit() 158 prull_buff(rlimit.rlim_cur / in sysulimit() 166 if (rlimit.rlim_max == RLIM_INFINITY) { in sysulimit() 169 prull_buff(rlimit.rlim_max / in sysulimit() 220 if (getrlimit(res, &rlimit) < 0) { in sysulimit() 230 rlimit.rlim_max = limit; in sysulimit() 233 rlimit.rlim_cur = limit; in sysulimit() 236 if (setrlimit(res, &rlimit) < 0) { in sysulimit()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 279 platform, rlimit, credp); in write_elfnotes() 289 (caddr_t)bigwad->auxv, rlimit, credp); in write_elfnotes() 324 (caddr_t)&content, rlimit, credp); in write_elfnotes() 337 (caddr_t)prii, rlimit, credp); in write_elfnotes() 345 rlimit, credp); in write_elfnotes() 459 (caddr_t)ssd, rlimit, credp); in write_elfnotes() 501 rlimit, credp); in write_elfnotes() 534 rlimit, credp); in write_elfnotes() 557 rlimit, credp); in write_elfnotes() 569 rlimit, credp); in write_elfnotes() [all …]
|
H A D | old_notes.c | 87 rlim64_t rlimit, cred_t *credp) in write_old_elfnotes() argument 116 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes() 121 platform, rlimit, credp); in write_old_elfnotes() 131 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes() 171 rlimit, credp); in write_old_elfnotes() 179 rlimit, credp); in write_old_elfnotes()
|
H A D | elf.c | 1597 rlim64_t rlimit, cred_t *credp) in elfnote() argument 1619 sizeof (note), rlimit, credp)) in elfnote() 1625 note.nhdr.n_descsz, rlimit, credp)) in elfnote() 2096 .ecc_rlimit = rlimit, in elfcore() 2226 sizeof (Ehdr), rlimit, credp)) { in elfcore() 2375 phdr, phdrsz, rlimit, credp)) != 0) { in elfcore() 2425 rlimit, credp); in elfcore() 2435 phdr[i].p_filesz, rlimit, credp); in elfcore() 2449 &error, sizeof (error), rlimit, credp); in elfcore() 2455 sizeof (Phdr), rlimit, credp)) != 0) in elfcore() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | resource.h | 132 struct rlimit { struct 242 #define rlimit rlimit64 macro 257 #define rlimit64 rlimit 261 extern int setrlimit(int, const struct rlimit *); 262 extern int getrlimit(int, struct rlimit *);
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | resource.h | 77 struct rlimit { struct 85 extern int setrlimit(int, const struct rlimit *); argument 86 extern int getrlimit(int, struct rlimit *);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 331 rlim64_t rlimit; in do_core() local 345 rlimit = cg->core_rlimit; in do_core() 348 rlimit = rctl_enforced_value(rctlproc_legacy[RLIMIT_CORE], in do_core() 354 if (rlimit == 0) in do_core() 444 error = eswp->exec_core(vp, p, credp, rlimit, sig, in do_core() 607 if (rlimit == 0) in dump_one_core() 646 rlim64_t rlimit; in core() local 747 error2 = dump_one_core(sig, rlimit, CORE_ZONE, my_cg, in core() 750 error3 = dump_one_core(sig, rlimit, CORE_GLOBAL, global_cg, in core() 797 rlim64_t rlimit, cred_t *credp) in core_seg() argument [all …]
|
H A D | inst_sync.c | 211 rlim64_t rlimit = *vo + count + 1; in in_write() local 214 UIO_SYSSPACE, 0, rlimit, CRED(), &resid); in in_write()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 219 struct rlimit rlimit; in main() local 331 if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { in main() 332 rlimit.rlim_cur = rlimit.rlim_max; in main() 333 (void) setrlimit(RLIMIT_DATA, &rlimit); in main()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/ |
H A D | rlimits | 15 # undef rlimit 16 # define rlimit rlimit64
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | doulimit.c | 53 static struct rlimit ulimit = {RLIM_INFINITY, RLIM_INFINITY}; 54 static struct rlimit dblimit = {RLIM_INFINITY, RLIM_INFINITY};
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 150 struct rlimit rlimit; in initialize() local 188 rlimit.rlim_cur = rlimit.rlim_max = Rlimit.rlim_max; in initialize() 189 if (setrlimit(RLIMIT_NOFILE, &rlimit) == -1) in initialize() 194 Maxfiles = rlimit.rlim_cur; in initialize()
|
H A D | tmglobal.c | 89 struct rlimit Rlimit;
|
/illumos-gate/usr/src/cmd/ast/libshell/sparcv9/FEATURE/ |
H A D | rlimits | 24 # undef rlimit 25 # define rlimit rlimit64
|
/illumos-gate/usr/src/cmd/ast/libshell/amd64/FEATURE/ |
H A D | rlimits | 24 # undef rlimit 25 # define rlimit rlimit64
|
/illumos-gate/usr/src/cmd/ast/libshell/i386/FEATURE/ |
H A D | rlimits | 25 # undef rlimit 26 # define rlimit rlimit64
|
/illumos-gate/usr/src/cmd/ast/libshell/sparc/FEATURE/ |
H A D | rlimits | 25 # undef rlimit 26 # define rlimit rlimit64
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 413 uint64_t rlimit; in dimm_to_addr() local 433 rlimit = rir[node][channel][i].way[way].rlimit; in dimm_to_addr() 434 if (rlimit && rank_addr >= rlimit) in dimm_to_addr() 879 rir[socket][channel][k].way[l].rlimit == 0) { in set_rank() 880 rir[socket][channel][k].way[l].rlimit = in set_rank() 891 rir[socket][channel][k].way[l].rlimit == 0) { in set_rank() 892 rir[socket][channel][k].way[l].rlimit = rank_addr; in set_rank() 997 rir[i][j][k].way[l].rlimit = 0; in mem_reg_init()
|
/illumos-gate/usr/src/cmd/plimit/ |
H A D | plimit.c | 58 static struct rlimit64 rlimit[RLIM_NLIMITS]; variable 322 struct rlimit64 *rp = &rlimit[which]; in parse_limits() 597 if (set_one_limit(Pr, which, rlimit[which].rlim_cur, in set_limits() 598 rlimit[which].rlim_max) != 0) in set_limits()
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | getdtblsize.c | 54 struct rlimit rip; in getdtablesize()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getdtblsize.c | 49 struct rlimit rip; in getdtablesize()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_getrlimit.c | 40 int resource, struct rlimit *rlp) in pr_getrlimit() 88 int resource, const struct rlimit *rlp) in pr_setrlimit()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 43 struct rlimit limit; in main()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | wait.c | 69 static struct rlimit init_fd_rlimit; 361 struct rlimit fd_new; in wait_init()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | wait.c | 71 static struct rlimit saved_file_limit; 80 struct rlimit rl; in method_init()
|