/third_party/ninja/src/ |
H A D | subprocess_test.cc | 226 rlimit rlim; in TEST_F()
|
/third_party/mesa3d/src/util/ |
H A D | os_misc.c | 301 struct rlimit rl; in os_get_available_system_memory()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
H A D | s-c.c | 94 struct rlimit rl; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/ |
H A D | s-c.c | 102 struct rlimit rl; in main()
|
/kernel/linux/linux-6.6/fs/ |
H A D | file.c | 564 return __get_unused_fd_flags(flags, rlimit(RLIMIT_NOFILE)); in get_unused_fd_flags() 1157 if (fd >= rlimit(RLIMIT_NOFILE)) in replace_fd() 1244 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3() 1303 unsigned long nofile = rlimit(RLIMIT_NOFILE); in f_dupfd()
|
H A D | attr.c | 255 limit = rlimit(RLIMIT_FSIZE); in inode_newsize_ok()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | user_namespace.c | 69 limit = rlimit(RLIMIT_NPROC); in enforced_nproc_rlimit() 143 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MSGQUEUE, rlimit(RLIMIT_MSGQUEUE)); in create_user_ns() 144 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_SIGPENDING, rlimit(RLIMIT_SIGPENDING)); in create_user_ns() 145 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MEMLOCK, rlimit(RLIMIT_MEMLOCK)); in create_user_ns()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 440 static struct rlimit rlim_old; 447 struct rlimit rlim_new; in main_ctor()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 438 static struct rlimit rlim_old; 445 struct rlimit rlim_new; in main_ctor()
|
/third_party/python/Lib/lib2to3/tests/data/ |
H A D | infinite_recursion.py | 2275 class rlimit(Structure): class 2277 rlimit._pack_ = 4 2278 rlimit._fields_ = [ 2282 assert sizeof(rlimit) == 16, sizeof(rlimit) 2283 assert alignment(rlimit) == 4, alignment(rlimit) 2654 '__darwin_rune_t', 'rlimit', '__darwin_pthread_once_t',
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | start_up.c | 303 struct rlimit lim; in check_coredump_limit()
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | sys_parisc.c | 80 unsigned long mmap_upper_limit(struct rlimit *rlim_stack) in mmap_upper_limit()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | start_up.c | 303 struct rlimit lim; in check_coredump_limit()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | task_fd_query_user.c | 293 struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY}; in main()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | dso-data.c | 240 struct rlimit rlim; in set_fd_limit()
|
/kernel/linux/linux-5.10/fs/ |
H A D | attr.c | 200 limit = rlimit(RLIMIT_FSIZE); in inode_newsize_ok()
|
H A D | binfmt_aout.c | 147 rlim = rlimit(RLIMIT_DATA); in load_aout_binary()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | openclose.c | 73 open->nofile = rlimit(RLIMIT_NOFILE); in __io_openat_prep()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | shstk.c | 132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | dso-data.c | 240 struct rlimit rlim; in set_fd_limit()
|
/third_party/libuv/test/ |
H A D | task.h | 298 struct rlimit lim; \
|
/third_party/musl/src/fdsan/linux/ |
H A D | fdsan.c | 69 struct rlimit rlim = { .rlim_max = 32768 }; in get_fd_entry()
|
/third_party/libinput/test/ |
H A D | litest-selftest.c | 446 const struct rlimit corelimit = { 0, 0 }; in main()
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 383 struct rlimit rl; in set_scheduler() 428 pa_log_info("Clamping rlimit-rttime to %lld for RealtimeKit", rttime); in set_scheduler()
|
/kernel/linux/linux-5.10/mm/ |
H A D | mmap.c | 230 * Check against rlimit here. If this check is done later after the test in SYSCALL_DEFINE1() 235 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1() 1374 lock_limit = rlimit(RLIMIT_MEMLOCK); in mlock_future_check() 2417 if (size > rlimit(RLIMIT_STACK)) in acct_stack_growth() 2425 limit = rlimit(RLIMIT_MEMLOCK); in acct_stack_growth() 3429 if (mm->total_vm + npages > rlimit(RLIMIT_AS) >> PAGE_SHIFT) in may_expand_vm() 3433 mm->data_vm + npages > rlimit(RLIMIT_DATA) >> PAGE_SHIFT) { in may_expand_vm() 3435 if (rlimit(RLIMIT_DATA) == 0 && in may_expand_vm() 3442 rlimit(RLIMIT_DATA), in may_expand_vm()
|