Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c1455 int rtn = 0; in iscsi_ioctl() local
1537 rtn = EFAULT; in iscsi_ioctl()
1541 rtn = EINVAL; in iscsi_ioctl()
1549 rtn = EFAULT; in iscsi_ioctl()
1561 rtn = EFAULT; in iscsi_ioctl()
1567 rtn = EINVAL; in iscsi_ioctl()
1578 rtn = EINVAL; in iscsi_ioctl()
1608 rtn = iscsi_sess_get(ilg->g_oid, ihp, &isp); in iscsi_ioctl()
1609 if (rtn != 0) { in iscsi_ioctl()
1610 rtn = iscsi_sess_get_by_target( in iscsi_ioctl()
[all …]
H A Discsi_ioctl.c72 int rtn; in iscsi_ioctl_copyout() local
74 rtn = EFAULT; in iscsi_ioctl_copyout()
76 rtn = 0; in iscsi_ioctl_copyout()
79 return (rtn); in iscsi_ioctl_copyout()
122 int rtn; in iscsi_ioctl_conn_oid_list_get_copyout() local
127 rtn = EFAULT; in iscsi_ioctl_conn_oid_list_get_copyout()
134 rtn = 0; in iscsi_ioctl_conn_oid_list_get_copyout()
137 return (rtn); in iscsi_ioctl_conn_oid_list_get_copyout()
238 boolean_t rtn; in iscsi_ioctl_conn_props_get() local
255 rtn = B_FALSE; in iscsi_ioctl_conn_props_get()
[all …]
H A Discsi_lun.c71 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_create() local
157 rtn = iscsi_lun_virt_create(isp, lun_num, ilp, inq); in iscsi_lun_create()
159 if (!ISCSI_SUCCESS(rtn)) { in iscsi_lun_create()
161 rtn = iscsi_lun_phys_create(isp, lun_num, ilp, inq); in iscsi_lun_create()
168 if (!ISCSI_SUCCESS(rtn)) { in iscsi_lun_create()
215 return (rtn); in iscsi_lun_create()
300 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_virt_create() local
393 rtn = ISCSI_STATUS_SUCCESS; in iscsi_lun_virt_create()
400 return (rtn); in iscsi_lun_virt_create()
411 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_phys_create() local
[all …]
H A Discsid.c1091 boolean_t rtn = B_TRUE; in iscsid_add() local
1171 rtn = B_FALSE; in iscsid_add()
1184 rtn = B_FALSE; in iscsid_add()
1190 return (rtn); in iscsid_add()
1200 boolean_t rtn = B_TRUE; in iscsid_del() local
1280 rtn = B_FALSE; in iscsid_del()
1286 rtn = B_FALSE; in iscsid_del()
1296 return (rtn); in iscsid_del()
1307 boolean_t rtn = B_FALSE; in iscsid_login_tgt() local
1397 rtn = B_TRUE; in iscsid_login_tgt()
[all …]
H A Discsi_thread.c308 int rtn = 1; in iscsi_thread_wait() local
328 rtn = cv_reltimedwait(&thread->sign.cdv, &thread->sign.mtx, in iscsi_thread_wait()
341 return (rtn); in iscsi_thread_wait()
/titanic_50/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c588 int rtn; in old_addsvc() local
627 if ((rtn = system(buf)) < 0) { in old_addsvc()
630 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in old_addsvc()
632 switch (rtn) { in old_addsvc()
670 int rtn = NLS_OK; in prt_nets() local
698 rtn = QZERO; in prt_nets()
703 rtn = QONE; in prt_nets()
716 return(rtn); in prt_nets()
735 int rtn; in prt_svcs() local
748 if ((rtn = svc_format(buf, &entry)) != 0) { in prt_svcs()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c204 int rtn; in ofs_async_handler() local
226 rtn = ibt_open_hca(ofs_client->ibt_hdl, event->ev_hca_guid, in ofs_async_handler()
228 if (rtn == IBT_SUCCESS) { in ofs_async_handler()
235 rtn = ibt_query_hca(device->hca_hdl, &hattr); in ofs_async_handler()
236 if (rtn != IBT_SUCCESS) { in ofs_async_handler()
238 rtn = ibt_close_hca(device->hca_hdl); in ofs_async_handler()
239 ASSERT(rtn == IBT_SUCCESS); in ofs_async_handler()
267 ibt_status_t rtn; in ofs_async_handler() local
275 rtn = ibt_close_hca(device->hca_hdl); in ofs_async_handler()
276 ASSERT(rtn == IBT_SUCCESS); in ofs_async_handler()
[all …]
/titanic_50/usr/src/lib/libadm/common/
H A Ddevtab.c273 char *rtn; /* Value to return */ in getquoted() local
283 if (rtn = malloc(strlen(p)+1)) { /* Malloc() space */ in getquoted()
284 q = rtn; /* Set up temp ptr */ in getquoted()
289 } else leftoff = rtn = NULL; in getquoted()
290 } else leftoff = rtn = NULL; in getquoted()
293 return (rtn); in getquoted()
316 struct attrval *rtn; /* Ptr to struct to return */ in getattrval() local
333 if (rtn = malloc(sizeof (struct attrval))) { in getattrval()
336 if (rtn->attr = malloc(strlen(p)+1)) { in getattrval()
339 q = rtn->attr; /* Set up temp ptr */ in getattrval()
[all …]
H A Dgetdev.c1058 int rtn; /* Value to return */ in matches() local
1069 rtn = (strcmp(value, compare) == 0); in matches()
1074 rtn = (strcmp(value, compare) != 0); in matches()
1079 rtn = TRUE; in matches()
1084 rtn = FALSE; in matches()
1089 rtn = FALSE; in matches()
1094 return (rtn); in matches()
/titanic_50/usr/src/cmd/audio/include/
H A Daudio_types.h131 #define EXTERN_FUNCTION(rtn, args) extern "C" { rtn args; } argument
156 #define EXTERN_FUNCTION(rtn, args) rtn args
172 #define EXTERN_FUNCTION(rtn, args) rtn args
186 #define EXTERN_FUNCTION(rtn, args) rtn()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c815 int rtn, consumed = 0; in parse_addr_pr() local
817 if ((rtn = parse_addr(argc, argv, h1pp)) < 0) { in parse_addr_pr()
820 consumed = rtn; in parse_addr_pr()
821 argc -= rtn; in parse_addr_pr()
822 argv += rtn; in parse_addr_pr()
824 if ((rtn = parse_addr(argc, argv, h2pp)) < 0) { in parse_addr_pr()
828 consumed += rtn; in parse_addr_pr()
841 int rtn, consumed = 0; in parse_ident_pr() local
843 if ((rtn = parse_ident(argc, argv, id1pp)) < 0) { in parse_ident_pr()
846 consumed = rtn; in parse_ident_pr()
[all …]
/titanic_50/usr/src/cmd/devmgmt/cmds/
H A Dputdgrp.c132 char *rtn; /* Value to return */ local
140 if (rtn = (char *) malloc(strlen("UX:")+strlen(p)+1)) {
141 (void) strcpy(rtn, "UX:");
142 (void) strcat(rtn, p);
154 return(rtn);
H A Dputdev.c140 char *rtn; /* Value to return */ local
148 if (rtn = (char *) malloc(strlen("UX:")+strlen(p)+1)) {
149 (void) strcpy(rtn, "UX:");
150 (void) strcat(rtn, p);
163 return(rtn);
/titanic_50/usr/src/lib/libbc/libc/stdio/4.2/
H A Dflsbuf.c71 int rtn=EOF; in fclose() local
74 return(rtn); in fclose()
77 rtn = (iop->_flag & _IONBF)? 0: fflush(iop); in fclose()
79 rtn = EOF; in fclose()
89 return(rtn); in fclose()
/titanic_50/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c69 int rtn=EOF; in fclose() local
72 return(rtn); in fclose()
75 rtn = (iop->_flag & _IONBF)? 0: fflush(iop); in fclose()
77 rtn = EOF; in fclose()
87 return(rtn); in fclose()
/titanic_50/usr/src/cmd/troff/
H A Dn7.c298 goto rtn; in text()
303 goto rtn; in text()
334 goto rtn; in text()
338 rtn: in text()
355 goto rtn; in nofill()
389 rtn: in nofill()
808 goto rtn;
849 goto rtn;
987 goto rtn;
1012 rtn:
H A Dn4.c715 goto rtn; in casenr()
719 goto rtn; in casenr()
724 goto rtn; in casenr()
726 rtn: in casenr()
H A Dn3.c764 goto rtn; in collect()
836 rtn: in collect()
882 goto rtn; in casedi()
899 rtn: in casedi()
H A Dn5.c818 goto rtn;
834 goto rtn;
840 rtn:
/titanic_50/usr/src/cmd/svc/shell/
H A Dnet_include.sh867 rtn=$?
869 return $rtn
883 rtn=$?
890 return $rtn
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_debug.c375 int rtn = 0; in rdsv3_printk_ratelimit() local
395 rtn = 1; in rdsv3_printk_ratelimit()
400 return (rtn); in rdsv3_printk_ratelimit()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c383 int rtn = 0; in smb_sign_check_secondary() local
396 rtn = -1; in smb_sign_check_secondary()
401 return (rtn); in smb_sign_check_secondary()
/titanic_50/usr/src/cmd/ttymon/
H A Dtmchild.c237 int rtn = 0; local
295 rtn = read(0, buffer, 1);
303 if (rtn < 0 || *buffer == '\004') {
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c320 boolean_t positive, rtn; in test_condition_adv_domain() local
345 rtn = positive; in test_condition_adv_domain()
356 rtn = !positive; in test_condition_adv_domain()
369 return (rtn); in test_condition_adv_domain()
/titanic_50/usr/src/cmd/bnu/
H A Dcu.c1440 int rtn = 1, rfd; in r_char() local
1454 while((rtn = read(fd, riobuf, WRIOBSZ)) < 0){ in r_char()
1471 if (rtn > 0) { in r_char()
1475 Riocnt[rfd] = rtn; in r_char()
1479 if ( rtn > 0 ) { in r_char()
1482 } else if (rtn == 0) { in r_char()

12