Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c51 retcode = validate_list_cb_data(cb_data, argc, argv, col,\
53 if (retcode == IDMAP_NEXT) {\
54 result->retcode = IDMAP_NEXT;\
56 } else if (retcode < 0) {\
57 result->retcode = retcode;\
64 res->retcode = IDMAP_ERR_BUSY;\
66 res->retcode = IDMAP_ERR_NOTFOUND;
81 result->retcode = IDMAP_ERR_MEMORY; \
187 idmap_retcode retcode; in idmap_get_mapped_ids_1_svc() local
203 result->retcode = get_cache_handle(&cache); in idmap_get_mapped_ids_1_svc()
[all …]
H A Ddbutils.c566 return (sqlmsgtable[i].retcode); in idmapd_string2stat()
634 idmap_retcode retcode; in sql_exec_no_cb() local
645 retcode = IDMAP_ERR_INTERNAL; in sql_exec_no_cb()
649 retcode = IDMAP_ERR_MEMORY; in sql_exec_no_cb()
653 retcode = IDMAP_ERR_DB; in sql_exec_no_cb()
657 retcode = idmapd_string2stat(errmsg); in sql_exec_no_cb()
663 return (retcode); in sql_exec_no_cb()
682 int retcode = IDMAP_SUCCESS; in gen_sql_expr_from_rule() local
692 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
706 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
[all …]
H A Dnldaputils.c740 idmap_retcode retcode, rc1; in nldap_lookup_batch() local
751 retcode = idmap_nldap_lookup_batch_start(state->nldap_nqueries, &qs); in nldap_lookup_batch()
752 if (retcode != IDMAP_SUCCESS) { in nldap_lookup_batch()
765 retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
789 res->retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
803 retcode = idmap_nldap_bywinname_batch_add( in nldap_lookup_batch()
810 &res->retcode); in nldap_lookup_batch()
818 res->retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
835 retcode = idmap_nldap_bypid_batch_add( in nldap_lookup_batch()
844 &res->retcode); in nldap_lookup_batch()
[all …]
H A Dadutils.c704 idmap_retcode retcode; in idmap_name2sid_batch_add1() local
760 retcode = idmap_batch_add1(state, filter, ecanonname, edomain, in idmap_name2sid_batch_add1()
766 return (retcode); in idmap_name2sid_batch_add1()
776 idmap_retcode retcode; in idmap_sid2name_batch_add1() local
801 retcode = idmap_batch_add1(state, filter, NULL, NULL, esidtype, in idmap_sid2name_batch_add1()
807 return (retcode); in idmap_sid2name_batch_add1()
817 idmap_retcode retcode; in idmap_unixname2sid_batch_add1() local
840 retcode = idmap_batch_add1(state, filter, NULL, NULL, in idmap_unixname2sid_batch_add1()
844 if (retcode == IDMAP_SUCCESS && attr != NULL) { in idmap_unixname2sid_batch_add1()
846 retcode = IDMAP_ERR_MEMORY; in idmap_unixname2sid_batch_add1()
[all …]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c67 itera->retcode = IDMAP_NEXT;\
97 idmap_stat retcode; in idmap_get_prop() local
101 retcode = _idmap_clnt_call(IDMAP_GET_PROP, in idmap_get_prop()
104 if (retcode != IDMAP_SUCCESS) in idmap_get_prop()
105 return (retcode); in idmap_get_prop()
107 return (res->retcode); /* This might not be IDMAP_SUCCESS! */ in idmap_get_prop()
189 idmap_stat retcode; in idmap_udt_commit() local
198 retcode = _idmap_clnt_call(IDMAP_UPDATE, in idmap_udt_commit()
202 if (retcode != IDMAP_SUCCESS) in idmap_udt_commit()
205 retcode = udthandle->commit_stat = res.retcode; in idmap_udt_commit()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dquit.c82 void quit(int retcode);
91 static void mailmsg(int retcode);
92 static void quitmsg(int retcode);
175 quit(int retcode) in quit() argument
184 if (retcode != 99) { in quit()
185 if ((retcode % 10) == 0) { in quit()
187 retcode += 1; in quit()
189 retcode += 2; in quit()
194 retcode = (retcode % 10) + 20; in quit()
198 retcode = (retcode % 10) + 10; in quit()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c330 int retcode; in main() local
408 retcode = clientSetParam(optlist, paramFlag, attrVal); in main()
409 if (retcode != CLIENT_SUCCESS) { in main()
414 retcode, optarg); in main()
488 retcode = clientSetParam( in main()
492 if (retcode != CLIENT_SUCCESS) { in main()
497 retcode); in main()
591 retcode = client_list(optlist); in main()
600 retcode = client_uninit(optlist); in main()
609 retcode = client_init(optlist); in main()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c75 void quit(int retcode);
84 static void mailmsg(int retcode);
85 static void quitmsg(int retcode);
238 quit(int retcode) in quit() argument
247 if (retcode != 99) { in quit()
248 if ((retcode % 10) == 0) { in quit()
250 retcode += 1; in quit()
252 retcode += 2; in quit()
257 retcode = (retcode % 10) + 20; in quit()
260 retcode = (retcode % 10) + 10; in quit()
[all …]
H A Dmain.c107 void ckreturn(int retcode, char *msg);
2175 int retcode = 0; in merg_respfile() local
2215 retcode = 99; in merg_respfile()
2224 return (retcode); in merg_respfile()
2235 int retcode = 0; in ck_instbase() local
2265 retcode = 4; in ck_instbase()
2284 return (retcode); in ck_instbase()
2352 int retcode = 0; in merg_pkginfos() local
2447 retcode = 4; in merg_pkginfos()
2485 retcode = 1; in merg_pkginfos()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dverify.c150 int setval, retcode; in cverify() local
156 retcode = 0; in cverify()
177 retcode = VE_FAIL; in cverify()
190 retcode = VE_CONT; in cverify()
197 if (!retcode) { in cverify()
198 retcode = VE_CONT; in cverify()
213 return (retcode); in cverify()
224 return (retcode); in cverify()
230 if (!retcode) { in cverify()
231 retcode = VE_CONT; in cverify()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dquit.c76 void quit(int retcode);
200 quit(int retcode) in quit() argument
213 if (retcode != 99) { in quit()
215 (ckreturnFunc)(retcode); in quit()
218 retcode = 1; in quit()
220 retcode = 2; in quit()
222 retcode = 3; in quit()
224 retcode = 4; in quit()
226 retcode = 5; in quit()
228 retcode = 0; in quit()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dqreason.c51 static char *qreasonNoZonename(int caller, int retcode, int started);
52 static char *qreasonWithZonename(int caller, int retcode, int started);
89 qreason(int caller, int retcode, int started, int includeZonename) in qreason() argument
92 return (qreasonNoZonename(caller, retcode, started)); in qreason()
95 return (qreasonWithZonename(caller, retcode, started)); in qreason()
105 qreasonNoZonename(int caller, int retcode, int started) in qreasonNoZonename() argument
107 switch (retcode) { in qreasonNoZonename()
268 qreasonWithZonename(int caller, int retcode, int started) in qreasonWithZonename() argument
270 switch (retcode) { in qreasonWithZonename()
H A Disreloc.c74 int retcode = 0; in isreloc() local
84 retcode = 1; in isreloc()
97 if (retcode == 0) { in isreloc()
108 retcode = 1; in isreloc()
118 return (retcode); in isreloc()
H A Dmntinfo.c323 int retcode = 1; in unmount_client() local
363 retcode = 0; in unmount_client()
376 retcode = 0; in unmount_client()
387 retcode = 0; in unmount_client()
427 return (retcode); in unmount_client()
443 int retcode = 1; in mount_client() local
491 retcode = 0; in mount_client()
503 retcode = 0; in mount_client()
514 retcode = 0; in mount_client()
555 return (retcode); in mount_client()
/illumos-gate/usr/src/cmd/du/
H A Ddu.c91 static u_longlong_t descend(char *curname, int curfd, int *retcode,
106 int status, retcode = 0; in main() local
218 retcode = 1; in main()
263 blocks = descend(*np ? np : ".", 0, &retcode, in main()
268 exitdu(retcode); in main()
272 exitdu(retcode); in main()
274 return (retcode); in main()
282 descend(char *curname, int curfd, int *retcode, dev_t device) in descend() argument
338 *retcode = (rflg ? 1 : 0); in descend()
406 blocks += descend(NULL, fd, retcode, device); in descend()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dquit.c51 quit(int retcode) in quit() argument
56 if (retcode == 3) in quit()
58 else if (retcode) in quit()
63 if (retcode && started) in quit()
73 exit(retcode); in quit()
/illumos-gate/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c104 int retcode; variable
134 retcode = conv_funp(num_msg, &msg, &resp, conv_apdp);
137 return (retcode);
158 int retcode; variable
188 retcode = conv_funp(num_msg, &msg, ret_respp, conv_apdp);
190 return (retcode);
/illumos-gate/usr/src/pkg/scripts/
H A Dpkglist.awk29 retcode = 0
51 retcode = 2
54 exit retcode
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x208 idmap_retcode retcode; member
240 idmap_retcode retcode; member
246 idmap_retcode retcode; member
306 idmap_retcode retcode; member
314 idmap_retcode retcode; member
384 idmap_retcode retcode; member
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwsprintf.c55 int retcode; in wsprintf() local
76 if ((retcode = mbtowc(wstring, p2, MB_CUR_MAX)) == -1) { in wsprintf()
80 p2 += retcode; in wsprintf()
/illumos-gate/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c64 int retcode; in pam_sm_authenticate() local
76 if ((retcode = pam_get_user(pamh, &user, NULL)) in pam_sm_authenticate()
78 (retcode = pam_get_item(pamh, PAM_TTY, (const void **)&ttyn)) in pam_sm_authenticate()
80 return (retcode); in pam_sm_authenticate()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sasl.c409 int retcode = NS_LDAP_SUCCESS; in __ns_ldap_check_dns_preq() local
421 if ((retcode = test_dns_nsswitch(foreground, fname, errpp)) != in __ns_ldap_check_dns_preq()
423 return (retcode); in __ns_ldap_check_dns_preq()
441 retcode = NS_LDAP_CONFIG; in __ns_ldap_check_dns_preq()
449 retcode = NS_LDAP_SUCCESS; in __ns_ldap_check_dns_preq()
455 MKERROR(loglevel, *errpp, retcode, strdup(buf), in __ns_ldap_check_dns_preq()
458 return (retcode); in __ns_ldap_check_dns_preq()
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c254 int retcode = 0; /* return code */ in set_info() local
276 retcode = parsecode; in set_info()
290 retcode = 1; in set_info()
337 return (retcode); in set_info()
349 int retcode = 0; /* return code */ in rem_info() local
363 retcode = 1; in rem_info()
401 return (retcode); in rem_info()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.sh120 retcode=\$status
130 retcode=\${status}-\${retcode}
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_isr.c66 int retcode; in hci1394_ixl_interrupt() local
78 retcode = HCI1394_IXL_INTR_INUPDATE; in hci1394_ixl_interrupt()
82 retcode = HCI1394_IXL_INTR_ININTR; in hci1394_ixl_interrupt()
86 retcode = HCI1394_IXL_INTR_INCALL; in hci1394_ixl_interrupt()
90 retcode = HCI1394_IXL_INTR_STOP; in hci1394_ixl_interrupt()
103 retcode = hci1394_ixl_dma_sync(soft_statep, ctxtp); in hci1394_ixl_interrupt()
118 if (retcode == HCI1394_IXL_INTR_DMASTOP) { in hci1394_ixl_interrupt()
122 if (retcode == HCI1394_IXL_INTR_DMALOST) { in hci1394_ixl_interrupt()

123