Searched refs:rlimit (Results 51 - 75 of 88) sorted by relevance
1234
/linux-master/kernel/ |
H A D | acct.c | 501 flim = rlimit(RLIMIT_FSIZE);
|
/linux-master/io_uring/ |
H A D | rsrc.c | 51 page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; 713 if (nr_args > rlimit(RLIMIT_NOFILE))
|
H A D | net.c | 1503 accept->nofile = rlimit(RLIMIT_NOFILE); 1613 sock->nofile = rlimit(RLIMIT_NOFILE);
|
/linux-master/tools/bpf/bpftool/ |
H A D | common.c | 86 * Libbpf also offers to probe for memcg-based accounting vs rlimit, but does 90 * Instead, we can probe by lowering the process-based rlimit to 0, trying to 91 * load a BPF object, and resetting the rlimit. If the load succeeds then 95 * applications might attempt to load items while the rlimit is at 0. Given 100 struct rlimit rlim_init, rlim_cur_zero = {}; 132 /* reset soft rlimit to its initial value */ 144 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY };
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 904 * int getrlimit(int resource, struct rlimit *rlim); 905 * int setrlimit(int resource, const struct rlimit *rlim); 916 int getrlimit(int resource, struct rlimit *rlim) 929 int setrlimit(int resource, const struct rlimit *rlim)
|
/linux-master/mm/ |
H A D | mmap.c | 210 * Check against rlimit here. If this check is done later after the test 215 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, 1173 limit_pages = rlimit(RLIMIT_MEMLOCK); 1985 if (size > rlimit(RLIMIT_STACK)) 3485 if (mm->total_vm + npages > rlimit(RLIMIT_AS) >> PAGE_SHIFT) 3489 mm->data_vm + npages > rlimit(RLIMIT_DATA) >> PAGE_SHIFT) { 3491 if (rlimit(RLIMIT_DATA) == 0 && 3498 rlimit(RLIMIT_DATA),
|
/linux-master/include/linux/ |
H A D | security.h | 40 struct rlimit; 459 struct rlimit *new_rlim); 1259 struct rlimit *new_rlim)
|
H A D | syscalls.h | 35 struct rlimit; 690 struct rlimit __user *rlim); 692 struct rlimit __user *rlim); 1167 asmlinkage long sys_old_getrlimit(unsigned int resource, struct rlimit __user *rlim);
|
H A D | lsm_hook_defs.h | 243 struct rlimit *new_rlim)
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | sk_storage_map.c | 398 struct rlimit rlim_old, rlim_new = {};
|
/linux-master/arch/s390/kvm/ |
H A D | pci.c | 209 page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT;
|
/linux-master/fs/zonefs/ |
H A D | file.c | 393 loff_t limit = rlimit(RLIMIT_FSIZE);
|
/linux-master/arch/sparc/kernel/ |
H A D | sys_sparc_64.c | 276 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack)
|
/linux-master/fs/ |
H A D | binfmt_flat.c | 498 rlim = rlimit(RLIMIT_DATA);
|
H A D | select.c | 988 if (nfds > rlimit(RLIMIT_NOFILE))
|
H A D | exec.c | 1498 /* Store any stack rlimit changes before starting thread. */ 1940 is_rlimit_overlimit(current_ucounts(), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) {
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | perf-hwbreak.c | 148 struct rlimit rlim;
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 1453 unsigned long pfn, limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; 1671 unsigned long limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT;
|
/linux-master/tools/perf/util/ |
H A D | dso.c | 676 struct rlimit l;
|
/linux-master/ipc/ |
H A D | mqueue.c | 378 if (msgqueue == LONG_MAX || msgqueue > rlimit(RLIMIT_MSGQUEUE)) {
|
H A D | shm.c | 1195 if (cmd == SHM_LOCK && !rlimit(RLIMIT_MEMLOCK)) {
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 1116 lock_limit = PFN_DOWN(rlimit(RLIMIT_MEMLOCK));
|
/linux-master/security/apparmor/ |
H A D | lsm.c | 999 unsigned int resource, struct rlimit *new_rlim)
|
/linux-master/security/selinux/ |
H A D | hooks.c | 2474 struct rlimit *rlim, *initrlim; 2509 update_rlimit_cpu(current, rlimit(RLIMIT_CPU)); 4203 struct rlimit *new_rlim) 4205 struct rlimit *old_rlim = p->signal->rlim + resource;
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.c | 149 struct rlimit rlim;
|
Completed in 301 milliseconds
1234