Searched refs:rlim_new (Results 1 – 4 of 4) sorted by relevance
398 struct rlimit rlim_old, rlim_new = {}; in test_sk_storage_map_stress_free() local411 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()
445 struct rlimit rlim_new; in main_ctor() local447 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()
260 int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new);
42 int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new) in update_rlimit_cpu() argument44 u64 nsecs = rlim_new * NSEC_PER_SEC; in update_rlimit_cpu()