/illumos-gate/usr/src/cmd/lms/heci/ |
H A D | HECIUnix.cpp | 144 fprintf(stderr, "error in IOCTL_HECI_GET_VERSION recieve message. err=%d\n", result); 171 fprintf(stderr, "error in IOCTL_HECI_CONNECT_CLIENT recieve message. err=%d\n", result); 220 int error = 0; local 227 error = errno; 229 fprintf(stderr, "read failed with status %d %d\n", rv, error); 244 int error = 0; local 256 error = errno; 258 fprintf(stderr,"write failed with status %d %d\n", rv, error);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | dockspace.c | 76 static int readmap(int *error); 77 static int readspace(char *spacefile, int *error); 83 int i, error; local 85 error = 0; 99 if (readmap(&error) || readspace(spacefile, &error)) 109 error++; 118 error++; 121 return (error); 188 readmap(int *error) argument 353 readspace(char *spacefile, int *error) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_extvnops.c | 81 int error = 0; local 89 error = ufs_lockfs_begin_getpage(ufsvfsp, &ulp, segkmap, !iswrite, 91 if (error) { 93 fdb_ioerrdone(fdbp, error); 95 return (error); 113 while (!error && curlen < iolen) { 117 if ((error = bmap_read(ip, offset1, &bn, &contig)) != 0) { 148 error = ENOSPC; 186 error = biowait(bp); 204 fdb_ioerrdone(fdbp, error); 246 int error = 0; /* No error occurred */ local [all...] |
H A D | ufs_snap.c | 65 int error = 0; local 87 fiosnapp->error = FIOCOW_EREADONLY; 97 error = ufs_snap_init_backfile(fiosnapp->backfiledesc, 99 if (error) { 100 fiosnapp->error = FIOCOW_EBACKFILE; 101 return (error); 108 if ((error = ufs_fiolfss(vp, &lf)) != 0) { 110 return (error); 115 fiosnapp->error = FIOCOW_EULOCK; 122 if ((error 292 int error = 0; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_sa.c | 75 int error; local 79 error = uiomove((caddr_t)db->db_data + 84 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id, 86 error = uiomove(dbp->db_data, 91 return (error);
|
/illumos-gate/usr/src/uts/common/inet/dlpistub/ |
H A D | dlpistub.c | 113 int error = DDI_FAILURE; local 118 error = DDI_SUCCESS; 123 error = DDI_SUCCESS; 127 return (error);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 199 int flags, int error, int rtm_addrs, ip_stack_t *ipst) 213 rtm->rtm_errno = error; 196 ip_rts_change_v6(int type, const in6_addr_t *dst_addr, const in6_addr_t *gw_addr, const in6_addr_t *net_mask, const in6_addr_t *source, const in6_addr_t *author, int flags, int error, int rtm_addrs, ip_stack_t *ipst) argument
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | class.c | 47 * cid was successful. Nonzero return indicates error. 252 int error; local 289 error = CL_CANEXIT(targtp, reqpcredp); 290 if (error) { 292 * Not allowed to leave the class, so return error. 295 return (error); 301 error = ENOMEM; /* no memory available */ 303 return (error); 305 error = CL_ENTERCLASS(targtp, parmsp->pc_cid, 308 if (error) { [all...] |
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_ctl.c | 191 int error = 0; local 197 error = contract_abandon(ct, curproc, 1); 205 error = contract_ack(ct, event, ack); 209 error = contract_newct(ct); 215 error = contract_qack(ct, event); 219 error = contract_adopt(ct, curproc); 226 return (error); 235 { VOPNAME_READDIR, { .error = fs_notdir } }, 236 { VOPNAME_LOOKUP, { .error = fs_notdir } }, 334 { VOPNAME_READDIR, { .error [all...] |
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ipnetops.c | 112 int error; local 114 error = devname_lookup_func(sdvp, nm, vpp, cred, devipnet_create_rvp, 117 if (error == 0) { 134 return (error); 228 VOPNAME_CREATE, { .error = fs_nosys }, 229 VOPNAME_REMOVE, { .error = fs_nosys }, 230 VOPNAME_MKDIR, { .error = fs_nosys }, 231 VOPNAME_RMDIR, { .error = fs_nosys }, 232 VOPNAME_SYMLINK, { .error = fs_nosys }, 233 VOPNAME_SETSECATTR, { .error [all...] |
H A D | sdev_netops.c | 81 int error; local 83 if ((error = dls_devnet_open(nm, ddhp, &dev)) != 0) { 86 return (error); 121 int error = ENOENT; local 162 error = devnet_create_rvp(nm, &vattr, &ddh); 163 if (error != 0) 166 error = sdev_mknode(ddv, nm, &dv, &vattr, NULL, NULL, cred, SDEV_READY); 167 if (error != 0) { 202 return (error); 370 VOPNAME_CREATE, { .error [all...] |
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_susp_subr.c | 103 * If there is no SUA, just return, no error 112 * is corrupted, return an appropriate error. 370 int error; local 386 error = geterror(secbp); 388 if (error != 0) { 390 "hs_check_root_dirent: bread: error=(%d)", error); 470 * 1 if there was an error. 476 int error; local 482 * HS_SECTOR_SIZE. If they are, return an error [all...] |
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 142 int error; local 149 error = vfs_setfsops(fstype, mnt_vfsops_template, NULL); 150 if (error != 0) { 152 return (error); 157 error = vn_make_ops(name, mnt_vnodeops_template, &mntvnodeops); 158 if (error != 0) { 161 return (error);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_attr.c | 38 int error = 0; local 42 error = nfs4_time_vton(tt, &tt4->time); 46 return (error); 54 * Return TRUE if arg was set (even if there was an error) and FALSE 55 * otherwise. Also set error code. The caller should not continue 56 * if error was set, whether or not the return is TRUE or FALSE. Returning 57 * FALSE does not mean there was an error, only that the attr was not set. 147 * Return TRUE if arg was set (even if there was an error) and FALSE 148 * otherwise. Also set error code. The caller should not continue 149 * if error wa 244 int error = 0; local [all...] |
H A D | nfs4_common.c | 239 * Returns 1 if the error is a RPC error that we should retry. 242 nfs4_rpc_retry_error(int error) argument 244 switch (error) { 260 nfs4_stat_to_str(nfsstat4 error) argument 264 switch (error) { 398 (void) snprintf(buf, 40, "Unknown error %d", (int)error);
|
H A D | nfs_acl_srv.c | 82 int error; local 96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL); 98 if ((error == ENOSYS) && !(exi->exi_export.ex_flags & EX_NOACLFAB)) { 112 * This error should be returned to the caller. 114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL); 117 if (error) { 119 resp->status = puterrno(error); 124 error = rfs4_delegated_getattr(vp, &va, 0, cr); 129 if (!error) { 130 error 196 int error; local 251 int error; local 290 int error; local 386 int error; local 451 int error; local 562 int error; local 626 int error; local [all...] |
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_vfs.c | 131 int error; local 134 if (error = vfs_setfsops(fstype, objfs_vfstops, &vfsops)) { 136 return (error); 139 if (error = gfs_make_opsvec(objfs_opsvec)) { 141 return (error);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 458 int error; local 484 error = geterror(bp); 486 if (error) {
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 151 int error; local 159 error = vfs_setfsops(fstype, pr_vfsops_template, NULL); 160 if (error != 0) { 162 return (error); 169 error = vn_make_ops(name, pr_vnodeops_template, &prvnodeops); 170 if (error != 0) { 173 return (error);
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vfsops.c | 155 int error; local 158 if (error = vfs_setfsops(fstype, sharefs_vfstops, &vfsops)) { 160 return (error); 163 if (error = gfs_make_opsvec(sharefs_opsvec)) { 165 return (error);
|
H A D | sharefs_vnops.c | 222 int error = 0; local 262 error = sharefs_snap_create(sft); 264 return (error); 300 int error = 0; local 309 error = sharefs_snap_create(sft); 310 if (error) { 319 return (error); 331 error = uiomove(sft->sharefs_snap + off, 336 return (error); 377 { VOPNAME_IOCTL, { .error [all...] |
H A D | sharetab.c | 53 error = EFAULT; \ 107 * If there is no error, then this function is responsible for 331 int error = 0; local 399 error = sharefs_add(sh, &shl); 404 error = sharefs_remove(sh, &shl); 408 error = EINVAL; 415 * If there is no error, then we have stashed the structure 419 * there was an error. 421 if (error != 0) { 429 return ((error ! [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.c | 113 int duser, dsrv, error; local 134 U8_STRCMP_CI_LOWER, U8_UNICODE_LATEST, &error); 140 U8_STRCMP_CI_LOWER, U8_UNICODE_LATEST, &error); 335 int error = ENOENT; local 358 error = 0; 362 return (error);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_acl.c | 72 int error, cerror; local 90 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); 91 if (error) 98 error = smbfs_smb_getsec_m(smi->smi_share, fid, 101 * Server may give us an error indicating that we 106 * Let's check for specific error values here. 107 * The NT error is: STATUS_BUFFER_TOO_SMALL, 108 * or with old error codes, one of these: 113 if (error == E2BIG && 120 SMBVDEBUG("error 142 int error, cerror; local 213 int error; local 273 int error; local 322 int error; local 407 int error; local 443 int error; local 497 int error; local 546 int error; local 576 int error; local [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sodirect.c | 118 int error = 0; local 132 error = uioafini(suiop, (uioa_t *)uiop); 141 return (error); 263 int error; local 296 error = uioamove(wbp->b_rptr, len, 298 if (!error) {
|