FreeBSD Bugzilla – Attachment 34946 Details for
Bug 56584
Updates for VOP_GETPAGES(9) and VOP_PUTPAGES(9)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.39 KB, created by
Andrey Simonenko
on 2003-09-08 08:20:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andrey Simonenko
Created:
2003-09-08 08:20:07 UTC
Size:
1.39 KB
patch
obsolete
>--- VOP_GETPAGES.9.orig Thu Jun 5 04:56:16 2003 >+++ VOP_GETPAGES.9 Sun Sep 7 23:04:59 2003 >@@ -40,29 +40,33 @@ > .In sys/vnode.h > .In vm/vm.h > .Ft int >-.Fn VOP_GETPAGES "struct vnode *vp" "vm_page_t *m" "int count" "int reqpage" "vm_ooffset_t offset" >+.Fn VOP_GETPAGES "struct vnode *vp" "vm_page_t *m" "int bytecount" "int reqpage" "vm_ooffset_t offset" > .Ft int >-.Fn VOP_PUTPAGES "struct vnode *vp" "vm_page_t *m" "int count" "int sync" "int *rtvals" "vm_ooffset_t offset" >+.Fn VOP_PUTPAGES "struct vnode *vp" "vm_page_t *m" "int bytecount" "int sync" "int *rtvals" "vm_ooffset_t offset" > .Sh DESCRIPTION >+These entry points read and write VM pages from a file respectively. >+.Pp > The arguments are: > .Bl -tag -width reqpage > .It Ar vp > The file to access. > .It Ar m >-A page ??? >-.It Ar count >-How many pages to access. >+The array of vm_page_t. >+.It Ar bytecount >+How many bytes to access (multiple of the page size), should be >+divided by the page size to get the number of elements in the array >+.Ar m . > .It Ar sync > Nonzero if the write should be synchronous. > .It Ar rtvals >-??? >+The array of return values for corresponding pages in the array >+.Ar m . > .It Ar reqpage >-??? >+The index of the requested page in the array >+.Ar m . > .It Ar offset > Offset in the file to start accessing. > .El >-.Pp >-Not quite sure about this one. > .Sh RETURN VALUES > Zero is returned on success, otherwise an error is returned. > .Sh SEE ALSO
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56584
: 34946