Searched refs:MCL_CURRENT (Results 1 – 11 of 11) sorted by relevance
20 #define MCL_CURRENT 1 /* lock all current mappings */ macro
21 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
24 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
771 if (!(flags & MCL_CURRENT)) in apply_mlockall_flags()775 if (flags & MCL_CURRENT) { in apply_mlockall_flags()800 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) in SYSCALL_DEFINE1()813 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || in SYSCALL_DEFINE1()817 if (!ret && (flags & MCL_CURRENT)) in SYSCALL_DEFINE1()
505 if (mlockall(MCL_CURRENT)) { in test_munlockall()531 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()547 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()659 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
41 #define MCL_CURRENT 8192 /* lock all currently mapped pages */ macro
35 #define MCL_CURRENT 1 /* lock all current mappings */ macro
65 #define MCL_CURRENT 1 /* lock all current mappings */ macro
78 #define MCL_CURRENT 1 /* lock all current mappings */ macro
144 mlockall(MCL_CURRENT|MCL_FUTURE); in main()