Searched refs:CAP_IPC_LOCK (Results 1 – 12 of 12) sorted by relevance
31 if (capable(CAP_IPC_LOCK)) in can_do_mlock()630 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE2()705 capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE1()742 locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) in user_shm_lock()
374 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in vma_to_resize()
1245 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mlock_future_check()2117 if (locked > limit && !capable(CAP_IPC_LOCK)) in acct_stack_growth()
200 #define CAP_IPC_LOCK 14 macro
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()
87 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in tce_iommu_enable()
266 bool lock_cap = capable(CAP_IPC_LOCK); in vfio_pin_pages()
136 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in usnic_uiom_get_pages()
948 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
1027 if (!ns_capable(ns->user_ns, CAP_IPC_LOCK)) { in SYSCALL_DEFINE3()
4702 !capable(CAP_IPC_LOCK)) { in perf_mmap()