Home
last modified time | relevance | path

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

1234

/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dserver.c50 retcode = validate_list_cb_data(cb_data, argc, argv, col,\
52 if (retcode == IDMAP_NEXT) {\
53 result->retcode = IDMAP_NEXT;\
55 } else if (retcode < 0) {\
56 result->retcode = retcode;\
63 res->retcode = IDMAP_ERR_BUSY;\
65 res->retcode = IDMAP_ERR_NOTFOUND;
80 result->retcode = IDMAP_ERR_MEMORY; \
186 idmap_retcode retcode; in idmap_get_mapped_ids_1_svc() local
201 result->retcode = get_cache_handle(&cache); in idmap_get_mapped_ids_1_svc()
[all …]
H A Ddbutils.c508 return (sqlmsgtable[i].retcode); in idmapd_string2stat()
576 idmap_retcode retcode; in sql_exec_no_cb() local
584 retcode = idmapd_string2stat(errmsg); in sql_exec_no_cb()
587 return (retcode); in sql_exec_no_cb()
606 int retcode = IDMAP_SUCCESS; in gen_sql_expr_from_rule() local
616 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
630 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
640 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
669 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
682 return (retcode); 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.c702 idmap_retcode retcode; in idmap_name2sid_batch_add1() local
758 retcode = idmap_batch_add1(state, filter, ecanonname, edomain, in idmap_name2sid_batch_add1()
764 return (retcode); in idmap_name2sid_batch_add1()
774 idmap_retcode retcode; in idmap_sid2name_batch_add1() local
799 retcode = idmap_batch_add1(state, filter, NULL, NULL, esidtype, in idmap_sid2name_batch_add1()
805 return (retcode); in idmap_sid2name_batch_add1()
815 idmap_retcode retcode; in idmap_unixname2sid_batch_add1() local
838 retcode = idmap_batch_add1(state, filter, NULL, NULL, in idmap_unixname2sid_batch_add1()
842 if (retcode == IDMAP_SUCCESS && attr != NULL) { in idmap_unixname2sid_batch_add1()
844 retcode = IDMAP_ERR_MEMORY; in idmap_unixname2sid_batch_add1()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libidmap/common/
H A Didmap_api.c66 itera->retcode = IDMAP_NEXT;\
96 idmap_stat retcode; in idmap_get_prop() local
100 retcode = _idmap_clnt_call(IDMAP_GET_PROP, in idmap_get_prop()
103 if (retcode != IDMAP_SUCCESS) in idmap_get_prop()
104 return (retcode); in idmap_get_prop()
106 return (res->retcode); /* This might not be IDMAP_SUCCESS! */ in idmap_get_prop()
188 idmap_stat retcode; in idmap_udt_commit() local
197 retcode = _idmap_clnt_call(IDMAP_UPDATE, in idmap_udt_commit()
201 if (retcode != IDMAP_SUCCESS) in idmap_udt_commit()
204 retcode = udthandle->commit_stat = res.retcode; in idmap_udt_commit()
[all …]
/titanic_41/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.c103 void ckreturn(int retcode, char *msg);
2171 int retcode = 0; in merg_respfile() local
2211 retcode = 99; in merg_respfile()
2220 return (retcode); in merg_respfile()
2231 int retcode = 0; in ck_instbase() local
2261 retcode = 4; in ck_instbase()
2280 return (retcode); in ck_instbase()
2348 int retcode = 0; in merg_pkginfos() local
2443 retcode = 4; in merg_pkginfos()
2481 retcode = 1; in merg_pkginfos()
[all …]
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c329 int retcode; in main() local
407 retcode = clientSetParam(optlist, paramFlag, attrVal); in main()
408 if (retcode != CLIENT_SUCCESS) { in main()
413 retcode, optarg); in main()
487 retcode = clientSetParam( in main()
491 if (retcode != CLIENT_SUCCESS) { in main()
496 retcode); in main()
590 retcode = client_list(optlist); in main()
599 retcode = client_uninit(optlist); in main()
608 retcode = client_init(optlist); in main()
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/cmd/du/
H A Ddu.c93 static u_longlong_t descend(char *curname, int curfd, int *retcode,
108 int status, retcode = 0; in main() local
215 retcode = 1; in main()
259 blocks = descend(*np ? np : ".", 0, &retcode, in main()
264 exitdu(retcode); in main()
268 exitdu(retcode); in main()
270 return (retcode); in main()
278 descend(char *curname, int curfd, int *retcode, dev_t device) in descend() argument
334 *retcode = (rflg ? 1 : 0); in descend()
401 blocks += descend(NULL, fd, retcode, device); in descend()
[all …]
/titanic_41/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c106 int retcode; variable
136 retcode = conv_funp(num_msg, &msg, &resp, conv_apdp);
139 return (retcode);
160 int retcode; variable
190 retcode = conv_funp(num_msg, &msg, ret_respp, conv_apdp);
192 return (retcode);
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dfilemutexdemo1.sh149 integer retcode
156 (( retcode=$? ))
160 return ${retcode}
166 integer retcode
173 (( retcode=$? ))
177 return ${retcode}
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_drv.c320 int retcode; in drm_load() local
338 retcode = dev->driver->load(dev, 0); in drm_load()
339 if (retcode != 0) { in drm_load()
345 retcode = drm_ctxbitmap_init(dev); in drm_load()
346 if (retcode != 0) { in drm_load()
352 retcode = drm_gem_init(dev); in drm_load()
353 if (retcode) { in drm_load()
362 retcode = EFAULT; in drm_load()
385 return (retcode); in drm_load()
433 int retcode; in drm_open() local
[all …]
H A Ddrm_fops.c81 int retcode; in drm_open_helper() local
116 retcode = dev->driver->open(dev, priv); in drm_open_helper()
117 if (retcode != 0) { in drm_open_helper()
120 return (retcode); in drm_open_helper()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dwsprintf.c57 int retcode; in wsprintf() local
78 if ((retcode = mbtowc(wstring, p2, MB_CUR_MAX)) == -1) { in wsprintf()
82 p2 += retcode; in wsprintf()
/titanic_41/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
/titanic_41/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c65 int retcode; in pam_sm_authenticate() local
77 if ((retcode = pam_get_user(pamh, &user, NULL)) in pam_sm_authenticate()
79 (retcode = pam_get_item(pamh, PAM_TTY, (void **)&ttyn)) in pam_sm_authenticate()
81 return (retcode); in pam_sm_authenticate()
/titanic_41/usr/src/lib/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}
/titanic_41/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()
/titanic_41/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()

1234