Lines Matching refs:uio
103 #include <sys/uio.h>
154 #define UIO_CHECK(uio) \
155 if (((uio)->uio_loffset % DEV_BSIZE) != 0 || \
156 ((uio)->uio_resid % DEV_BSIZE) != 0) { \
1414 lofi_read(dev_t dev, struct uio *uio, struct cred *credp)
1418 UIO_CHECK(uio);
1419 return (physio(lofi_strategy, NULL, dev, B_READ, minphys, uio));
1424 lofi_write(dev_t dev, struct uio *uio, struct cred *credp)
1428 UIO_CHECK(uio);
1429 return (physio(lofi_strategy, NULL, dev, B_WRITE, minphys, uio));