Searched refs:MCL_CURRENT (Results 1 – 12 of 12) sorted by relevance
697 if (!(flags & MCL_CURRENT)) in apply_mlockall_flags()701 if (flags & MCL_CURRENT) { in apply_mlockall_flags()726 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) in SYSCALL_DEFINE1()732 if (flags & MCL_CURRENT) in SYSCALL_DEFINE1()741 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || in SYSCALL_DEFINE1()745 if (!ret && (flags & MCL_CURRENT)) in SYSCALL_DEFINE1()
18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
37 #define MCL_CURRENT 1 /* lock all current mappings */ macro
23 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
18 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
23 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
563 if (mlockall(MCL_CURRENT)) { in test_munlockall()589 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()605 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()717 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
32 #define MCL_CURRENT 1 /* lock all current mappings */ macro
38 #define MCL_CURRENT 8192 /* lock all currently mapped pages */ macro
62 #define MCL_CURRENT 1 /* lock all current mappings */ macro
75 #define MCL_CURRENT 1 /* lock all current mappings */ macro
144 mlockall(MCL_CURRENT|MCL_FUTURE); in main()