Searched refs:memlock_limit (Results 1 – 1 of 1) sorted by relevance
52 unsigned long memlock_limit; in bpf_map_charge_memlock() local54 memlock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in bpf_map_charge_memlock()58 if (atomic_long_read(&user->locked_vm) > memlock_limit) { in bpf_map_charge_memlock()515 unsigned long memlock_limit; in bpf_prog_charge_memlock() local517 memlock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in bpf_prog_charge_memlock()520 if (atomic_long_read(&user->locked_vm) > memlock_limit) { in bpf_prog_charge_memlock()