Searched defs:rval (Results 1 - 25 of 723) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmsend.c47 int rval; local
51 if ((rval = mwrite(lp_Md, msgbuf)) < 0)
66 while (rval < 0 && errno == EINTR);
68 return(rval);
H A Dgetmessage.c48 int rval; local
57 rval = _getmessage(buf, type, arg);
59 return(rval);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disastream.c51 int rval; local
53 rval = ioctl(fd, I_CANPUT, 0);
54 if (rval == -1 && errno == EBADF)
58 if (rval == 0 || rval == 1)
H A Dtcsetattr.c48 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 DSun_fcDoForceLip.cc38 * @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 Dstrsave.c42 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 Dmodops.c56 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 Dmblen.c41 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 Dwctomb.c40 size_t rval; local
46 if ((rval = wcrtomb_l(s, wchar, &mbs, loc)) == (size_t)-1)
48 return ((int)rval);
H A Dmbtowc.c41 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 Dtime.c40 time_t rval; local
42 rval = __time();
44 *tloc = rval;
45 return (rval);
H A Dreadlink.c34 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 Dmeta_reset.c122 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 Dmeta_resync.c81 int rval = 0; local
90 rval = -1;
104 rval = -1;
106 rval = -1;
107 return (rval);
H A Dmeta_patch_root.c58 int rval = -1; local
144 rval = 0;
169 return (rval);
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstrsave.c41 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 Drpc_td.c46 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 Dpr_door.c42 sysret_t rval; /* return value from door_info() */ local
91 error = Psyscall(Pr, &rval, SYS_door, 6, &argd[0]);
H A Dpr_exit.c41 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 Dpr_fcntl.c42 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 Dpr_ioctl.c41 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 Dpr_pbind.c39 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 Ds10_npreload.c56 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 Dsystable.h47 char rval[2]; /* return value types */ member in struct:systable
/illumos-gate/usr/src/uts/sun/io/dada/impl/
H A Ddcd_transport.c71 int rval; local
117 rval = (*A_TO_TRAN(ap)->tran_start)(ap, pkt);
127 return (rval);

Completed in 52 milliseconds

1234567891011>>