Searched refs:can_do_mlock (Results 1 – 2 of 2) sorted by relevance
27 int can_do_mlock(void) in can_do_mlock() function35 EXPORT_SYMBOL(can_do_mlock);734 if (!can_do_mlock()) in SYSCALL_DEFINE2()809 if (!can_do_mlock()) in SYSCALL_DEFINE1()
1350 if (!can_do_mlock()) in do_mmap_pgoff()