Home
last modified time | relevance | path

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

/freebsd/tests/sys/posixshm/
H A Dposixshm_test.c210 check_content_dealloc(int fd, off_t hole_start, off_t hole_len, off_t shm_sz) in check_content_dealloc() argument
227 if ((uint64_t)hole_start + hole_len > (uint64_t)shm_sz) in check_content_dealloc()
228 hole_len = shm_sz - hole_start; in check_content_dealloc()
274 resid = shm_sz - offset; in check_content_dealloc()
294 if (statbuf.st_size != shm_sz) in check_content_dealloc()
1090 off_t offset, length, shm_sz; in ATF_TC_BODY() local
1095 shm_sz = shm_max_pages * page_size; in ATF_TC_BODY()
1099 ATF_REQUIRE_MSG((error = posix_fallocate(fd, 0, shm_sz)) == 0, in ATF_TC_BODY()
1103 ATF_REQUIRE(shm_fill(fd, 0, shm_sz) == 0); in ATF_TC_BODY()
1109 ATF_CHECK_MSG(check_content_dealloc(fd, offset, length, shm_sz) == 0, in ATF_TC_BODY()
[all …]