Home
last modified time | relevance | path

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

1234

/onnv-gate/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.c507 return (sqlmsgtable[i].retcode); in idmapd_string2stat()
575 idmap_retcode retcode; in sql_exec_no_cb() local
583 retcode = idmapd_string2stat(errmsg); in sql_exec_no_cb()
586 return (retcode); in sql_exec_no_cb()
605 int retcode = IDMAP_SUCCESS; in gen_sql_expr_from_rule() local
615 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
629 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
639 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
668 retcode = IDMAP_ERR_MEMORY; in gen_sql_expr_from_rule()
681 return (retcode); in gen_sql_expr_from_rule()
[all …]
H A Dnldaputils.c722 idmap_retcode retcode, rc1; in nldap_lookup_batch() local
733 retcode = idmap_nldap_lookup_batch_start(state->nldap_nqueries, &qs); in nldap_lookup_batch()
734 if (retcode != IDMAP_SUCCESS) { in nldap_lookup_batch()
747 retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
771 res->retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
785 retcode = idmap_nldap_bywinname_batch_add( in nldap_lookup_batch()
792 &res->retcode); in nldap_lookup_batch()
800 res->retcode = IDMAP_SUCCESS; in nldap_lookup_batch()
817 retcode = idmap_nldap_bypid_batch_add( in nldap_lookup_batch()
826 &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 …]
/onnv-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 …]
/onnv-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c64 itera->retcode = IDMAP_NEXT;\
105 idmap_stat retcode; in idmap_get_prop() local
109 retcode = _idmap_clnt_call(IDMAP_GET_PROP, in idmap_get_prop()
112 if (retcode != IDMAP_SUCCESS) in idmap_get_prop()
113 return (retcode); in idmap_get_prop()
115 return (res->retcode); /* This might not be IDMAP_SUCCESS! */ in idmap_get_prop()
197 idmap_stat retcode; in idmap_udt_commit() local
206 retcode = _idmap_clnt_call(IDMAP_UPDATE, in idmap_udt_commit()
210 if (retcode != IDMAP_SUCCESS) in idmap_udt_commit()
213 retcode = udthandle->commit_stat = res.retcode; in idmap_udt_commit()
[all …]
/onnv-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c328 int retcode; in main() local
406 retcode = clientSetParam(optlist, paramFlag, attrVal); in main()
407 if (retcode != CLIENT_SUCCESS) { in main()
412 retcode, optarg); in main()
486 retcode = clientSetParam( in main()
490 if (retcode != CLIENT_SUCCESS) { in main()
495 retcode); in main()
589 retcode = client_list(optlist); in main()
598 retcode = client_uninit(optlist); in main()
607 retcode = client_init(optlist); in main()
[all …]
/onnv-gate/usr/src/lib/libpkg/common/
H A Dverify.c151 int setval, retcode; in cverify() local
157 retcode = 0; in cverify()
178 retcode = VE_FAIL; in cverify()
191 retcode = VE_CONT; in cverify()
198 if (!retcode) { in cverify()
199 retcode = VE_CONT; in cverify()
214 return (retcode); in cverify()
225 return (retcode); in cverify()
231 if (!retcode) { in cverify()
232 retcode = VE_CONT; in cverify()
[all …]
/onnv-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c76 void quit(int retcode);
85 static void mailmsg(int retcode);
86 static void quitmsg(int retcode);
239 quit(int retcode) in quit() argument
251 if (retcode != 99) { in quit()
252 if ((retcode % 10) == 0) { in quit()
254 retcode += 1; in quit()
256 retcode += 2; in quit()
261 retcode = (retcode % 10) + 20; in quit()
264 retcode = (retcode % 10) + 10; in quit()
[all …]
/onnv-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dquit.c77 void quit(int retcode);
218 quit(int retcode) in quit() argument
231 if (retcode != 99) { in quit()
233 (ckreturnFunc)(retcode); in quit()
236 retcode = 1; in quit()
238 retcode = 2; in quit()
240 retcode = 3; in quit()
242 retcode = 4; in quit()
244 retcode = 5; in quit()
246 retcode = 0; in quit()
[all …]
H A Dpresvr4.c88 int n, retcode; in presvr4() local
147 retcode = pkgexecl(NULL, NULL, NULL, NULL, SHELL, "-c", tmpcmd, NULL); in presvr4()
150 if (retcode) { in presvr4()
156 psvr4mail(adm.mail, gettext(MSG_MAIL), retcode, pkg); in presvr4()
163 return (retcode); in presvr4()
/onnv-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()
/onnv-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()
/onnv-gate/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 …]
/onnv-gate/usr/src/lib/libldap4/common/
H A Drename.c157 int retcode = LDAP_SUCCESS; in ldap_rename_s() local
160 …if ((retcode = ldap_rename(ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msg… in ldap_rename_s()
161 return (retcode); in ldap_rename_s()
168 retcode = ldap_parse_result( ld, res, &ld->ld_errno, &ld->ld_matched, &ld->ld_error, in ldap_rename_s()
170 if (retcode == LDAP_SUCCESS) in ldap_rename_s()
171 retcode = ld->ld_errno; in ldap_rename_s()
175 return (retcode); in ldap_rename_s()
H A Ddelete.c184 int retcode = LDAP_SUCCESS; in ldap_delete_ext_s() local
187 if ((retcode = ldap_delete_ext(ld, dn, serverctrls, clientctrls, &msgid)) != LDAP_SUCCESS) in ldap_delete_ext_s()
188 return (retcode); in ldap_delete_ext_s()
195 retcode = ldap_parse_result( ld, res, &ld->ld_errno, &ld->ld_matched, &ld->ld_error, in ldap_delete_ext_s()
197 if (retcode == LDAP_SUCCESS) in ldap_delete_ext_s()
198 retcode = ld->ld_errno; in ldap_delete_ext_s()
202 return (retcode); in ldap_delete_ext_s()
H A Dmodify.c226 int retcode = LDAP_SUCCESS; in ldap_modify_ext_s() local
229 if ((retcode = ldap_modify_ext(ld, dn, mods, serverctrls, clientctrls, &msgid)) != LDAP_SUCCESS) in ldap_modify_ext_s()
230 return (retcode); in ldap_modify_ext_s()
237 retcode = ldap_parse_result(ld, res, &ld->ld_errno, &ld->ld_matched, &ld->ld_error, in ldap_modify_ext_s()
239 if (retcode == LDAP_SUCCESS) in ldap_modify_ext_s()
240 retcode = ld->ld_errno; in ldap_modify_ext_s()
244 return (retcode); in ldap_modify_ext_s()
H A Dadd.c251 int retcode = LDAP_SUCCESS; in ldap_add_ext_s() local
254 if ((retcode = ldap_add_ext(ld, dn, attrs, serverctrls, clientctrls, &msgid)) != LDAP_SUCCESS) in ldap_add_ext_s()
255 return (retcode); in ldap_add_ext_s()
262 retcode = ldap_parse_result(ld, res, &ld->ld_errno, &ld->ld_matched, &ld->ld_error, in ldap_add_ext_s()
264 if (retcode == LDAP_SUCCESS) in ldap_add_ext_s()
265 retcode = ld->ld_errno; in ldap_add_ext_s()
269 return (retcode); in ldap_add_ext_s()
H A Dcompare.c238 int msgid, retcode = LDAP_SUCCESS; in ldap_compare_ext_s() local
241 …if ( (retcode = ldap_compare_ext( ld, dn, attr, bvalue, serverctrls, clientctrls, &msgid )) != LDA… in ldap_compare_ext_s()
242 return( retcode ); in ldap_compare_ext_s()
250 retcode = ldap_parse_result( ld, res, &ld->ld_errno, &ld->ld_matched, &ld->ld_error, in ldap_compare_ext_s()
252 if (retcode == LDAP_SUCCESS) in ldap_compare_ext_s()
253 retcode = ld->ld_errno; in ldap_compare_ext_s()
257 return (retcode); in ldap_compare_ext_s()
/onnv-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dpresvr4.c85 int retcode; in presvr4() local
136 retcode = pkgexecl(NULL, NULL, NULL, NULL, SHELL, "-c", tmpcmd, in presvr4()
139 echo(retcode ? MSG_FAIL : gettext(MSG_SUCCEED)); in presvr4()
145 psvr4mail(adm.mail, MSG_MAIL, retcode, *ppkg ? *ppkg : MSG_NODENAME); in presvr4()
151 return (retcode); in presvr4()
/onnv-gate/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);
/onnv-gate/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}
/onnv-gate/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()

1234