Searched refs:nofile_rlim (Results 1 – 2 of 2) sorted by relevance
130 unsigned nofile_rlim = 1024*1024; in allow_files() local134 igt_assert(fscanf(file, "%u", &nofile_rlim) == 1); in allow_files()135 igt_info("System limit for open files is %u\n", nofile_rlim); in allow_files()139 if (min > nofile_rlim) in allow_files()
1643 unsigned nofile_rlim = 1024*1024; in igt_allow_unlimited_files() local1647 igt_assert(fscanf(file, "%u", &nofile_rlim) == 1); in igt_allow_unlimited_files()1648 igt_info("System limit for open files is %u\n", nofile_rlim); in igt_allow_unlimited_files()1655 rlim.rlim_cur = nofile_rlim; in igt_allow_unlimited_files()1656 rlim.rlim_max = nofile_rlim; in igt_allow_unlimited_files()