Searched refs:CAP_IPC_LOCK (Results 1 – 19 of 19) sorted by relevance
44 if (capable(CAP_IPC_LOCK)) in can_do_mlock()589 if ((locked > lock_limit) && (!capable(CAP_IPC_LOCK))) { in do_mlock()601 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in do_mlock()717 capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE1()756 if ((memlock == LONG_MAX || memlock > lock_limit) && !capable(CAP_IPC_LOCK)) { in user_shm_lock()
500 capable(CAP_IPC_LOCK)); in account_locked_vm()
1198 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mlock_future_check()
36 bool can_lock = capable(CAP_IPC_LOCK); in hfi1_can_pin_pages()
215 #define CAP_IPC_LOCK 14 macro
104 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in qib_get_user_pages()
243 imposed but ignored for unprivileged processes with CAP_IPC_LOCK252 unprivileged processes with CAP_IPC_LOCK capability.259 unprivileged processes with CAP_IPC_LOCK capability.302 for processes with the CAP_IPC_LOCK capability. Thus, perf_events/Perf305 executable with CAP_IPC_LOCK capability.
132 if (capable(CAP_IPC_LOCK)) in xdp_umem_account_pages()
205 if (new_pinned > lock_limit && !capable(CAP_IPC_LOCK)) { in ib_umem_get()
129 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in usnic_uiom_get_pages()
147 Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK
1560 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
1195 if (!ns_capable(ns->user_ns, CAP_IPC_LOCK)) { in shmctl_do_lock()
1677 dma->lock_cap = capable(CAP_IPC_LOCK); in vfio_dma_do_map()
409 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in sev_pin_memory()
3460 if (!capable(CAP_IPC_LOCK)) in io_uring_create()
866 ``CAP_IPC_LOCK``.
1252 if (capable(CAP_IPC_LOCK) || !size) in mm_account_pinned_pages()
6353 !capable(CAP_IPC_LOCK)) { in perf_mmap()