Searched refs:rval (Results 1 - 25 of 685) sorted by relevance

1234567891011>>

/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/libc/port/sys/
H A Dtime.c40 time_t rval; local
42 rval = __time();
44 *tloc = rval;
45 return (rval);
H A Dlwp_rwlock.c44 sysret_t rval; local
47 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
58 sysret_t rval; local
61 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
72 sysret_t rval; local
75 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
86 sysret_t rval; local
89 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
100 sysret_t rval; local
103 error = __systemcall(&rval, SYS_lwp_rwlock_sy
[all...]
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);
H A Dtimerfd.c55 int rval; local
66 rval = ioctl(fd, TIMERFDIOC_SETTIME, &st);
68 if (rval == -1 && errno == ENOTTY) {
77 return (rval);
83 int rval = ioctl(fd, TIMERFDIOC_GETTIME, curr_value); local
85 if (rval == -1 && errno == ENOTTY) {
92 return (rval);
/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/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.c42 size_t rval; local
48 rval = mbrtowc_l(pwc, s, n, &mbs, loc);
49 switch (rval) {
56 return ((int)rval);
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c50 s10_fstatat(sysret_t *rval, argument
53 return (__systemcall(rval, SYS_fstatat + 1024,
58 s10_stat(sysret_t *rval, const char *path, struct stat *sb) argument
60 return (__systemcall(rval, SYS_fstatat + 1024,
65 s10_lstat(sysret_t *rval, const char *path, struct stat *sb) argument
67 return (__systemcall(rval, SYS_fstatat + 1024,
72 s10_fstat(sysret_t *rval, int filedes, struct stat *sb) argument
74 return (__systemcall(rval, SYS_fstatat + 1024,
81 s10_fstatat64(sysret_t *rval, argument
84 return (__systemcall(rval, SYS_fstatat6
89 s10_stat64(sysret_t *rval, const char *path, struct stat64 *sb) argument
96 s10_lstat64(sysret_t *rval, const char *path, struct stat64 *sb) argument
103 s10_fstat64(sysret_t *rval, int filedes, struct stat64 *sb) argument
112 s10_openat(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
119 s10_open(sysret_t *rval, char *path, int oflag, mode_t mode) argument
126 s10_creat(sysret_t *rval, char *path, mode_t mode) argument
135 s10_openat64(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
142 s10_open64(sysret_t *rval, char *path, int oflag, mode_t mode) argument
149 s10_creat64(sysret_t *rval, char *path, mode_t mode) argument
158 s10_fork1(sysret_t *rval) argument
164 s10_forkall(sysret_t *rval) argument
170 s10_dup(sysret_t *rval, int fd) argument
176 s10_poll(sysret_t *rval, struct pollfd *fds, nfds_t nfd, int timeout) argument
194 s10_lwp_mutex_lock(sysret_t *rval, void *mp) argument
201 s10_lwp_sema_wait(sysret_t *rval, void *sp) argument
208 s10_chmod(sysret_t *rval, const char *name, mode_t mode) argument
215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) argument
222 s10_fchownat(sysret_t *rval, int fd, const char *name, uid_t uid, gid_t gid, int flag) argument
230 s10_chown(sysret_t *rval, const char *name, uid_t uid, gid_t gid) argument
237 s10_lchown(sysret_t *rval, const char *name, uid_t uid, gid_t gid) argument
244 s10_fchown(sysret_t *rval, int filedes, uid_t uid, gid_t gid) argument
251 s10_mkdir(sysret_t *rval, const char *dname, int dmode) argument
258 s10_mknod(sysret_t *rval, const char *fname, int fmode, dev_t dev) argument
265 s10_link(sysret_t *rval, const char *path1, const char *path2) argument
272 s10_unlinkat(sysret_t *rval, int fd, const char *name, int flags) argument
279 s10_unlink(sysret_t *rval, const char *name) argument
286 s10_rmdir(sysret_t *rval, const char *name) argument
293 s10_renameat(sysret_t *rval, int oldfd, const char *oldname, int newfd, const char *newname) argument
301 s10_rename(sysret_t *rval, const char *oldname, const char *newname) argument
308 s10_symlink(sysret_t *rval, const char *path1, const char *path2) argument
315 s10_readlink(sysret_t *rval, const char *path, char *buf, size_t bufsize) argument
322 s10_faccessat(sysret_t *rval, int fd, const char *fname, int amode, int flag) argument
329 s10_access(sysret_t *rval, const char *fname, int amode) argument
336 s10_utime(sysret_t *rval, const char *path, const struct utimbuf *times) argument
359 s10_utimes(sysret_t *rval, const char *path, const struct timeval times[2]) argument
382 s10_futimesat(sysret_t *rval, int fd, const char *path, const struct timeval times[2]) argument
411 s10_xstat(sysret_t *rval, int version, const char *path, struct stat *statb) argument
425 s10_lxstat(sysret_t *rval, int version, const char *path, struct stat *statb) argument
439 s10_fxstat(sysret_t *rval, int version, int fd, struct stat *statb) argument
453 s10_xmknod(sysret_t *rval, int version, const char *path, mode_t mode, dev_t dev) argument
473 s10_fsat(sysret_t *rval, int code, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5) argument
524 s10_umount(sysret_t *rval, const char *path) argument
[all...]
H A Ds10_signal.c114 sysret_t rval; local
118 sigrtmin = __systemcall(&rval, SYS_sysconfig + 1024, _CONFIG_SIGRT_MIN)?
119 _SIGRTMIN : (int)rval.sys_rval1;
127 sysret_t rval; local
131 sigrtmax = __systemcall(&rval, SYS_sysconfig + 1024, _CONFIG_SIGRT_MAX)?
132 _SIGRTMAX : (int)rval.sys_rval1;
340 s10_lwp_sigmask(sysret_t *rval, int how, uint_t bits0, uint_t bits1) argument
353 err = __systemcall(rval, SYS_lwp_sigmask + 1024,
363 native_blockset.__sigbits[0] = (int)rval->sys_rval1;
364 native_blockset.__sigbits[1] = (int)rval
380 s10_sigprocmask(sysret_t *rval, int how, const sigset_t *set, sigset_t *oset) argument
408 s10_sigsuspend(sysret_t *rval, const sigset_t *set) argument
440 s10_sigaction(sysret_t *rval, int sig, const struct sigaction *act, struct sigaction *oact) argument
527 s10_sigpending(sysret_t *rval, int flag, sigset_t *set) argument
546 s10_sigsendsys(sysret_t *rval, procset_t *psp, int sig) argument
593 s10_wait(sysret_t *rval) argument
612 s10_waitid(sysret_t *rval, idtype_t idtype, id_t id, siginfo_t *infop, int options) argument
642 s10_sigtimedwait(sysret_t *rval, const sigset_t *set, siginfo_t *info, const timespec_t *timeout) argument
687 s10_sigqueue(sysret_t *rval, pid_t pid, int signo, void *value, int si_code) argument
714 s10_signotify(sysret_t *rval, int cmd, siginfo_t *siginfo, signotify_id_t *sn_id) argument
745 s10_kill(sysret_t *rval, pid_t pid, int sig) argument
767 s10_lwp_create(sysret_t *rval, ucontext_t *ucp, int flags, id_t *new_lwp) argument
786 s10_lwp_kill(sysret_t *rval, id_t lwpid, int sig) argument
[all...]
/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/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/libsendfile/common/
H A Dsendfile.c47 sysret_t rval; local
50 error = __systemcall(&rval, SYS_sendfilev, SENDFILEV, sock, vec,
54 rval.sys_rval1 = *xferred;
59 return ((ssize_t)rval.sys_rval1);
65 sysret_t rval; local
74 error = __systemcall(&rval, SYS_sendfilev, SENDFILEV, sock, &sfv,
79 rval.sys_rval1 = xferred;
84 return ((ssize_t)rval.sys_rval1);
96 sysret_t rval; local
99 error = __systemcall(&rval, SYS_sendfile
114 sysret_t rval; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fw.c54 int rval; local
56 rval = mod_install(&emlxs_modlinkage);
58 return (rval);
65 int rval; local
67 rval = mod_remove(&emlxs_modlinkage);
69 return (rval);
76 int rval; local
78 rval = mod_info(&emlxs_modlinkage, modinfop);
80 return (rval);
/illumos-gate/usr/src/cmd/tsol/setlabel/
H A Dsetlabel.c91 int rval = 0; local
100 rval = getlabel(filename, blabel);
101 if (rval) {
104 return (rval);
116 rval = setlabel(filename, blabel);
117 if (rval == 0)
119 return (rval);
125 int rval; local
127 rval = setflabel(filename, label);
129 if (rval) {
[all...]
/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/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c89 int rval; local
226 rval = QL_ABORTED;
235 rval = QL_FUNCTION_TIMEOUT;
243 rval = mcp->mb[0];
282 if (rval != QL_SUCCESS) {
283 EL(vha, "%s failed, rval=%xh, mcp->mb[0]=%xh\n",
284 mbx_cmd_text(mbx_cmd), rval, mcp->mb[0]);
290 return (rval);
313 int rval = QL_SUCCESS; local
315 if ((rval
345 int rval = QL_SUCCESS; local
425 int rval; local
499 int rval; local
555 int rval; local
597 int rval; local
644 int rval; local
715 int rval; local
799 int rval; local
842 int rval; local
904 int rval; local
958 int rval; local
1059 int rval; local
1114 int rval; local
1165 int rval; local
1217 int rval; local
1273 int rval; local
1343 int rval; local
1391 int rval; local
1442 int rval; local
1504 int rval; local
1580 int rval; local
1643 int rval; local
1818 int rval; local
1997 int rval; local
2054 int rval; local
2110 int rval; local
2178 int rval; local
2240 int rval = QL_SUCCESS; local
2339 int rval = QL_SUCCESS; local
2413 int rval; local
2451 int rval; local
2491 int rval; local
2537 int rval; local
2581 int rval; local
2635 int rval; local
2690 int rval; local
2760 int rval; local
2808 int rval; local
2883 int rval; local
2941 int rval; local
3000 int rval; local
3046 int rval; local
3092 int rval; local
3148 int rval; local
3206 int rval; local
3262 int rval; local
3309 int rval; local
3355 int rval; local
3452 int rval; local
3502 int rval; local
3563 int rval; local
3619 int rval; local
3676 int rval; local
3761 int rval; local
3830 int rval; local
3881 int rval; local
3937 int rval; local
3979 int rval; local
4033 int rval; local
4084 int rval; local
4124 int rval = QL_SUCCESS; local
4225 int rval; local
4271 int rval; local
4311 int rval; local
4358 int rval; local
4399 int rval; local
4434 int rval; local
4469 int rval; local
4508 int rval; local
4558 int rval; local
4611 int rval; local
4669 int rval; local
4729 int rval; local
4792 int rval; local
4844 int rval; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser_rseq.c53 int rval = RSEQ_OK; local
62 rval = (s->s_cb) ? (s->s_cb(rseq, i, arg)) : RSEQ_OK;
64 if (rval == RSEQ_UNDO) {
67 } else if (rval == RSEQ_ABORT) {
70 ASSERT(rval == RSEQ_OK);
72 return (rval);
83 int rval = RSEQ_OK; local
92 rval = (s->s_cb) ? (s->s_cb(rseq, i, arg)) : RSEQ_OK;
94 if (rval == RSEQ_ABORT) {
97 ASSERT(rval
125 int rnd, rval = RSEQ_OK, i; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/
H A Dtrim.kshlib26 typeset rval=$(du -s "$1" | awk '{print $1}')
27 rval=$((rval * 2048))
28 echo -n "$rval"
38 typeset rval
43 rval=$(zpool iostat -pr $pool | awk \
45 echo -n "$rval"
48 rval=$(zpool iostat -pr $pool | awk \
50 echo -n "$rval"
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc.c107 int rval; local
110 if ((rval = hsvc_register(&n2piupc_hsvc, &n2piupc_sup_minor)) !=
113 MODULE_NAME, rval);
118 if ((rval = ddi_soft_state_init(&n2piupc_state_p,
123 if ((rval = n2piupc_kstat_init()) != DDI_SUCCESS)
127 if ((rval = mod_install(&ml)) == DDI_SUCCESS)
138 return (rval);
147 int rval; local
153 rval = mod_remove(&ml);
154 if (rval !
[all...]
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dusb_ms_cbi.c153 int i, rval = TRAN_ACCEPT; local
184 rval = usb_pipe_sync_ctrl_xfer(scsa2usbp->scsa2usb_dip,
197 "scsa2usb_cbi_transport: sent cmd = 0x%x rval = %d",
198 cmd->cmd_cdb[SCSA2USB_OPCODE], rval);
201 if (rval != USB_SUCCESS) {
202 scsa2usb_cbi_handle_error(scsa2usbp, rval, completion_reason);
226 rval = scsa2usb_handle_data_start(scsa2usbp, cmd,
231 if (rval != USB_SUCCESS) {
242 rval, data_req->bulk_completion_reason);
257 "scsa2usb_cbi_transport: CB done rval
303 scsa2usb_cbi_handle_error(scsa2usb_state_t *scsa2usbp, int rval, usb_cr_t cr) argument
350 int rval; local
437 int rval = USB_SUCCESS; local
514 int i, rval; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/ugen/
H A Dugen.c130 int rval; local
132 if ((rval = ddi_soft_state_init(&ugen_skel_statep,
135 return (rval);
138 if ((rval = mod_install(&modlinkage)) != 0) {
141 return (rval);
144 return (rval);
151 int rval; local
153 if ((rval = mod_remove(&modlinkage)) != 0) {
155 return (rval);
159 return (rval);
175 int rval = DDI_FAILURE; local
215 int rval; local
305 int rval = USB_FAILURE; local
456 int rval; local
[all...]

Completed in 70 milliseconds

1234567891011>>