Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 25 of 44) sorted by relevance

12

/linux-3.4.99/include/linux/
Dresource.h42 struct rlimit { struct
85 struct rlimit *new_rlim, struct rlimit *old_rlim);
Dsyscalls.h37 struct rlimit;
650 struct rlimit __user *rlim);
652 asmlinkage long sys_old_getrlimit(unsigned int resource, struct rlimit __user *rlim);
655 struct rlimit __user *rlim);
Dsecurity.h32 struct rlimit;
1522 struct rlimit *new_rlim);
1779 struct rlimit *new_rlim);
2324 struct rlimit *new_rlim) in security_task_setrlimit()
/linux-3.4.99/security/apparmor/include/
Dresource.h34 struct rlimit limits[RLIM_NLIMITS];
41 unsigned int resource, struct rlimit *new_rlim);
/linux-3.4.99/arch/tile/mm/
Dmmap.c34 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
66 if (!is_32bit || rlimit(RLIMIT_STACK) == RLIM_INFINITY) { in arch_pick_mmap_layout()
/linux-3.4.99/arch/powerpc/mm/
Dmmap_64.c50 if (rlimit(RLIMIT_STACK) == RLIM_INFINITY) in mmap_is_legacy()
72 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
/linux-3.4.99/arch/x86/mm/
Dmmap.c62 if (rlimit(RLIMIT_STACK) == RLIM_INFINITY) in mmap_is_legacy()
87 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
/linux-3.4.99/security/apparmor/
Dresource.c91 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit()
115 struct rlimit *rlim, *initrlim; in __aa_transition_rlimits()
/linux-3.4.99/arch/s390/mm/
Dmmap.c56 if (rlimit(RLIMIT_STACK) == RLIM_INFINITY) in mmap_is_legacy()
71 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
/linux-3.4.99/kernel/
Dsys.c670 if (atomic_read(&new_user->processes) >= rlimit(RLIMIT_NPROC) && in set_user()
1382 SYSCALL_DEFINE2(getrlimit, unsigned int, resource, struct rlimit __user *, rlim) in SYSCALL_DEFINE2()
1384 struct rlimit value; in SYSCALL_DEFINE2()
1401 struct rlimit __user *, rlim) in SYSCALL_DEFINE2()
1403 struct rlimit x; in SYSCALL_DEFINE2()
1428 static void rlim_to_rlim64(const struct rlimit *rlim, struct rlimit64 *rlim64) in rlim_to_rlim64()
1440 static void rlim64_to_rlim(const struct rlimit64 *rlim64, struct rlimit *rlim) in rlim64_to_rlim()
1454 struct rlimit *new_rlim, struct rlimit *old_rlim) in do_prlimit()
1456 struct rlimit *rlim; in do_prlimit()
1547 struct rlimit old, new; in SYSCALL_DEFINE4()
[all …]
Dcompat.c430 struct rlimit r; in compat_sys_setrlimit()
449 struct rlimit r; in compat_sys_old_getrlimit()
476 struct rlimit r; in compat_sys_getrlimit()
/linux-3.4.99/mm/
Dmlock.c28 if (rlimit(RLIMIT_MEMLOCK) != 0) in can_do_mlock()
500 lock_limit = rlimit(RLIMIT_MEMLOCK); in SYSCALL_DEFINE2()
566 lock_limit = rlimit(RLIMIT_MEMLOCK); in SYSCALL_DEFINE1()
604 lock_limit = rlimit(RLIMIT_MEMLOCK); in user_shm_lock()
Dmmap.c277 rlim = rlimit(RLIMIT_DATA); in SYSCALL_DEFINE1()
1047 lock_limit = rlimit(RLIMIT_MEMLOCK); in do_mmap_pgoff()
1729 struct rlimit *rlim = current->signal->rlim; in acct_stack_growth()
2273 lock_limit = rlimit(RLIMIT_MEMLOCK); in do_brk()
2523 lim = rlimit(RLIMIT_AS) >> PAGE_SHIFT; in may_expand_vm()
/linux-3.4.99/arch/mips/mm/
Dmmap.c30 if (rlimit(RLIMIT_STACK) == RLIM_INFINITY) in mmap_is_legacy()
38 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
/linux-3.4.99/arch/arm/mm/
Dmmap.c39 if (rlimit(RLIMIT_STACK) == RLIM_INFINITY) in mmap_is_legacy()
47 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_user_pages.c61 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __qib_get_user_pages()
/linux-3.4.99/arch/um/os-Linux/
Dmain.c27 struct rlimit lim; in set_stklim()
Dstart_up.c340 struct rlimit lim; in check_coredump_limit()
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_user_pages.c63 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __ipath_get_user_pages()
/linux-3.4.99/fs/
Dattr.c101 limit = rlimit(RLIMIT_FSIZE); in inode_newsize_ok()
Dexec.c210 struct rlimit *rlim; in get_arg_page()
740 rlim_stack = rlimit(RLIMIT_STACK) & PAGE_MASK; in setup_arg_pages()
1497 atomic_read(&cred->user->processes) > rlimit(RLIMIT_NPROC)) { in do_execve_common()
1819 rlimit(RLIMIT_CORE)); in format_corename()
2103 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
2123 .limit = rlimit(RLIMIT_CORE), in do_coredump()
Dfile.c258 if (nr >= rlimit(RLIMIT_NOFILE)) in expand_files()
Dbinfmt_aout.c231 rlim = rlimit(RLIMIT_DATA); in load_aout_binary()
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dcoredump.c57 unsigned long limit = rlimit(RLIMIT_CORE); in spufs_dump_write()
/linux-3.4.99/drivers/infiniband/core/
Dumem.c141 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in ib_umem_get()

12