rlim_cur           33 arch/powerpc/mm/mmap.c 	if (rlim_stack->rlim_cur == RLIM_INFINITY)
rlim_cur           68 arch/powerpc/mm/mmap.c 	unsigned long gap = rlim_stack->rlim_cur;
rlim_cur           34 arch/s390/mm/mmap.c 	if (rlim_stack->rlim_cur == RLIM_INFINITY)
rlim_cur           52 arch/s390/mm/mmap.c 	unsigned long gap = rlim_stack->rlim_cur;
rlim_cur          289 arch/sparc/kernel/sys_sparc_64.c 	gap = rlim_stack->rlim_cur;
rlim_cur           34 arch/um/os-Linux/main.c 	if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) {
rlim_cur           35 arch/um/os-Linux/main.c 		lim.rlim_cur = STACKSIZE;
rlim_cur          312 arch/um/os-Linux/start_up.c 	if (lim.rlim_cur == RLIM_INFINITY)
rlim_cur          315 arch/um/os-Linux/start_up.c 		os_info("%llu\n", (unsigned long long)lim.rlim_cur);
rlim_cur           83 arch/x86/mm/mmap.c 	unsigned long gap = rlim_stack->rlim_cur;
rlim_cur          473 fs/exec.c      	limit = min(limit, bprm->rlim_stack.rlim_cur / 4);
rlim_cur          781 fs/exec.c      	rlim_stack = bprm->rlim_stack.rlim_cur & PAGE_MASK;
rlim_cur         1356 fs/exec.c      		if (bprm->rlim_stack.rlim_cur > _STK_LIM)
rlim_cur         1357 fs/exec.c      			bprm->rlim_stack.rlim_cur = _STK_LIM;
rlim_cur         1513 fs/io_uring.c  			current->signal->rlim[RLIMIT_FSIZE].rlim_cur = req->fsize;
rlim_cur         1521 fs/io_uring.c  			current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY;
rlim_cur          497 fs/proc/array.c 		rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur);
rlim_cur          606 fs/proc/base.c 		if (rlim[i].rlim_cur == RLIM_INFINITY)
rlim_cur          611 fs/proc/base.c 				   lnames[i].name, rlim[i].rlim_cur);
rlim_cur          273 include/linux/compat.h 	compat_ulong_t	rlim_cur;
rlim_cur          687 include/linux/sched/signal.h 	return READ_ONCE(task->signal->rlim[limit].rlim_cur);
rlim_cur           44 include/uapi/linux/resource.h 	__kernel_ulong_t	rlim_cur;
rlim_cur           51 include/uapi/linux/resource.h 	__u64 rlim_cur;
rlim_cur          481 kernel/acct.c  	flim = current->signal->rlim[RLIMIT_FSIZE].rlim_cur;
rlim_cur          482 kernel/acct.c  	current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY;
rlim_cur          524 kernel/acct.c  	current->signal->rlim[RLIMIT_FSIZE].rlim_cur = flim;
rlim_cur          823 kernel/fork.c  	init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2;
rlim_cur         1539 kernel/fork.c  	cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur);
rlim_cur         1406 kernel/sys.c   	if (r32.rlim_cur == COMPAT_RLIM_INFINITY)
rlim_cur         1407 kernel/sys.c   		r.rlim_cur = RLIM_INFINITY;
rlim_cur         1409 kernel/sys.c   		r.rlim_cur = r32.rlim_cur;
rlim_cur         1426 kernel/sys.c   		if (r.rlim_cur > COMPAT_RLIM_INFINITY)
rlim_cur         1427 kernel/sys.c   			r32.rlim_cur = COMPAT_RLIM_INFINITY;
rlim_cur         1429 kernel/sys.c   			r32.rlim_cur = r.rlim_cur;
rlim_cur         1459 kernel/sys.c   	if (x.rlim_cur > 0x7FFFFFFF)
rlim_cur         1460 kernel/sys.c   		x.rlim_cur = 0x7FFFFFFF;
rlim_cur         1479 kernel/sys.c   	if (r.rlim_cur > 0x7FFFFFFF)
rlim_cur         1480 kernel/sys.c   		r.rlim_cur = 0x7FFFFFFF;
rlim_cur         1484 kernel/sys.c   	if (put_user(r.rlim_cur, &rlim->rlim_cur) ||
rlim_cur         1504 kernel/sys.c   	if (rlim->rlim_cur == RLIM_INFINITY)
rlim_cur         1505 kernel/sys.c   		rlim64->rlim_cur = RLIM64_INFINITY;
rlim_cur         1507 kernel/sys.c   		rlim64->rlim_cur = rlim->rlim_cur;
rlim_cur         1516 kernel/sys.c   	if (rlim64_is_infinity(rlim64->rlim_cur))
rlim_cur         1517 kernel/sys.c   		rlim->rlim_cur = RLIM_INFINITY;
rlim_cur         1519 kernel/sys.c   		rlim->rlim_cur = (unsigned long)rlim64->rlim_cur;
rlim_cur         1536 kernel/sys.c   		if (new_rlim->rlim_cur > new_rlim->rlim_max)
rlim_cur         1575 kernel/sys.c   	     new_rlim->rlim_cur != RLIM_INFINITY &&
rlim_cur         1577 kernel/sys.c   		update_rlimit_cpu(tsk, new_rlim->rlim_cur);
rlim_cur          859 kernel/time/posix-cpu-timers.c 			tsk->signal->rlim[RLIMIT_RTTIME].rlim_cur = soft;
rlim_cur          957 kernel/time/posix-cpu-timers.c 			sig->rlim[RLIMIT_CPU].rlim_cur = soft + 1;
rlim_cur          352 mm/util.c      	if (rlim_stack->rlim_cur == RLIM_INFINITY)
rlim_cur          367 mm/util.c      	unsigned long gap = rlim_stack->rlim_cur;
rlim_cur          163 security/apparmor/resource.c 					rlim->rlim_cur = min(rlim->rlim_max,
rlim_cur          164 security/apparmor/resource.c 							    initrlim->rlim_cur);
rlim_cur          184 security/apparmor/resource.c 			rlim->rlim_cur = min(rlim->rlim_cur, rlim->rlim_max);
rlim_cur         2537 security/selinux/hooks.c 			rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur);
rlim_cur          531 tools/io_uring/io_uring-bench.c 		rlim.rlim_cur = RLIM_INFINITY;
rlim_cur          345 tools/perf/bench/epoll-ctl.c 	rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
rlim_cur          465 tools/perf/bench/epoll-wait.c 	rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
rlim_cur          577 tools/perf/builtin-sched.c 				limit.rlim_cur += sched->nr_tasks - cur_task;
rlim_cur          578 tools/perf/builtin-sched.c 				if (limit.rlim_cur > limit.rlim_max) {
rlim_cur          579 tools/perf/builtin-sched.c 					limit.rlim_max = limit.rlim_cur;
rlim_cur          245 tools/perf/tests/dso-data.c 	pr_debug("file limit %ld, new %d\n", (long) rlim.rlim_cur, n);
rlim_cur          247 tools/perf/tests/dso-data.c 	rlim.rlim_cur = n;
rlim_cur          580 tools/perf/util/dso.c 		if (l.rlim_cur == RLIM_INFINITY)
rlim_cur          581 tools/perf/util/dso.c 			limit = l.rlim_cur;
rlim_cur          583 tools/perf/util/dso.c 			limit = l.rlim_cur / 2;
rlim_cur         1734 tools/perf/util/evsel.c 				l.rlim_cur = l.rlim_max;
rlim_cur         1736 tools/perf/util/evsel.c 				l.rlim_cur = l.rlim_max + 1000;
rlim_cur         1737 tools/perf/util/evsel.c 				l.rlim_max = l.rlim_cur;
rlim_cur           18 tools/perf/util/rlimit.c 		rlim.rlim_cur *= 4;
rlim_cur           22 tools/perf/util/rlimit.c 			rlim.rlim_cur /= 2;
rlim_cur            7 tools/testing/selftests/bpf/bpf_rlimit.h 		.rlim_cur	= RLIM_INFINITY,
rlim_cur           24 tools/testing/selftests/bpf/bpf_rlimit.h 		rlim_new.rlim_cur = rlim_old.rlim_cur + (1UL << 20);
rlim_cur          414 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	if (rlim_old.rlim_cur < nr_sk_threads * nr_sk_per_thread) {
rlim_cur          415 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 		rlim_new.rlim_cur = nr_sk_threads * nr_sk_per_thread + 128;
rlim_cur          416 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 		rlim_new.rlim_max = rlim_new.rlim_cur + 128;
rlim_cur          419 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 		      rlim_new.rlim_cur, errno);
rlim_cur          431 tools/testing/selftests/bpf/map_tests/sk_storage_map.c 	if (rlim_new.rlim_cur)
rlim_cur          157 tools/testing/selftests/mqueue/mq_open_tests.c 	if (cur_limits.rlim_cur < 4096) {
rlim_cur          160 tools/testing/selftests/mqueue/mq_open_tests.c 		cur_limits.rlim_cur = 8192;
rlim_cur          168 tools/testing/selftests/mqueue/mq_open_tests.c 		if (rlim_needed > cur_limits.rlim_cur) {
rlim_cur          180 tools/testing/selftests/mqueue/mq_open_tests.c 		if (rlim_needed > cur_limits.rlim_cur) {
rlim_cur          299 tools/testing/selftests/mqueue/mq_open_tests.c 		(long) saved_limits.rlim_cur);
rlim_cur          316 tools/testing/selftests/mqueue/mq_open_tests.c 	printf("\tRLIMIT_MSGQUEUE(soft):\t\t%ld\n", (long) cur_limits.rlim_cur);
rlim_cur          388 tools/testing/selftests/mqueue/mq_open_tests.c 		    cur_limits.rlim_cur) {
rlim_cur          389 tools/testing/selftests/mqueue/mq_open_tests.c 			cur_limits.rlim_cur = (cur_def_msgs + 2) *
rlim_cur          391 tools/testing/selftests/mqueue/mq_open_tests.c 			cur_limits.rlim_max = 2 * cur_limits.rlim_cur;
rlim_cur          408 tools/testing/selftests/mqueue/mq_open_tests.c 		cur_limits.rlim_cur = cur_limits.rlim_max = cur_def_msgs *
rlim_cur          524 tools/testing/selftests/mqueue/mq_perf_tests.c 	cur_limits.rlim_cur = RLIM_INFINITY;
rlim_cur          657 tools/testing/selftests/mqueue/mq_perf_tests.c 		(long) saved_limits.rlim_cur);
rlim_cur          668 tools/testing/selftests/mqueue/mq_perf_tests.c 	if (cur_limits.rlim_cur == RLIM_INFINITY) {
rlim_cur          673 tools/testing/selftests/mqueue/mq_perf_tests.c 		       (long) cur_limits.rlim_cur);
rlim_cur          446 tools/testing/selftests/net/reuseport_bpf.c 	if (rlim_old.rlim_cur != RLIM_INFINITY) {
rlim_cur          449 tools/testing/selftests/net/reuseport_bpf.c 		rlim_new.rlim_cur = rlim_old.rlim_cur + (1UL << 20);
rlim_cur           82 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) {
rlim_cur           83 tools/testing/selftests/powerpc/ptrace/core-pkey.c 		rlim.rlim_cur = CORE_FILE_LIMIT;
rlim_cur           96 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) {
rlim_cur           97 tools/testing/selftests/powerpc/ptrace/core-pkey.c 		rlim.rlim_cur = CORE_FILE_LIMIT;
rlim_cur          177 tools/testing/selftests/vm/compaction_test.c 	lim.rlim_cur = RLIM_INFINITY;
rlim_cur           30 tools/testing/selftests/vm/mlock-random-test.c 	new.rlim_cur = max;
rlim_cur          147 tools/testing/selftests/vm/mlock-random-test.c 	if (cur.rlim_cur < alloc_size) {
rlim_cur          149 tools/testing/selftests/vm/mlock-random-test.c 				alloc_size, (unsigned int)cur.rlim_cur);
rlim_cur          223 tools/testing/selftests/vm/mlock-random-test.c 	if (cur.rlim_cur >= alloc_size) {
rlim_cur          225 tools/testing/selftests/vm/mlock-random-test.c 				alloc_size, (unsigned int)cur.rlim_cur);
rlim_cur          233 tools/testing/selftests/vm/mlock-random-test.c 		int lock_size = (rand() % (alloc_size - cur.rlim_cur))
rlim_cur          234 tools/testing/selftests/vm/mlock-random-test.c 			+ cur.rlim_cur;