Searched refs:rlim_cur (Results 1 – 6 of 6) sorted by relevance
51 ASSERT_EQ(l64_.rlim_cur, pr_l64_.rlim_cur); in CheckResourceLimits()52 if (l64_.rlim_cur == RLIM64_INFINITY) { in CheckResourceLimits()53 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_cur); in CheckResourceLimits()55 ASSERT_EQ(l64_.rlim_cur, l32_.rlim_cur); in CheckResourceLimits()78 l32_.rlim_cur = 123U; in TEST_F()81 ASSERT_EQ(123U, l32_.rlim_cur); in TEST_F()85 l64_.rlim_cur = 456U; in TEST_F()88 ASSERT_EQ(456U, l64_.rlim_cur); in TEST_F()92 pr_l64_.rlim_cur = pr_l64_.rlim_max; in TEST_F()95 ASSERT_EQ(pr_l64_.rlim_max, pr_l64_.rlim_cur); in TEST_F()
1177 uint64_t original_rlim_cur = rl.rlim_cur; in TEST()1179 if (rl.rlim_cur == RLIM_INFINITY) { in TEST()1180 rl.rlim_cur = 8 * 1024 * 1024; // Bionic reports unlimited stacks as 8MiB. in TEST()1183 EXPECT_EQ(rl.rlim_cur, stack_size); in TEST()1186 rl.rlim_cur = original_rlim_cur; in TEST()1198 rl.rlim_cur = rl.rlim_max = 1024; // 1KiB. We know the stack must be at least a page already. in TEST()1212 rl.rlim_cur = rl.rlim_max = 6666; // Not a whole number of pages. in TEST()
52 __kernel_ulong_t rlim_cur; member59 __u64 rlim_cur; member
126 if (stack_limit.rlim_cur == RLIM_INFINITY) { in __pthread_attr_getstack_main_thread()127 stack_limit.rlim_cur = 8 * 1024 * 1024; in __pthread_attr_getstack_main_thread()144 *stack_size = stack_limit.rlim_cur; in __pthread_attr_getstack_main_thread()
57 return rl.rlim_cur; in __sysconf_rlimit()
283 return r.rlim_cur; in getdtablesize()