Lines Matching defs:error
165 int error;
173 if ((error = iso_mountfs(rvp, mp, &args, context)))
174 return (error);
190 int error;
194 error = copyin(data, (caddr_t)&args, sizeof(args));
198 error = copyin(data, (caddr_t)&temp, sizeof(temp));
204 if (error)
205 return (error);
220 error = iso_mountfs(devvp, mp, &args, context);
223 error = EINVAL; /* needs translation */
225 if (error) {
226 return (error);
354 int error = EINVAL;
376 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE,
378 return (error);
387 if ((error = VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE,
389 return (error);
393 if ((error = (int)buf_bread(devvp, (daddr64_t)((unsigned)iso_blknum), iso_bsize, NOCRED, &bp))) {
399 breaderr = error;
400 printf("iso_mountfs: buf_bread error %d reading block %d\n", error, iso_blknum);
420 error = EINVAL;
471 error = breaderr;
473 error = EINVAL;
481 error = EINVAL;
560 if ((error = VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE,
567 if ( (error = (int)buf_bread(isomp->im_devvp,
571 printf("iso_mountfs: buf_bread error %d reading block %d\n",
572 error, isomp->root_extent + isonum_711(rootp->ext_attr_length));
654 if ((error = copyin(argp->toc, isomp->toc, argp->toc_length)))
688 return (error);
710 int error, flags = 0;
718 if ( (error = vflush(mp, NULLVP, flags)) && !force )
719 return (error);
728 error = VNOP_CLOSE(isomp->phys_devvp, FREAD, context);
729 if (error && !force)
730 return error;
937 int error;
947 if ( (error = VFS_VGET(mp, (ino64_t)ntohl(ifhp->ifid_ino), &nvp, context)) ) {
949 return (error);
1071 int error;
1122 error = ESTALE;
1130 error = ESTALE;
1134 error = (int)buf_bread(imp->im_devvp, (daddr64_t)((unsigned)lbn),
1136 if (error) {
1137 printf("fhtovp: buf_bread error %d\n",error);
1147 error = ESTALE;
1190 if ((error = (int)buf_bread(imp->im_devvp, lbn, imp->im_sector_size, NOCRED, &bp)))
1274 if ((error = (int)buf_bread(imp->im_devvp, lbn, imp->im_sector_size, NOCRED, &bp2))) {
1318 error = ENOTSUP;
1370 if ( (error = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, &vp)) )
1400 return (error);