cvs commit: src/sys/kern kern_msfbuf.c src/sys/sys msfbuf.h

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 3 21:21:07 PST 2005


dillon      2005/03/03 21:20:29 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_msfbuf.c 
    sys/sys              msfbuf.h 
  Log:
  Make msf_buf_kva() return the correct base address.  It was not including
  the base offset relative to the start of the page for MSFBUFs mapped from
  user or kernel buffers.
  
  Implement msf_uio_iterate().  This function iterates through a UIO, maps
  the data into the kernel as required, and calls the specified callback
  routine.  It is used by kernel procedures which need to scan the data
  represented by a UIO.
  
  Revision  Changes    Path
  1.11      +58 -8     src/sys/kern/kern_msfbuf.c
  1.9       +4 -2      src/sys/sys/msfbuf.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_msfbuf.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msfbuf.h.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list