XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */
(ap)
| 763 | |
| 764 | /* XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */ |
| 765 | int |
| 766 | vop_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 | |
| 780 | static int |
| 781 | vop_stdgetpages_async(struct vop_getpages_async_args *ap) |
nothing calls this directly
no test coverage detected