lock_limit 1832 arch/x86/kvm/svm.c unsigned long locked, lock_limit; lock_limit 1845 arch/x86/kvm/svm.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 1846 arch/x86/kvm/svm.c if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { lock_limit 1847 arch/x86/kvm/svm.c pr_err("SEV: %lu locked pages exceed the lock limit of %lu.\n", locked, lock_limit); lock_limit 199 drivers/infiniband/core/umem.c unsigned long lock_limit; lock_limit 256 drivers/infiniband/core/umem.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 259 drivers/infiniband/core/umem.c if (new_pinned > lock_limit && !capable(CAP_IPC_LOCK)) { lock_limit 97 drivers/infiniband/hw/qib/qib_user_pages.c unsigned long locked, lock_limit; lock_limit 101 drivers/infiniband/hw/qib/qib_user_pages.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 104 drivers/infiniband/hw/qib/qib_user_pages.c if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { lock_limit 93 drivers/infiniband/hw/usnic/usnic_uiom.c unsigned long lock_limit; lock_limit 129 drivers/infiniband/hw/usnic/usnic_uiom.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 131 drivers/infiniband/hw/usnic/usnic_uiom.c if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { lock_limit 278 drivers/misc/mic/scif/scif_rma.c unsigned long locked, lock_limit; lock_limit 283 drivers/misc/mic/scif/scif_rma.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 286 drivers/misc/mic/scif/scif_rma.c if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { lock_limit 290 drivers/misc/mic/scif/scif_rma.c locked, lock_limit); lock_limit 5709 kernel/events/core.c unsigned long locked, lock_limit; lock_limit 5856 kernel/events/core.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 5857 kernel/events/core.c lock_limit >>= PAGE_SHIFT; lock_limit 5860 kernel/events/core.c if ((locked > lock_limit) && perf_paranoid_tracepoint_raw() && lock_limit 674 mm/mlock.c unsigned long lock_limit; lock_limit 685 mm/mlock.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 686 mm/mlock.c lock_limit >>= PAGE_SHIFT; lock_limit 693 mm/mlock.c if ((locked > lock_limit) && (!capable(CAP_IPC_LOCK))) { lock_limit 705 mm/mlock.c if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) lock_limit 801 mm/mlock.c unsigned long lock_limit; lock_limit 811 mm/mlock.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 812 mm/mlock.c lock_limit >>= PAGE_SHIFT; lock_limit 818 mm/mlock.c if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || lock_limit 847 mm/mlock.c unsigned long lock_limit, locked; lock_limit 851 mm/mlock.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 852 mm/mlock.c if (lock_limit == RLIM_INFINITY) lock_limit 854 mm/mlock.c lock_limit >>= PAGE_SHIFT; lock_limit 857 mm/mlock.c locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) lock_limit 1340 mm/mmap.c unsigned long locked, lock_limit; lock_limit 1346 mm/mmap.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 1347 mm/mmap.c lock_limit >>= PAGE_SHIFT; lock_limit 1348 mm/mmap.c if (locked > lock_limit && !capable(CAP_IPC_LOCK)) lock_limit 476 mm/mremap.c unsigned long locked, lock_limit; lock_limit 478 mm/mremap.c lock_limit = rlimit(RLIMIT_MEMLOCK); lock_limit 480 mm/mremap.c if (locked > lock_limit && !capable(CAP_IPC_LOCK)) lock_limit 319 net/xdp/xdp_umem.c unsigned long lock_limit, new_npgs, old_npgs; lock_limit 324 net/xdp/xdp_umem.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; lock_limit 330 net/xdp/xdp_umem.c if (new_npgs > lock_limit) {