Searched refs:rlim (Results 1 – 13 of 13) sorted by relevance
225 unsigned long rlim; in load_aout_binary() local249 rlim = current->signal->rlim[RLIMIT_DATA].rlim_cur; in load_aout_binary()250 if (rlim >= RLIM_INFINITY) in load_aout_binary()251 rlim = ~0; in load_aout_binary()252 if (ex.a_data + ex.a_bss > rlim) in load_aout_binary()
421 unsigned long memp_size, extra, rlim; in load_flat_file() local495 rlim = current->signal->rlim[RLIMIT_DATA].rlim_cur; in load_flat_file()496 if (rlim >= RLIM_INFINITY) in load_flat_file()497 rlim = ~0; in load_flat_file()498 if (data_len + bss_len > rlim) { in load_flat_file()
191 struct rlimit *rlim; in get_arg_page() local207 rlim = current->signal->rlim; in get_arg_page()208 if (size > rlim[RLIMIT_STACK].rlim_cur / 4) { in get_arg_page()587 stack_base = current->signal->rlim[RLIMIT_STACK].rlim_max; in setup_arg_pages()1496 "%lu", current->signal->rlim[RLIMIT_CORE].rlim_cur); in format_corename()1732 unsigned long core_limit = current->signal->rlim[RLIMIT_CORE].rlim_cur; in do_coredump()
259 if (nr >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in expand_files()
270 if (arg >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in do_fcntl()
784 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in do_sys_poll()
2314 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in generic_cont_expand_simple()
267 qlim = p->signal->rlim[RLIMIT_SIGPENDING].rlim_cur; in task_sig()399 rsslim = sig->rlim[RLIMIT_RSS].rlim_cur; in do_task_stat()
504 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits() local508 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()518 if (rlim[i].rlim_cur == RLIM_INFINITY) in proc_pid_limits()523 lnames[i].name, rlim[i].rlim_cur); in proc_pid_limits()525 if (rlim[i].rlim_max == RLIM_INFINITY) in proc_pid_limits()529 rlim[i].rlim_max); in proc_pid_limits()
75 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in ramfs_nommu_expand_for_mapping()
402 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in nfs_vmtruncate()
1239 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in fuse_do_setattr()
1661 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur;