Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c1454 int rtn = 0; in iscsi_ioctl() local
1536 rtn = EFAULT; in iscsi_ioctl()
1540 rtn = EINVAL; in iscsi_ioctl()
1548 rtn = EFAULT; in iscsi_ioctl()
1560 rtn = EFAULT; in iscsi_ioctl()
1566 rtn = EINVAL; in iscsi_ioctl()
1577 rtn = EINVAL; in iscsi_ioctl()
1607 rtn = iscsi_sess_get(ilg->g_oid, ihp, &isp); in iscsi_ioctl()
1608 if (rtn != 0) { in iscsi_ioctl()
1609 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.c77 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_create() local
168 rtn = iscsi_lun_virt_create(isp, lun_num, ilp, inq); in iscsi_lun_create()
170 if (!ISCSI_SUCCESS(rtn)) { in iscsi_lun_create()
172 rtn = iscsi_lun_phys_create(isp, lun_num, ilp, inq); in iscsi_lun_create()
179 if (!ISCSI_SUCCESS(rtn)) { in iscsi_lun_create()
227 return (rtn); in iscsi_lun_create()
381 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_virt_create() local
473 rtn = ISCSI_STATUS_SUCCESS; in iscsi_lun_virt_create()
480 return (rtn); in iscsi_lun_virt_create()
491 iscsi_status_t rtn = ISCSI_STATUS_INTERNAL_ERROR; in iscsi_lun_phys_create() local
[all …]
H A Discsid.c1105 boolean_t rtn = B_TRUE; in iscsid_add() local
1185 rtn = B_FALSE; in iscsid_add()
1198 rtn = B_FALSE; in iscsid_add()
1204 return (rtn); in iscsid_add()
1214 boolean_t rtn = B_TRUE; in iscsid_del() local
1294 rtn = B_FALSE; in iscsid_del()
1300 rtn = B_FALSE; in iscsid_del()
1310 return (rtn); in iscsid_del()
1321 boolean_t rtn = B_FALSE; in iscsid_login_tgt() local
1411 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()
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c585 int rtn; in old_addsvc() local
624 if ((rtn = system(buf)) < 0) { in old_addsvc()
627 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in old_addsvc()
629 switch (rtn) { in old_addsvc()
667 int rtn = NLS_OK; in prt_nets() local
695 rtn = QZERO; in prt_nets()
700 rtn = QONE; in prt_nets()
713 return(rtn); in prt_nets()
732 int rtn; in prt_svcs() local
745 if ((rtn = svc_format(buf, &entry)) != 0) { in prt_svcs()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevtab.c271 char *rtn; /* Value to return */ in getquoted() local
281 if (rtn = malloc(strlen(p)+1)) { /* Malloc() space */ in getquoted()
282 q = rtn; /* Set up temp ptr */ in getquoted()
287 } else leftoff = rtn = NULL; in getquoted()
288 } else leftoff = rtn = NULL; in getquoted()
291 return (rtn); in getquoted()
314 struct attrval *rtn; /* Ptr to struct to return */ in getattrval() local
331 if (rtn = malloc(sizeof (struct attrval))) { in getattrval()
334 if (rtn->attr = malloc(strlen(p)+1)) { in getattrval()
337 q = rtn->attr; /* Set up temp ptr */ in getattrval()
[all …]
H A Dgetdev.c1057 int rtn; /* Value to return */ in matches() local
1068 rtn = (strcmp(value, compare) == 0); in matches()
1073 rtn = (strcmp(value, compare) != 0); in matches()
1078 rtn = TRUE; in matches()
1083 rtn = FALSE; in matches()
1088 rtn = FALSE; in matches()
1093 return (rtn); in matches()
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_types.h129 #define EXTERN_FUNCTION(rtn, args) extern "C" { rtn args; } argument
154 #define EXTERN_FUNCTION(rtn, args) rtn args
170 #define EXTERN_FUNCTION(rtn, args) rtn args
184 #define EXTERN_FUNCTION(rtn, args) rtn()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c818 int rtn, consumed = 0; in parse_addr_pr() local
820 if ((rtn = parse_addr(argc, argv, h1pp)) < 0) { in parse_addr_pr()
823 consumed = rtn; in parse_addr_pr()
824 argc -= rtn; in parse_addr_pr()
825 argv += rtn; in parse_addr_pr()
827 if ((rtn = parse_addr(argc, argv, h2pp)) < 0) { in parse_addr_pr()
831 consumed += rtn; in parse_addr_pr()
844 int rtn, consumed = 0; in parse_ident_pr() local
846 if ((rtn = parse_ident(argc, argv, id1pp)) < 0) { in parse_ident_pr()
849 consumed = rtn; in parse_ident_pr()
[all …]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dputdgrp.c129 char *rtn; /* Value to return */ local
137 if (rtn = (char *) malloc(strlen("UX:")+strlen(p)+1)) {
138 (void) strcpy(rtn, "UX:");
139 (void) strcat(rtn, p);
151 return(rtn);
H A Dputdev.c137 char *rtn; /* Value to return */ local
145 if (rtn = (char *) malloc(strlen("UX:")+strlen(p)+1)) {
146 (void) strcpy(rtn, "UX:");
147 (void) strcat(rtn, p);
160 return(rtn);
/illumos-gate/usr/src/cmd/troff/
H A Dn7.c296 goto rtn; in text()
301 goto rtn; in text()
332 goto rtn; in text()
336 rtn: in text()
353 goto rtn; in nofill()
387 rtn: in nofill()
805 goto rtn;
846 goto rtn;
984 goto rtn;
1009 rtn:
H A Dn4.c711 goto rtn; in casenr()
715 goto rtn; in casenr()
720 goto rtn; in casenr()
722 rtn: in casenr()
H A Dn3.c762 goto rtn; in collect()
834 rtn: in collect()
880 goto rtn; in casedi()
897 rtn: in casedi()
H A Dn5.c816 goto rtn;
832 goto rtn;
838 rtn:
H A Dn9.c441 goto rtn; in setfield()
542 rtn: in setfield()
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh867 rtn=$?
869 return $rtn
883 rtn=$?
890 return $rtn
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmchild.c233 int rtn = 0; in openline() local
292 rtn = read(0, buffer, 1); in openline()
300 if (rtn < 0 || *buffer == '\004') { in openline()
/illumos-gate/usr/src/cmd/bnu/
H A Dcu.c1433 int rtn = 1, rfd; in r_char() local
1447 while((rtn = read(fd, riobuf, WRIOBSZ)) < 0){ in r_char()
1464 if (rtn > 0) { in r_char()
1468 Riocnt[rfd] = rtn; in r_char()
1472 if ( rtn > 0 ) { in r_char()
1475 } else if (rtn == 0) { in r_char()
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c2932 int rtn, len; in opl_check_dr_status() local
2950 rtn = prom_getprop(node, OPL_DR_STATUS_PROP, str); in opl_check_dr_status()
2952 if (rtn == -1) { in opl_check_dr_status()
3122 register int rtn; in drmach_copy_rename_prog__relocatable() local
3333 rtn = prog->critical->fmem((void *)prog->critical, PAGESIZE); in drmach_copy_rename_prog__relocatable()
3334 return (rtn); in drmach_copy_rename_prog__relocatable()
3340 rtn = prog->critical->loop((void *)(prog->critical), PAGESIZE, in drmach_copy_rename_prog__relocatable()
3342 prog->data->error[cpuid] = rtn; in drmach_copy_rename_prog__relocatable()
4019 register int rtn; in drmach_copy_rename() local
4083 rtn = EOPL_FMEM_COPY_ERROR; in drmach_copy_rename()
[all …]

12