Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmlock.c754 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
757 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
761 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock()
774 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, (size + PAGE_SIZE - 1) >> PAGE_SHIFT); in user_shm_unlock()
/linux-6.1.9/include/linux/
Duser_namespace.h64 UCOUNT_RLIMIT_MEMLOCK, enumerator
/linux-6.1.9/kernel/
Duser_namespace.c145 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MEMLOCK, rlimit(RLIMIT_MEMLOCK)); in create_user_ns()
Dfork.c934 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()