Bart, for example i would like to know what does mean arguments plarr, plsz, 
addr for function
int xxx_getpage(vnode_t *vp, offset_t off, size_t len, uint_t protp,
                         struct page **plarr, size_t plsz, struct seg *seg,
                         caddr_t addr, enum seg_rw rw, cred_t *cr);

And now i need to see source code and try to understand this or exist another 
way?
Book "Solaris Internals" content next:
extern int fop_getpage(vnode_t *vp, offset_t off, size_t len, uint_t protp,
                       struct page **plarr, size_t plsz, struct seg *seg,
                       caddr_t addr, enum seg_rw rw, cred_t *cr);
Gets pages in the range offset and length for the vnode from the backing store 
of the file system. Does the real work of reading a vnode. This method is often 
called as a result of read(), which causes a page fault in seg_map, which calls 
vop_getpage.
-- 
This message posted from opensolaris.org

Reply via email to