Searched refs:can_do_mlock (Results 1 – 7 of 7) sorted by relevance
29 bool can_do_mlock(void) in can_do_mlock() function37 EXPORT_SYMBOL(can_do_mlock);684 if (!can_do_mlock()) in do_mlock()813 if (!can_do_mlock()) in SYSCALL_DEFINE1()
1491 if (!can_do_mlock()) in do_mmap()
164 if (!can_do_mlock()) in ib_umem_get()
374 if (!can_do_mlock()) in siw_umem_get()
114 if (!can_do_mlock()) in usnic_uiom_get_pages()
208 if (!can_do_mlock()) { in __rds_rdma_map()
1659 extern bool can_do_mlock(void);1661 static inline bool can_do_mlock(void) { return false; } in can_do_mlock() function