MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vop_stdgetpages

Function vop_stdgetpages

freebsd/kern/vfs_default.c:765–778  ·  view source on GitHub ↗

XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */

(ap)

Source from the content-addressed store, hash-verified

763
764/* XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */
765int
766vop_stdgetpages(ap)
767 struct vop_getpages_args /* {
768 struct vnode *a_vp;
769 vm_page_t *a_m;
770 int a_count;
771 int *a_rbehind;
772 int *a_rahead;
773 } */ *ap;
774{
775
776 return vnode_pager_generic_getpages(ap->a_vp, ap->a_m,
777 ap->a_count, ap->a_rbehind, ap->a_rahead, NULL, NULL);
778}
779
780static int
781vop_stdgetpages_async(struct vop_getpages_async_args *ap)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected