/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | msend.c | 47 int rval; local 51 if ((rval = mwrite(lp_Md, msgbuf)) < 0) 66 while (rval < 0 && errno == EINTR); 68 return(rval);
|
H A D | getmessage.c | 48 int rval; local 57 rval = _getmessage(buf, type, arg); 59 return(rval);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | isastream.c | 51 int rval; local 53 rval = ioctl(fd, I_CANPUT, 0); 54 if (rval == -1 && errno == EBADF) 58 if (rval == 0 || rval == 1)
|
H A D | tcsetattr.c | 48 int rval; local 54 rval = ioctl(fildes, TCSETS, termios_p); 59 rval = ioctl(fildes, TCSETSW, termios_p); 64 rval = ioctl(fildes, TCSETSF, termios_p); 69 rval = -1; 72 return (rval);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcDoForceLip.cc | 38 * @param rval Return value 42 int *rval) { 47 *rval = myHandle->doForceLip(); 41 Sun_fcDoForceLip(HBA_HANDLE handle, int *rval) argument
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | strsave.c | 42 register char *rval; local 44 rval = (char *)malloc(strlen(str) + 1); 45 if (rval != 0) 46 strcpy(rval, str); 47 return(rval);
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | modops.c | 56 int rval = RET_ERROR; local 70 rval = modinfo.mi_id; 76 return (rval); 99 int rval = RET_SUCCESS; local 105 rval = errno; 119 return (rval);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | mblen.c | 41 size_t rval; local 47 rval = mbrtowc_l(NULL, s, n, &mbs, loc); 48 if (rval == (size_t)-1 || rval == (size_t)-2) 50 return ((int)rval);
|
H A D | wctomb.c | 40 size_t rval; local 46 if ((rval = wcrtomb_l(s, wchar, &mbs, loc)) == (size_t)-1) 48 return ((int)rval);
|
H A D | mbtowc.c | 41 size_t rval; local 47 rval = mbrtowc_l(pwc, s, n, &mbs, loc); 48 if (rval == (size_t)-1 || rval == (size_t)-2) 50 return ((int)rval);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time.c | 40 time_t rval; local 42 rval = __time(); 44 *tloc = rval; 45 return (rval);
|
H A D | readlink.c | 34 sysret_t rval; local 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 40 return ((ssize_t)rval.sys_rval1); 48 sysret_t rval; local 51 error = __systemcall(&rval, SYS_readlink, path, buf, bufsize); 54 return ((ssize_t)rval.sys_rval1);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_reset.c | 122 int rval = 0; local 135 rval = meta_stripe_reset(sp, np, options, ep); 137 rval = meta_mirror_reset(sp, np, options, ep); 139 rval = meta_trans_reset(sp, np, options, ep); 141 rval = meta_raid_reset(sp, np, options, ep); 143 rval = meta_sp_reset(sp, np, options, ep); 145 rval = mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev), 150 return (rval);
|
H A D | meta_resync.c | 81 int rval = 0; local 90 rval = -1; 104 rval = -1; 106 rval = -1; 107 return (rval);
|
H A D | meta_patch_root.c | 58 int rval = -1; local 144 rval = 0; 169 return (rval);
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | strsave.c | 41 char *rval; local 43 rval = malloc(strlen(str) + 1); 44 if (rval != 0) 45 (void) strcpy(rval, str); 46 return (rval);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_td.c | 46 int rval = 0; local 92 rval = t_optmgmt(fd, &t_optreq, &t_optret); 95 return (rval);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_door.c | 42 sysret_t rval; /* return value from door_info() */ local 91 error = Psyscall(Pr, &rval, SYS_door, 6, &argd[0]);
|
H A D | pr_exit.c | 41 sysret_t rval; /* return value from exit() */ local 58 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]); 69 return (rval.sys_rval1); 84 sysret_t rval; /* return value from lwp_exit() */ local 92 error = Psyscall(Pr, &rval, SYS_lwp_exit, 0, NULL); 103 return (rval.sys_rval1);
|
H A D | pr_fcntl.c | 42 sysret_t rval; /* return value from fcntl() */ local 133 error = Psyscall(Pr, &rval, SYS_fcntl, 3, &argd[0]); 139 return (rval.sys_rval1);
|
H A D | pr_ioctl.c | 41 sysret_t rval; /* return value from ioctl() */ local 77 error = Psyscall(Pr, &rval, SYS_ioctl, 3, &argd[0]); 83 return (rval.sys_rval1);
|
H A D | pr_pbind.c | 39 sysret_t rval; /* return value */ local 82 error = Psyscall(Pr, &rval, SYS_processor_bind, 4, &argd[0]); 88 return (rval.sys_rval1);
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_npreload/common/ |
H A D | s10_npreload.c | 56 sysret_t rval; local 80 (void) __systemcall(&rval, SYS_brand, B_S10_NATIVE, cmd_buf, arg_buf);
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | systable.h | 47 char rval[2]; /* return value types */ member in struct:systable
|
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_transport.c | 71 int rval; local 117 rval = (*A_TO_TRAN(ap)->tran_start)(ap, pkt); 127 return (rval);
|