Searched refs:UCOUNT_RLIMIT_MEMLOCK (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/mm/ |
D | mlock.c | 762 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 765 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 769 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 782 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, (size + PAGE_SIZE - 1) >> PAGE_SHIFT); in user_shm_unlock()
|
/Linux-v6.6/include/linux/ |
D | user_namespace.h | 64 UCOUNT_RLIMIT_MEMLOCK, enumerator
|
/Linux-v6.6/kernel/ |
D | user_namespace.c | 145 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MEMLOCK, rlimit(RLIMIT_MEMLOCK)); in create_user_ns()
|
D | fork.c | 1075 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()
|