Lines Matching refs:ATF_REQUIRE
97 ATF_REQUIRE(vec != NULL);
98 ATF_REQUIRE(mincore(addr, npgs * page, vec) == 0);
129 ATF_REQUIRE(vec != NULL);
130 ATF_REQUIRE(map != MAP_FAILED);
142 ATF_REQUIRE(munmap(map, page) == 0);
160 ATF_REQUIRE(getrlimit(RLIMIT_MEMLOCK, &rlim) == 0);
167 ATF_REQUIRE(setrlimit(RLIMIT_MEMLOCK, &rlim) == 0);
174 ATF_REQUIRE(fd >= 0);
175 ATF_REQUIRE(buf != NULL);
178 ATF_REQUIRE(rv >= 0);
180 ATF_REQUIRE(fd >= 0);
181 ATF_REQUIRE(fstat(fd, &st) == 0);
186 ATF_REQUIRE(addr != MAP_FAILED);
200 ATF_REQUIRE(munmap(addr, st.st_size) == 0);
211 ATF_REQUIRE(check_residency(addr, npgs) == npgs);
212 ATF_REQUIRE(munmap(addr, npgs * page) == 0);
219 ATF_REQUIRE(addr != MAP_FAILED);
224 ATF_REQUIRE(check_residency(addr, npgs) == 0);
247 ATF_REQUIRE(check_residency(addr2, npgs) == npgs);
248 ATF_REQUIRE(check_residency(addr3, npgs) == 0);
250 ATF_REQUIRE(check_residency(addr, npgs) == npgs);
251 ATF_REQUIRE(check_residency(addr2, npgs) == npgs);
256 ATF_REQUIRE(check_residency(addr2, npgs) == 0);
261 ATF_REQUIRE(check_residency(addr, npgs) == 0);
325 ATF_REQUIRE(check_residency(addr, npgs) == 0);
329 ATF_REQUIRE(check_residency(addr, npgs) == npgs);
357 ATF_REQUIRE(page >= 0);