Searched refs:ret (Results 201 - 225 of 3119) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-enum.c107 int i, ret = 0; local
117 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
119 ctf_errmsg(ret));
120 ret = EXIT_FAILURE;
124 ret = EXIT_FAILURE;
128 ret = EXIT_FAILURE;
135 ret = EXIT_FAILURE;
141 return (ret);
H A Dcheck-forward.c90 int i, ret = 0; local
100 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
102 ctf_errmsg(ret));
103 ret = EXIT_FAILURE;
108 ret = EXIT_FAILURE;
113 ret = EXIT_FAILURE;
122 ret = EXIT_FAILURE;
129 return (ret);
H A Dcheck-merge-forward.c96 int i, ret = 0; local
106 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
108 ctf_errmsg(ret));
109 ret = EXIT_FAILURE;
114 ret = EXIT_FAILURE;
120 ret = EXIT_FAILURE;
125 ret = EXIT_FAILURE;
131 return (ret);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c1165 nwam_error_t ret = NWAM_SUCCESS; local
1173 ret = nwam_ncu_commit(ncu_h, 0);
1176 ret = nwam_enm_commit(enm_h, 0);
1179 ret = nwam_loc_commit(loc_h, 0);
1182 ret = nwam_known_wlan_commit(wlan_h, 0);
1186 if (ret == NWAM_SUCCESS) {
1210 nwamerr(ret, "Commit error on property '%s'", errprop);
1212 nwamerr(ret, "Commit error");
1309 nwam_error_t ret = NWAM_SUCCESS; local
1345 ret
1479 destroy_ret(nwam_object_type_t object_type, nwam_error_t ret, void *handle) argument
1513 nwam_error_t ret = nwam_ncp_destroy(ncp, NWAM_FLAG_DO_NOT_FREE); local
1521 nwam_error_t ret = nwam_loc_destroy(loc, NWAM_FLAG_DO_NOT_FREE); local
1529 nwam_error_t ret = nwam_enm_destroy(enm, NWAM_FLAG_DO_NOT_FREE); local
1537 nwam_error_t ret = nwam_known_wlan_destroy(wlan, NWAM_FLAG_DO_NOT_FREE); local
1548 nwam_error_t ret; local
1590 nwam_error_t ret; local
1782 nwam_error_t ret; local
1852 nwam_error_t ret; local
1975 nwam_error_t ret; local
2007 int i, n = 0, ret; local
2310 nwam_error_t ret; local
2469 nwam_error_t ret; local
2540 nwam_error_t ret = NWAM_SUCCESS; local
2608 nwam_error_t ret; local
2837 nwam_error_t ret; local
3019 nwam_error_t ret = NWAM_SUCCESS; local
3238 nwam_error_t ret; local
3282 nwam_error_t ret; local
3316 nwam_error_t ret; local
3354 nwam_error_t ret; local
3398 nwam_error_t ret; local
3442 nwam_error_t ret = NWAM_SUCCESS; local
3762 nwam_error_t ret = NWAM_SUCCESS; local
3833 nwam_error_t ret; local
3887 nwam_error_t ret; local
3956 nwam_error_t ret = NWAM_SUCCESS; local
4143 nwam_error_t ret; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Df_cbc.c42 krb5_error_code ret = KRB5_PROG_ETYPE_NOSUPP; local
48 ret = 0;
52 ret = PKCS_ERR;
60 ret = PKCS_ERR;
79 ret = PKCS_ERR;
96 ret = PKCS_ERR;
101 if (ret)
104 KRB5_LOG(KRB5_INFO, "mit_des_cbc_encrypt() end retval=%d", ret);
106 return(ret);
137 int ret local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/
H A Dchipset.c80 int ret; local
102 ret = -1;
111 ret = -1;
118 ret = -1;
122 if (topo_node_resource(pnode, &presource, &ret) != 0) {
124 "resource %s\n", topo_strerror(ret));
125 ret = topo_mod_seterrno(mod, ret);
129 if (topo_node_fru_set(tn, presource, 0, &ret) != 0) {
131 topo_strerror(ret));
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dgio.c144 int ret; local
154 ret = gwrblk(bufr, len);
155 if (ret != len) {
161 ret = gwrblk(bufr, 0);
170 int ret = SUCCESS; local
187 if ( ret == SUCCESS && write( fd2, bufr, len ) != len) {
188 ret = errno;
194 return(ret);
203 int i, ret; local
205 for (i = 0; i < len; i += ret) {
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_cto.c48 int ret; local
63 ret = (*fptr) (domain, type, protocol);
65 if (ret >= 0 && timeout > 0) {
66 if (setsockopt(ret, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD,
73 return (ret);
H A Ddb_log.cc119 int l, ret = 0; local
133 ret = -1;
139 ret = l;
141 WRITEUNLOCK(f, ret, "wu f db_log::copy");
142 return (ret);
214 int from, to, ret = 0; local
226 ret = errno;
228 return (ret);
243 ret = errno;
250 if (ret !
317 int ret; local
346 bool_t ret; local
[all...]
H A Dnisdb_rw.c43 int ret; local
52 if ((ret = mutex_init(&rw->mutex, USYNC_THREAD, 0)) != 0)
53 return (ret);
54 if ((ret = cond_init(&rw->cv, USYNC_THREAD, 0)) != 0)
55 return (ret);
108 int ret; local
116 if ((ret = mutex_lock(&rw->mutex)) != 0)
117 return (ret);
125 ret = 0;
127 ret
138 int ret; local
166 int ret; local
346 int ret; local
413 int ret; local
462 int ret; local
552 int ret; local
591 int ret; local
645 int ret; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_ddi.c103 int ret; local
122 ret = rdsv3_init();
123 if (ret) {
124 RDSV3_DPRINTF2("rdsv3_attach", "rdsv3_init failed: %d", ret);
131 ret = rdsv3_sock_init();
132 if (ret) {
140 ret = ddi_create_minor_node(dip, "rdsv3", S_IFCHR, 0, DDI_PSEUDO, 0);
141 if (ret != DDI_SUCCESS) {
142 cmn_err(CE_CONT, "ddi_create_minor_node failed: %d", ret);
179 int ret local
262 int ret; local
286 int ret; local
[all...]
/illumos-gate/usr/src/test/os-tests/tests/sdevfs/
H A Dsdevfs_eisdir.c36 int ret; local
60 ret = open(SD_TEST_DIR, O_RDWR, 0);
61 VERIFY3S(ret, ==, -1);
68 ret = open(SD_TEST_DIR, O_RDWR | O_CREAT, 0);
69 VERIFY3S(ret, ==, -1);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class.kshlib50 typeset -i ret=0
52 ret=$?
55 ((ret |= $?))
62 ((ret |= $?))
66 return $ret
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn_rec.c79 int ret; local
87 if ((ret = __txn_regop_read(dbtp->data, &argp)) != 0)
88 return (ret);
91 ret = EINVAL;
94 ret = __db_txnlist_add(info, argp->txnid->txnid);
96 if (ret == 0)
100 return (ret);
118 int ret; local
126 if ((ret = __txn_xa_regop_read(dbtp->data, &argp)) != 0)
127 return (ret);
178 int ret; local
219 int ret; local
267 int ret; local
[all...]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c54 int ret = 0; local
60 ret = errno;
66 ret = errno;
95 ret = errno;
96 cryptoerror(LOG_STDERR, gettext("malloc: %s"), strerror(ret));
103 ret = errno;
106 strerror(ret));
129 ret = errno;
132 filename, strerror(ret));
149 return (ret);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dipath.c170 struct ipath *ret; local
172 ret = ipp;
176 return (ret);
178 ret = MALLOC(sizeof (*ret) * 2);
179 ret[0].s = np->u.name.last->u.name.s;
180 ret[0].i = 0;
181 ret[1].s = NULL;
182 if ((ipp = lut_lookup(Ipaths, (void *)ret,
184 FREE(ret);
196 struct ipath *ret, *ipp; local
225 struct ipath *ret; local
291 char *ret; local
[all...]
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c57 int ret; local
65 ret = ioctl(s, SIOCGIFNUM, (char *)&numifs);
66 } while (ret < 0 && (errno == EINTR || errno == EAGAIN));
67 if (ret < 0) {
79 ret = ioctl(s, SIOCGIFCONF, (char *)&ifc);
80 } while (ret < 0 && (errno == EINTR || errno == EAGAIN));
81 if (ret < 0) {
98 ret = ioctl(s, SIOCGIFFLAGS, (char *)&ifreq);
99 } while (ret < 0 && (errno == EINTR || errno == EAGAIN));
100 if (ret <
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchpw.c24 krb5_error_code ret = 0; local
32 if ((ret = krb5_auth_con_setflags(context, auth_context,
39 if ((ret = krb5_mk_priv(context, auth_context,
47 ret = ENOMEM;
83 return(ret);
93 krb5_error_code ret; local
122 if ((ret = krb5_rd_error(context, packet, &krberror)))
123 return(ret);
126 ret = ERROR_TABLE_BASE_krb5 + (krb5_error_code) krberror->error;
128 return (ret);
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c44 scfga_ret_t ret = SCFGA_OK; local
48 return (ret);
50 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
52 return (ret);
71 ret = SCFGA_BUSY;
74 return (ret);
87 scfga_ret_t ret = SCFGA_OK; local
91 return (ret);
93 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
95 return (ret);
120 scfga_ret_t ret = SCFGA_OK; local
156 scfga_ret_t ret = SCFGA_OK; local
201 scfga_ret_t ret = SCFGA_OK; local
[all...]
H A Dcfga_scsi.c67 scfga_ret_t ret; local
86 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
87 return (err_cvt(ret));
95 ret = dev_change_state(state_change_cmd, &apidt, flags,
98 ret = bus_change_state(state_change_cmd, &apidt, confp, flags,
103 return (err_cvt(ret));
119 scfga_ret_t ret; local
137 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
138 return (err_cvt(ret));
154 ret
195 scfga_ret_t ret; local
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c196 tohex(in, ret)
198 krb5_data *ret;
202 ret->length = 0;
203 ret->data = NULL;
205 ret->data = malloc((unsigned int)in.length * 2 + 1 /*Null termination */);
206 if (ret->data == NULL) {
210 ret->length = in.length * 2;
211 ret->data[ret->length] = 0;
214 sprintf(ret
238 dec_password(struct data pwd, struct data *ret) argument
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkadm5_create.c190 krb5_error_code ret = 0; local
201 if ((ret = add_admin_old_princ(handle, context,
208 if ((ret = add_admin_old_princ(handle, context,
215 if ((ret = add_admin_sname_princ(handle, context,
221 if ((ret = add_admin_sname_princ(handle, context,
228 if ((ret = add_admin_sname_princ(handle, context,
236 return ret;
271 krb5_error_code ret; local
283 ret = kadm5_create_principal(handle, &ent,
287 if (ret) {
384 krb5_error_code ret; local
400 krb5_error_code ret; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c75 int ret; local
84 if ((ret = _syscall(SYS_fstatat, fd, NULL, &nb, 0)) == -1)
85 return (ret);
93 return (ret);
99 int fd, ret; local
113 * ret = fstat(fd, buf);
115 * return(ret);
117 ret = stat_com(lstat, "/etc/mnttab", buf);
118 return(ret);
123 ret
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DPrinterUtil.java80 String ret = DoPrinterUtil.getDefault(nsarg);
81 if (ret == null) {
84 return (new String(ret));
97 String ret[] = DoPrinterUtil.getDevices();
98 if (ret == null) {
101 return (ret);
115 String ret[] = DoPrinterUtil.getMakes();
116 if (ret == null) {
119 return (ret);
131 String ret[]
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_command.c162 int ret; local
167 if ((ret = xhci_ring_alloc(xhcip, &xcr->xcr_ring)) != 0)
168 return (ret);
171 if ((ret = xhci_ring_reset(xhcip, &xcr->xcr_ring)) != 0)
172 return (ret);
238 int ret; local
240 ret = cv_reltimedwait(&xcr->xcr_cv, &xcr->xcr_lock, delay,
242 if (ret == -1) {
400 int ret; local
461 ret
472 int ret; local
518 int ret, code; local
549 int ret, code; local
585 int ret, code; local
633 int ret, code; local
677 int ret, code; local
735 int ret, code; local
797 int ret, code; local
[all...]

Completed in 213 milliseconds

1234567891011>>