Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c88 vec = malloc(npgs); in check_residency()
188 npgs++; in ATF_TC_BODY()
197 npgs = 128; in ATF_TC_BODY()
216 ATF_REQUIRE(check_residency(addr, npgs) == npgs); in ATF_TC_BODY()
219 npgs = 128; in ATF_TC_BODY()
251 ATF_REQUIRE(check_residency(addr2, npgs) == npgs); in ATF_TC_BODY()
254 ATF_REQUIRE(check_residency(addr, npgs) == npgs); in ATF_TC_BODY()
255 ATF_REQUIRE(check_residency(addr2, npgs) == npgs); in ATF_TC_BODY()
291 size_t npgs = 128; in ATF_TC_BODY() local
307 ATF_REQUIRE(check_residency(addr, npgs) == npgs); in ATF_TC_BODY()
[all …]
/freebsd-14.2/lib/libc/gen/
H A Dmemfd_create.c57 int error, fd, npgs, oflags, pgidx, saved_errno, shmflags; in memfd_create() local
95 npgs = getpagesizes(pgs, nitems(pgs)); in memfd_create()
96 if (npgs == -1) in memfd_create()
99 for (pgidx = 0; pgidx < npgs; pgidx++) { in memfd_create()
103 if (pgidx == npgs) { in memfd_create()
/freebsd-14.2/sys/kern/
H A Dkern_mbuf.c1688 int i, npgs; in mb_alloc_ext_plus_pages() local
1694 npgs = howmany(len, PAGE_SIZE); in mb_alloc_ext_plus_pages()
1695 for (i = 0; i < npgs; i++) { in mb_alloc_ext_plus_pages()
1710 m->m_epg_npgs = npgs; in mb_alloc_ext_plus_pages()