Lines Matching defs:error
92 int error, i;
104 error = devfs_get_cdevpriv((void **)&mp);
105 if (error != 0) {
134 error = EINVAL;
137 error = bread(devvp, btodb(uio->uio_offset), len,
139 if (error != 0)
143 error = copyin(base, bp->b_data, len);
144 if (error != 0) {
149 error = bwrite(bp);
150 if (error != 0)
154 error = copyout(bp->b_data, base, len);
156 if (error != 0)
174 return (error);
181 int error;
198 error = VOP_ACCESS(ump->um_odevvp, VREAD | VWRITE,
201 if (error != 0)
202 return (error);
208 if ((error = vfs_write_suspend(mp, VS_SKIP_UNMOUNT)) != 0)
209 return (error);
251 int error;
267 error = ffs_reload(mp, FFSR_FORCE | FFSR_UNSUSPEND);
268 if (error != 0)
281 int error;
298 error = ENOENT;
301 error = vfs_busy(mp, 0);
303 if (error != 0)
310 error = curproc->p_numthreads > 1 ? EDEADLK :
312 if (error != 0) {
317 error = ffs_susp_suspend(mp);
318 if (error != 0) {
322 error = devfs_set_cdevpriv(mp, ffs_susp_dtor);
323 if (error != 0)
327 error = devfs_get_cdevpriv((void **)&mp);
328 if (error != 0)
340 error = ENXIO;
346 return (error);