Home
last modified time | relevance | path

Searched refs:rlim (Results 1 – 13 of 13) sorted by relevance

/fs/
Dbinfmt_aout.c225 unsigned long rlim; in load_aout_binary() local
249 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()
Dbinfmt_flat.c421 unsigned long memp_size, extra, rlim; in load_flat_file() local
495 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()
Dexec.c191 struct rlimit *rlim; in get_arg_page() local
207 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()
Dfile.c259 if (nr >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in expand_files()
Dfcntl.c270 if (arg >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in do_fcntl()
Dselect.c784 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in do_sys_poll()
Dbuffer.c2314 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in generic_cont_expand_simple()
/fs/proc/
Darray.c267 qlim = p->signal->rlim[RLIMIT_SIGPENDING].rlim_cur; in task_sig()
399 rsslim = sig->rlim[RLIMIT_RSS].rlim_cur; in do_task_stat()
Dbase.c504 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits() local
508 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()
/fs/ramfs/
Dfile-nommu.c75 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in ramfs_nommu_expand_for_mapping()
/fs/nfs/
Dinode.c402 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in nfs_vmtruncate()
/fs/fuse/
Ddir.c1239 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in fuse_do_setattr()
/fs/cifs/
Dinode.c1661 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur;