Searched refs:rlim (Results 1 – 6 of 6) sorted by relevance
209 unsigned long rlim; in load_aout_binary() local233 rlim = rlimit(RLIMIT_DATA); in load_aout_binary()234 if (rlim >= RLIM_INFINITY) in load_aout_binary()235 rlim = ~0; in load_aout_binary()236 if (ex.a_data + ex.a_bss > rlim) in load_aout_binary()
435 unsigned long memp_size, extra, rlim; in load_flat_file() local510 rlim = rlimit(RLIMIT_DATA); in load_flat_file()511 if (rlim >= RLIM_INFINITY) in load_flat_file()512 rlim = ~0; in load_flat_file()513 if (data_len + bss_len > rlim) { in load_flat_file()
199 struct rlimit *rlim; in get_arg_page() local217 rlim = current->signal->rlim; in get_arg_page()218 if (size > ACCESS_ONCE(rlim[RLIMIT_STACK].rlim_cur) / 4) { in get_arg_page()
480 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
484 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits() local488 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()498 if (rlim[i].rlim_cur == RLIM_INFINITY) in proc_pid_limits()503 lnames[i].name, rlim[i].rlim_cur); in proc_pid_limits()505 if (rlim[i].rlim_max == RLIM_INFINITY) in proc_pid_limits()509 rlim[i].rlim_max); in proc_pid_limits()
448 rsslim = ACCESS_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()