Lines Matching defs:error
48 int error = 0;
76 if ((error = uread(p, bp, len, addr)) != 0 ||
77 (error = uiomove(bp, len, UIO_READ, uiop)) != 0)
83 * truncated, return success; otherwise convert the error into
85 * error for a read that begins at an invalid address.
87 if (error == ENXIO) {
89 error = 0;
91 error = EIO;
100 if ((error = uiomove(bp, len, UIO_WRITE, uiop)) != 0)
102 if ((error = uwrite(p, bp, len, addr)) != 0) {
111 * truncated, return success; otherwise convert the error
114 if (error == ENXIO) {
116 error = 0;
118 error = EIO;
129 return (error);