tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: memcpy of struct buf, or similar?



On Sat, Jun 07, 2008 at 10:18:22PM +0100, Andrew Doran wrote:
> Hi,
> 
> Does anyone know a point in the file system code, or ATA code, where outside
> of vfs_bio.c we issue memcpy() on a buffer, assign to it or copy it another
> way, or clear any part of it with memset()?

There is code playing with buffers in an unusual way in dev/ata/wd.c,
for the WD_QUIRK_SPLIT_MOD15_WRITE quirk, and wd_split_mod15_write().
This code is only used for ST3120023AS and ST380023AS drives though ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index