Searched refs:CAP_IPC_LOCK (Results 1 – 15 of 15) sorted by relevance
31 if (capable(CAP_IPC_LOCK)) in can_do_mlock()630 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in do_mlock()742 capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE1()779 locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) in user_shm_lock()
378 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in vma_to_resize()
1258 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mlock_future_check()2126 if (locked > limit && !capable(CAP_IPC_LOCK)) in acct_stack_growth()
200 #define CAP_IPC_LOCK 14 macro
80 if (num_pages > lock_limit && !capable(CAP_IPC_LOCK)) { in __hfi1_get_user_pages()
63 if (num_pages > lock_limit && !capable(CAP_IPC_LOCK)) { in __qib_get_user_pages()
171 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in ib_umem_get()
45 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mm_iommu_adjust_locked_vm()
136 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in usnic_uiom_get_pages()
266 bool lock_cap = capable(CAP_IPC_LOCK); in vfio_pin_pages()
47 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in try_increment_locked_vm()
1027 if (!ns_capable(ns->user_ns, CAP_IPC_LOCK)) { in SYSCALL_DEFINE3()
1215 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
302 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in __scif_check_inc_pinned_vm()
4868 !capable(CAP_IPC_LOCK)) { in perf_mmap()