Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c398 struct rlimit rlim_old, rlim_new = {}; in test_sk_storage_map_stress_free() local
411 rlim_new.rlim_cur = nr_sk_threads * nr_sk_per_thread + 128; in test_sk_storage_map_stress_free()
412 rlim_new.rlim_max = rlim_new.rlim_cur + 128; in test_sk_storage_map_stress_free()
413 err = setrlimit(RLIMIT_NOFILE, &rlim_new); in test_sk_storage_map_stress_free()
415 rlim_new.rlim_cur, errno); in test_sk_storage_map_stress_free()
427 if (rlim_new.rlim_cur) in test_sk_storage_map_stress_free()
/linux-6.6.21/tools/testing/selftests/net/
Dreuseport_bpf.c445 struct rlimit rlim_new; in main_ctor() local
447 rlim_new.rlim_cur = rlim_old.rlim_cur + (1UL << 20); in main_ctor()
448 rlim_new.rlim_max = rlim_old.rlim_max + (1UL << 20); in main_ctor()
449 setrlimit(RLIMIT_MEMLOCK, &rlim_new); in main_ctor()
/linux-6.6.21/include/linux/
Dposix-timers.h260 int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new);
/linux-6.6.21/kernel/time/
Dposix-cpu-timers.c42 int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new) in update_rlimit_cpu() argument
44 u64 nsecs = rlim_new * NSEC_PER_SEC; in update_rlimit_cpu()