Home
last modified time | relevance | path

Searched refs:UCOUNT_RLIMIT_MEMLOCK (Results 1 – 4 of 4) sorted by relevance

/linux/mm/
A Dmlock.c834 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
837 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
841 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
853 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, (size + PAGE_SIZE - 1) >> PAGE_SHIFT); in user_shm_unlock()
/linux/include/linux/
A Duser_namespace.h60 UCOUNT_RLIMIT_MEMLOCK, enumerator
/linux/kernel/
A Duser_namespace.c128 set_rlimit_ucount_max(ns, UCOUNT_RLIMIT_MEMLOCK, rlimit(RLIMIT_MEMLOCK)); in create_user_ns()
A Dfork.c845 set_rlimit_ucount_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()

Completed in 12 milliseconds