/linux-3.4.99/include/linux/ |
D | resource.h | 42 struct rlimit { struct 85 struct rlimit *new_rlim, struct rlimit *old_rlim);
|
D | syscalls.h | 37 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);
|
D | security.h | 32 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/ |
D | resource.h | 34 struct rlimit limits[RLIM_NLIMITS]; 41 unsigned int resource, struct rlimit *new_rlim);
|
/linux-3.4.99/arch/tile/mm/ |
D | mmap.c | 34 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/ |
D | mmap_64.c | 50 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/ |
D | mmap.c | 62 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/ |
D | resource.c | 91 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/ |
D | mmap.c | 56 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/ |
D | sys.c | 670 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 …]
|
D | compat.c | 430 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/ |
D | mlock.c | 28 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()
|
D | mmap.c | 277 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/ |
D | mmap.c | 30 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/ |
D | mmap.c | 39 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/ |
D | qib_user_pages.c | 61 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __qib_get_user_pages()
|
/linux-3.4.99/arch/um/os-Linux/ |
D | main.c | 27 struct rlimit lim; in set_stklim()
|
D | start_up.c | 340 struct rlimit lim; in check_coredump_limit()
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_user_pages.c | 63 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __ipath_get_user_pages()
|
/linux-3.4.99/fs/ |
D | attr.c | 101 limit = rlimit(RLIMIT_FSIZE); in inode_newsize_ok()
|
D | exec.c | 210 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()
|
D | file.c | 258 if (nr >= rlimit(RLIMIT_NOFILE)) in expand_files()
|
D | binfmt_aout.c | 231 rlim = rlimit(RLIMIT_DATA); in load_aout_binary()
|
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 57 unsigned long limit = rlimit(RLIMIT_CORE); in spufs_dump_write()
|
/linux-3.4.99/drivers/infiniband/core/ |
D | umem.c | 141 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in ib_umem_get()
|