Lines Matching +full:close +full:- +full:range
1 // SPDX-License-Identifier: GPL-2.0-only
3 * GUP long-term page pinning tests.
54 * R/W long-term pinning. For these filesystems, we can be fairly sure
121 /* Fault in the page such that GUP-fast can pin it directly. */
129 * long-term R/O pinning by mapping the page R/O.
156 * expected to work. Otherwise, we expect long-term R/W pinning
182 * TODO: if the kernel ever supports long-term R/W pinning on
209 * Register the range as a fixed buffer. This will FOLL_WRITE |
210 * FOLL_PIN | FOLL_LONGTERM the range.
257 close(fd);
276 goto close;
280 close:
299 goto close;
303 close:
304 close(fd);
325 close(fd);
391 "R/W longterm GUP-fast pin in MAP_SHARED file mapping",
399 "R/O longterm GUP-fast pin in MAP_SHARED file mapping",
407 "R/W longterm GUP-fast pin in MAP_PRIVATE file mapping",
415 "R/O longterm GUP-fast pin in MAP_PRIVATE file mapping",
434 run_with_memfd(test_case->fn, test_case->desc);
435 run_with_tmpfile(test_case->fn, test_case->desc);
436 run_with_local_tmpfile(test_case->fn, test_case->desc);
438 run_with_memfd_hugetlb(test_case->fn, test_case->desc,